ibllib.io.extractors.widefield

Data extraction from widefield binary file

Classes

Widefield

class Widefield(*args, **kwargs)[source]

Bases: BaseExtractor

save_names = (None, None, None, 'widefieldChannels.frameAverage.npy', 'widefieldU.images.npy', 'widefieldSVT.uncorrected.npy', None, None, 'widefieldSVT.haemoCorrected.npy', 'imaging.times.npy', 'imaging.imagingLightSource.npy', 'imagingLightSource.properties.htsv')

The filenames of each extracted dataset, or None if array should not be saved.

Type:

tuple of str

raw_names = ('motioncorrect_2_540_640_uint16.bin', 'motion_correction_shifts.npy', 'motion_correction_rotation.npy', 'frames_average.npy', 'U.npy', 'SVT.npy', 'rcoeffs.npy', 'T.npy', 'SVTcorr.npy', 'timestamps.npy', 'led.npy', 'led_properties.htsv')
var_names = ()

A list of names for the extracted variables. These become the returned output keys.

Type:

tuple of str

preprocess(fs=30, functional_channel=0, nbaseline_frames=30, k=200, nchannels=2)[source]
remove_files(file_prefix='motion')[source]
sync_timestamps(bin_exists=False, save=False, save_paths=None, sync_collection='raw_sync_data', **kwargs)[source]