post:matlab_to_df.r

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
post:matlab_to_df.r [2020/11/25 14:28] – pseudomoanerpost:matlab_to_df.r [2020/12/17 01:15] (current) – pseudomoaner
Line 7: Line 7:
 Note that variable names may need to be edited in this script to match your version of procTracks. Note that variable names may need to be edited in this script to match your version of procTracks.
  
-If you are using the Matlab-based version of FAST, you will also need to re-save your track data for this script to work. Input the following commands to the Matlab command line to do this:+If you are using the Matlab-based version of FAST, you will also need to re-save your track data in v6 .mat format for this script to work. Input the following commands to the Matlab command line to do this:
  
 <code matlab> <code matlab>
Line 13: Line 13:
 load('C:/Path/To/Target/Mat/Tracks.mat') load('C:/Path/To/Target/Mat/Tracks.mat')
 save('C:/Path/To/Resaved/Mat/Tracks.mat','procTracks','rawFromMappings','rawToMappings','rawTracks',... save('C:/Path/To/Resaved/Mat/Tracks.mat','procTracks','rawFromMappings','rawToMappings','rawTracks',...
-'trackTimes','toMappings','fromMappings','trackSettings','trackableData','linkStats','-v6')+    'trackTimes','toMappings','fromMappings','trackSettings','trackableData','linkStats','-v6')
 </code>  </code> 
 +
 +Track .mat files for the stand-alone version of FAST are natively output in -v6 format.
 +
 +**Dependencies:**
 +
 +  * [[https://cran.r-project.org/web/packages/R.matlab/index.html|R.matlab]]
 +  * [[https://cran.r-project.org/web/packages/data.table/vignettes/datatable-intro.html|data.table]]
  
 **Author:** Elisa Granato **Author:** Elisa Granato
  • post/matlab_to_df.r.1606314494.txt.gz
  • Last modified: 2020/11/25 14:28
  • by pseudomoaner