Description Usage Arguments Details Examples
take in a SlimFast .txt session file as input, along with several other user-configurable parameters and output options, to return a track list of all the trajectories
1 2 | readSlimFast(folder, ab.track = F, cores = 1, frameRecord = T)
.readSlimFast(file, interact = F, ab.track = F, frameRecord = F)
|
file |
Full path to Diatrack .mat session file. |
interact |
Open menu to interactively choose file. |
ab.track |
Use absolute coordinates for tracks. |
frameRecord |
Add a fourth column to the track list after the xyz-coordinates for the frame that coordinate point was found (especially helpful when linking frames). |
folder |
Full path to SlimFast .txt files output folder. |
cores |
Number of cores used for parallel computation. This can be the cores on a workstation, or on a cluster. Tip: each core will be assigned to read in a file when paralleled. |
The naming scheme for each track is as follows:
[Last five characters of the file name].[Start frame #].[Length].[Track #]
(Note: The last five characters of the file name, excluding the extension, cannot contain ".")
1 2 3 4 5 6 | #Basic function call of .readSlimFast
#txtfolder=system.file("extdata","HTZ1",package="sojourner")
#trackll <- readSlimFast(folder = txtfolder, cores = 1)
#Basic function call of .readSlimFast
# trackl <- .readSlimFast(interact = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.