Input function for
.mat files generated by CTrax.
Creates a list object including experimental parameters and tracking data.
filename: defaults to browsing window
R.matlab to read the file.
CTrax files exist in two very different formats depending on whether they have been processed
fixerrors GUI or not. This input function can read both but some data will
only be available for the latter (video info, framerate etc).
A list object containing a list of experimental details (
$exp) and a data frame
of tracking data (
exp contains the filename and, for
data, video filename, framerate, pixel size.
trx always contains the same format of
tracking data with the columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.