Create an iterator over the tracts of an MRtrix TCK or TSF file.
mrtrix.track.iterator(
filepath,
skip_tracks = 0L,
bbox = NULL,
chunk_values = 4e+06
)the iterator environment.
character string, path to the file.
integer, the number of tracts to skip.
numeric vector of length 6 or NULL, a bounding box, see
read.dti.tck.
integer, the number of payload values to read per chunk. This only affects the peak memory usage and the I/O granularity of the iterator, and is rarely needed. For TRK files it is ignored, since those records are read one at a time.