readDiatrack-methods: readDiatrack

Description Usage Arguments Details Examples

Description

read output file (tracks/trajecotries) from Diatrack.

Usage

1
2
3
4
5
readDiatrack(folder, ab.track = F, cores = 1, frameRecord = T)

.readDiatrack(file, interact = F, ab.track = F, frameRecord = F)

maskTracks(folder, trackll)

Arguments

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 Diatrack .txt session 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.

Details

Note: the folder name should not contain ".", as it is a key charactero for subsequent indexing of file names.

the absolute coordinates trajectory has moved

trackID=fileID.frameID.duration.indexPerFile.indexPerTrackll

This "indexPerFile" is the index within a diatrackFile.

This "indexPerTrackll" is the index within a trackll, which is unique.

Examples

1
2
3
folder=system.file("extdata","SWR1",package="smt")
trackll=readDiatrack(folder)
str(trackll,max.level=2)

snjy9182/smt documentation built on May 24, 2019, 7:19 a.m.