Skip to content
Goldberg Lab Administrator edited this page Jun 23, 2015 · 57 revisions

Welcome to the RodentJoystick wiki!

Overview

This section describes the general process for using the scripts from the repository. For more information, check the specific file documentation.\n\n

Post Processing Pipeline

Raw .dat files --ppscript--> combined .mat files --xy_makestruct--> jstruct --xy_getstats--> stats\n

ppscript

ppscript(x) processes all the individual .dat files and combines them into .mat files, placing them into a subdirectory comb in dir x. These combined .mat files represent a single "bout" of data collection.

xy_makestruct

After this step is executed, xy_makestruct(x/comb) takes all the combined matlab files and creates a single struct summarizing all the data (called jstruct).

xy_getstats stats = xy_getstats(jstruct) processes the jstruct and returns a structure with statistics information. Postprocessing scripts use both the jstruct and stats structures as arguments - but never the raw .dat or even .mat files (at least not currently).

doAllpp(x) takes a directory and performs both steps (and additional analysis), saving the jstruct, stats, and other important structs in the same directory After this step is executed, any number of Post Processing routines can be called.

Clone this wiki locally