open-discussion
open-discussion > RE: slice timing information
Dec 17, 2009 06:12 PM | Daniel Glen
RE: slice timing information
Thanks for the information. That will definitely help. I still find
147 3T datasets with TR of 1 second. A few other sites seem to have
that TR also including Ann Arbor a and b and Berlin (Schmidt). This
is the updated version of my script for checking the sites. I've
attached the site list with TR of 1 and the corresponding subjects.
#!/bin/tcsh
# findTR1.csh
set tr1_dsets = 0
foreach rd (rest*.nii.gz)
nifti_tool -disp_hdr -infile_spec $rd |grep pixdim |grep "1.0 0.0 0.0" \
>& /dev/null
if ( ! $status ) then
echo "$rd has TR=1"
# strip off "rest_" and ".nii.gz" from name
set sub = `echo $rd | awk -F '.' '{print $1 }' | awk -F "_" '{print $2}'`
# check from which site this subject came
grep $sub *subjects.txt
@ tr1_dsets++
endif
end
echo ""
echo "Found $tr1_dsets with a TR of 1"
#!/bin/tcsh
# findTR1.csh
set tr1_dsets = 0
foreach rd (rest*.nii.gz)
nifti_tool -disp_hdr -infile_spec $rd |grep pixdim |grep "1.0 0.0 0.0" \
>& /dev/null
if ( ! $status ) then
echo "$rd has TR=1"
# strip off "rest_" and ".nii.gz" from name
set sub = `echo $rd | awk -F '.' '{print $1 }' | awk -F "_" '{print $2}'`
# check from which site this subject came
grep $sub *subjects.txt
@ tr1_dsets++
endif
end
echo ""
echo "Found $tr1_dsets with a TR of 1"
Threaded View
| Title | Author | Date |
|---|---|---|
| Daniel Glen | Dec 14, 2009 | |
| Maarten Mennes | Dec 15, 2009 | |
| Daniel Glen | Dec 16, 2009 | |
| Xi-Nian Zuo | Dec 16, 2009 | |
| Daniel Glen | Dec 16, 2009 | |
| Lisa Kilpatrick | Jan 26, 2010 | |
| Michael Milham | Feb 1, 2010 | |
| Yunxia Tong | Feb 2, 2010 | |
| Michel Grothe | Feb 4, 2010 | |
| Maarten Mennes | Feb 6, 2010 | |
| Michael Milham | Feb 9, 2010 | |
| Sheng Zhang | Mar 17, 2010 | |
| Maarten Mennes | Mar 24, 2010 | |
| Alok Deshpande | Jul 30, 2010 | |
| Michael Milham | Aug 3, 2010 | |
| Alok Deshpande | Aug 13, 2010 | |
| Michael Milham | Feb 3, 2010 | |
| Michael Milham | Jan 28, 2010 | |
| Michael Milham | Dec 17, 2009 | |
| Daniel Glen | Dec 17, 2009 | |
