iblutil.io.jsonable
Functions
Reads in a task data jsonable file and returns a trials dataframe and a bpod data list. |
|
- load_task_jsonable(jsonable_file, offset: int = None) Tuple[DataFrame, List[Any]] [source]
Reads in a task data jsonable file and returns a trials dataframe and a bpod data list.
- Parameters:
jsonable_file (str, pathlib.Path) – Full path to jsonable file.
offset (int) – The offset to start reading from (default: None).
- Returns:
pandas.DataFrame – A DataFrame with the trial info in the same format as the Session trials table.
list – Timing data for each trial.