tsdify is a function to use to either figure out what the TSD folder location of MRI data is, or to figure out the project wave from TSD folder names.

tsdify(data, reverse = F)

Arguments

data

The MOAS or a MOAS generated file.

reverse

logical. If FALSE (default) creates TSD folder strings. If TRUE, finds project wave number from Folder information.

Value

either an string vector of folder names (default), or a vector of integers

Examples

if (FALSE) { tsdify(data) tsdify(data, reverse=TRUE) }