allensdk.brain_observatory.ecephys.file_io.ecephys_sync_dataset module

class allensdk.brain_observatory.ecephys.file_io.ecephys_sync_dataset.EcephysSyncDataset[source]

Bases: allensdk.brain_observatory.sync_dataset.Dataset

extract_frame_times(self, strategy, photodiode_cycle=60, frame_keys=('frames', 'stim_vsync', 'vsync_stim'), photodiode_keys=('photodiode', 'stim_photodiode'), trim_discontiguous_frame_times=True)[source]
extract_frame_times_from_photodiode(self, photodiode_cycle=60, frame_keys=('frames', 'stim_vsync', 'vsync_stim'), photodiode_keys=('photodiode', 'stim_photodiode'), trim_discontiguous_frame_times=True)[source]
extract_frame_times_from_vsyncs(self, photodiode_cycle=60, frame_keys=('frames', 'stim_vsync', 'vsync_stim'), photodiode_keys=('photodiode', 'stim_photodiode'))[source]
extract_led_times(self, keys=('LED_sync', 'opto_trial'), fallback_line=18)[source]
classmethod factory(path)[source]

Build a new SyncDataset.

Parameters:
path : str

Filesystem path to the h5 file containing sync information to be loaded.

remove_zero_frames(self, frame_times)[source]
sample_frequency