ibllib.io.extractors.opto_trials

Functions

extract_all

Extracts the biased trials for a training session

Classes

LaserBool

Extracts the laser probabilities from the bpod jsonable

class LaserBool(session_path=None)[source]

Bases: ibllib.io.extractors.base.BaseBpodTrialsExtractor

Extracts the laser probabilities from the bpod jsonable

save_names = ('_ibl_trials.laser_stimulation.npy', '_ibl_trials.laser_probability.npy')
var_names = ('laser_stimulation', 'laser_probability')
extract_all(*args, extra_classes=None, **kwargs)[source]

Extracts the biased trials for a training session