iblutil.io.jsonable

Functions

append

load_task_jsonable

Reads in a task data jsonable file and returns a trials dataframe and a bpod data list.

read

write

read(file)[source]
write(file, data)[source]
append(file, data)[source]
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.