rapidtide.io.readlabelledtsv

rapidtide.io.readlabelledtsv(inputfilename, compressed=False)[source]

Read time series out of an fmriprep confounds tsv file

Parameters:

inputfilename (str) – The root name of the tsv (no extension)

Returns:

confounddict – All the timecourses in the file, keyed by the first row

Return type:

dict

NOTE: If file does not exist or is not valid, return an empty dictionary