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: BaseBpodTrialsExtractor

Extracts the laser probabilities from the bpod jsonable

save_names = ('_ibl_trials.laserStimulation.npy', '_ibl_trials.laserProbability.npy')

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

Type:

tuple of str

var_names = ('laserStimulation', 'laserProbability')

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

Type:

tuple of str

extract_all(*args, extra_classes=None, **kwargs)[source]

Extracts the biased trials for a training session