ibllib.pipes.training_preprocessing

(Deprecated) Training data preprocessing tasks.

These tasks are part of the old pipeline. This module has been replaced by the dynamic pipeline and the behavior_tasks module.

Classes

TrainingAudio

Computes raw electrophysiology QC

TrainingDLC

TrainingExtractionPipeline

TrainingRegisterRaw

TrainingStatus

TrainingTrials

TrainingVideoCompress

class TrainingRegisterRaw(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', **kwargs)[source]

Bases: Task

priority = 100
class TrainingTrials(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', **kwargs)[source]

Bases: Task

priority = 90
level = 0
force = False
signature = {'input_files': [('_iblrig_taskData.raw.*', 'raw_behavior_data', True), ('_iblrig_taskSettings.raw.*', 'raw_behavior_data', True), ('_iblrig_encoderEvents.raw*', 'raw_behavior_data', True), ('_iblrig_encoderPositions.raw*', 'raw_behavior_data', True)], 'output_files': [('*trials.goCueTrigger_times.npy', 'alf', True), ('*trials.table.pqt', 'alf', True), ('*wheel.position.npy', 'alf', True), ('*wheel.timestamps.npy', 'alf', True), ('*wheelMoves.intervals.npy', 'alf', True), ('*wheelMoves.peakAmplitude.npy', 'alf', True)]}
extract_behaviour(save=True)[source]

Extracts an iblrig training session.

run_qc(trials_data=None, update=True)[source]
class TrainingVideoCompress(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', **kwargs)[source]

Bases: Task

priority = 90
io_charge = 100
job_size = 'large'
class TrainingAudio(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', **kwargs)[source]

Bases: Task

Computes raw electrophysiology QC

cpu = 2
priority = 10
level = 0
class TrainingDLC(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', **kwargs)[source]

Bases: Task

class TrainingStatus(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', **kwargs)[source]

Bases: Task

priority = 90
level = 1
force = False
signature = {'input_files': [('_iblrig_taskData.raw.*', 'raw_behavior_data', True), ('_iblrig_taskSettings.raw.*', 'raw_behavior_data', True), ('*trials.table.pqt', 'alf', True)], 'output_files': []}
class TrainingExtractionPipeline(session_path, **kwargs)[source]

Bases: Pipeline

label = 'ibllib.pipes.training_preprocessing'