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

get_barcode_table(self, **barcode_kwargs)[source]

A convenience method for getting barcode times and codes in a dictionary.

Notes

This method is deprecated!