allensdk.brain_observatory.ecephys.align_timestamps.barcode_sync_dataset module¶
- class allensdk.brain_observatory.ecephys.align_timestamps.barcode_sync_dataset.BarcodeSyncDataset[source]¶
Bases:
EcephysSyncDataset
- property barcode_line¶
Obtain the index of the barcode line for this dataset.
- extract_barcodes(**barcode_kwargs)[source]¶
Read barcodes and their times from this dataset’s barcode line.
- Parameters:
- **barcode_kwargs
Will be passed to .barcode.extract_barcodes_from_times
- Returns:
- timesnp.ndarray
The start times of each detected barcode.
- codesnp.ndarray
The values of each detected barcode