psychopy_ext.fmri.Analysis.detrend

Analysis.detrend(ds)[source]

Second-order detrending of data per chunk with the mean added back for a convenient percent signal change calculation.