Trials data extraction from raw Bpod output This module will extract the Bpod trials and wheel data based on the task protocol, i.e. habituation, training or biased.
Extracts a training session from its path.
- extract_all(session_path, save=True, bpod_trials=None, settings=None)
Extracts a training session from its path. NB: Wheel must be extracted first in order to extract trials.firstMovement_times.
session_path – the path to the session to be extracted
save – if true a subset of the extracted data are saved as ALF
bpod_trials – list of Bpod trial data
settings – the Bpod session settings
trials: Bunch/dict of trials
wheel: Bunch/dict of wheel positions
out_Files: list of output files