allensdk.brain_observatory.ecephys.align_timestamps.barcode_sync_dataset module¶
-
class
allensdk.brain_observatory.ecephys.align_timestamps.barcode_sync_dataset.
BarcodeSyncDataset
[source]¶ Bases:
allensdk.brain_observatory.ecephys.file_io.ecephys_sync_dataset.EcephysSyncDataset
-
barcode_line
¶ Obtain the index of the barcode line for this dataset.
-
extract_barcodes
(self, **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: - times : np.ndarray
The start times of each detected barcode.
- codes : np.ndarray
The values of each detected barcode
-