Skip to content

Latest commit

 

History

History
121 lines (104 loc) · 7.55 KB

README.md

File metadata and controls

121 lines (104 loc) · 7.55 KB

+io

Matlab package for input/output conventional consistency.

Install

Once this has been added as a submodule to a given repository, you can then run io.setup to install other required repos:
(From the command window)

io.setup;

You should be in the repository folder that is the parent repo of this submodule, which should be added as a MATLAB package (i.e. with the leading + in the name of the submodule folder). For example, add it to your repository as:

git submodule add git@github.com:Neuro-Mechatronics-Interfaces/matlab_package__io.git +io

This will add the folder with the correct package name.

Contents

Classes

  • JSON - Class to access contents of JSON file.
  • TimeoutEventData - Issued as part of a timer callback event.

Primary Functions

  • load_data - API access-point for loading TMSi or Intan HD-EMG data.
  • load_tmsi - API access-point for load_tmsi_mat or load_tmsi_raw.
  • load_spikes - Load spikes that have been exported via batch pipeline.

Exporters

  • configure - Write and return configuration JSON object for a given session.
  • write_wrist_xy_2_sto - Write data from wrist task into .sto format for OpenSim.

General Utility

  • load_muscle_map - Loads JSON muscle map object.
  • load_sync - Loads processed sync data.
  • new - Open new m-file with both documented and dynamical headers.
  • parse_about - Parse about.yaml in notes of raw_data for a given tank.
  • quick_selector_gui - Blocking function to manually select key experiment parameters (for constructor).

GUIs

  • quick_selector_gui - Blocking function to manually select key experiment parameters (for constructor).

Impedance-Handling

Intan-Specific

LSL-Specific

Message-Capture

  • load_uevt - Load .uevt file (which contains wrist task behavior events).
  • pcap2matlab - Imports network protocol analyzer capabilties into MATLAB.
  • read_events - Reads in "events-export.csv" file for a given session.

Microdrive-Specific

Stimulation-Experiment-Specific

ROS2-Specific

  • load_rosbag - Loads data saved in raw_data in .mat format after parsing from .db3 bag files.

TMSi-Specific

Wrist-Task-Specific

Installer