Removing Non-linear Trends: Difference between revisions

From CCN Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Though a script exists to use FreeSurfer's tools to remove linear trends as it extracts the time course data, non-linear trends may lurk in the data.
Though a script exists to use FreeSurfer's tools to remove linear trends as it extracts the time course data, non-linear trends may lurk in the data.


[[File:NL_Detrending.png]]


This might be problematic for some analyses. Fortunately, nonlinear trends can be removed from the data once it's been loaded into MATLAB, before any further processing (e.g., normalizing, etc.) is done to it.
This might be problematic for some analyses. Fortunately, nonlinear trends can be removed from the data once it's been loaded into MATLAB, before any further processing (e.g., normalizing, etc.) is done to it.


Assume you have a cell array of matrices, '''''M''''', which was generated by the <code>loadFSTS</code> function.
Assume you have a cell array of matrices, '''''M''''', which was generated by the <code>loadFSTS</code> function.

Revision as of 16:11, 18 July 2016

Though a script exists to use FreeSurfer's tools to remove linear trends as it extracts the time course data, non-linear trends may lurk in the data.


This might be problematic for some analyses. Fortunately, nonlinear trends can be removed from the data once it's been loaded into MATLAB, before any further processing (e.g., normalizing, etc.) is done to it.

Assume you have a cell array of matrices, M, which was generated by the loadFSTS function.