Time Series Data in MNI Space: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Thanks to Cary for sorting this out. It appears that the process for obtaining mean time series from the mni305 volumes generated by '''preproc-sess''' is very similar to that for [[Time_Series_Data_in_Surface_Space]] | Thanks to Cary for sorting this out. It appears that the process for obtaining mean time series from the mni305 volumes generated by '''preproc-sess''' is very similar to that for [[Time_Series_Data_in_Surface_Space time series in surface space]] | ||
After the data have been detrended, <code>mri_segstats</code> can be called on the detrended volume to extract the average waveform within each of the labeled segments. The next challenge would be to determine the identities of each segment so that you know which waveforms correspond to which subcortical or cortical region. | After the data have been detrended, <code>mri_segstats</code> can be called on the detrended volume to extract the average waveform within each of the labeled segments. The next challenge would be to determine the identities of each segment so that you know which waveforms correspond to which subcortical or cortical region. |
Revision as of 21:41, 28 May 2019
Thanks to Cary for sorting this out. It appears that the process for obtaining mean time series from the mni305 volumes generated by preproc-sess is very similar to that for Time_Series_Data_in_Surface_Space time series in surface space
After the data have been detrended, mri_segstats
can be called on the detrended volume to extract the average waveform within each of the labeled segments. The next challenge would be to determine the identities of each segment so that you know which waveforms correspond to which subcortical or cortical region.
#Assume ${sub} contains the subject ID #Assume ${r} contains the run number #Assume ${FILEPAT} contains the name of the detrended volume: FILEPAT=fmcpr.siemens.sm7.mni305.2mm.mgh mri_segstats --seg /usr/local/freesurfer/5.3.0/subjects/fsaverage/mri.2mm/aseg.mgz --i ${sub}/bold/${r}/${FILEPAT} \ --sum ${sub}/bold/${r}/sum_subcort.txt --avgwf ${sub}_${r}.${filepat}.wav.txt