trial_viewer

Tools to visulize data after collection.

Warning

this module is unfinished, so it is undocumented.

Functions

load_subject_data(data_dir, subject_name[, …])

load_subject_dir(data_dir[, steps, grad, which])

Parameters
  • data_dir (str) – A path to a directory with Subject style hdf5 files

step_viewer(grad_data)

trial_viewer(step_data[, roll_type, …])

Parameters
  • bar

load_subject_data(data_dir, subject_name, steps=True, grad=True)[source]
load_subject_dir(data_dir, steps=True, grad=True, which=None)[source]
Parameters
  • data_dir (str) – A path to a directory with Subject style hdf5 files

  • steps (bool) – Whether to return full trial-level data for each step

  • grad (bool) – Whether to return summarized step graduation data.

  • which (list) – A list of subjects to subset the loaded subjects to

step_viewer(grad_data)[source]
trial_viewer(step_data, roll_type='ewm', roll_span=100, bar=False)[source]
Parameters
  • bar

  • roll_span

  • roll_type

  • step_data