You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
card=File(desc='1D cardiac data file for cardiac correction',
1774
+
argstr='-card %s',
1775
+
position=-2,
1776
+
exists=True)
1777
+
resp=File(desc='1D respiratory waveform data for correction',
1778
+
argstr='-resp %s',
1779
+
position=-3,
1780
+
exists=True)
1781
+
threshold=traits.Int(desc='Threshold for detection of R-wave peaks in input (Make sure it is above the background noise level, Try 3/4 or 4/5 times range plus minimum)',
1782
+
argstr='-threshold %d',
1783
+
position=-4)
1784
+
order=traits.Int(desc='The order of the correction (2 is typical)',
1785
+
argstr='-order %s',
1786
+
position=-5)
1787
+
1788
+
cardphase=File(desc='Filename for 1D cardiac phase output',
1789
+
argstr='-cardphase %s',
1790
+
position=-6,
1791
+
hash_files=False)
1792
+
respphase=File(desc='Filename for 1D resp phase output',
1793
+
argstr='-respphase %s',
1794
+
position=-7,
1795
+
hash_files=False)
1796
+
1797
+
1798
+
classRetroicor(AFNICommand):
1799
+
"""Performs Retrospective Image Correction for physiological
1800
+
motion effects, using a slightly modified version of the
1801
+
RETROICOR algorithm
1802
+
1803
+
The durations of the physiological inputs are assumed to equal
1804
+
the duration of the dataset. Any constant sampling rate may be
1805
+
used, but 40 Hz seems to be acceptable. This program's cardiac
1806
+
peak detection algorithm is rather simplistic, so you might try
1807
+
using the scanner's cardiac gating output (transform it to a
1808
+
spike wave if necessary).
1809
+
1810
+
This program uses slice timing information embedded in the
1811
+
dataset to estimate the proper cardiac/respiratory phase for
1812
+
each slice. It makes sense to run this program before any
1813
+
program that may destroy the slice timings (e.g. 3dvolreg for
1814
+
motion correction).
1815
+
1816
+
For complete details, see the `3dretroicor Documentation.
0 commit comments