@@ -2425,7 +2425,8 @@ class TProjectInputSpec(AFNICommandInputSpec):
2425
2425
* This is a file of 1s and 0s, indicating which
2426
2426
time points are to be included (1) and which are
2427
2427
to be excluded (0).""" ,
2428
- argstr = "-censor %s" )
2428
+ argstr = "-censor %s" ,
2429
+ exists = True )
2429
2430
censortr = traits .List (
2430
2431
traits .Str (),
2431
2432
desc = """list of strings that specify time indexes
@@ -2489,7 +2490,7 @@ class TProjectInputSpec(AFNICommandInputSpec):
2489
2490
ort = File (
2490
2491
desc = """Remove each column in file
2491
2492
++ Each column will have its mean removed.""" ,
2492
- exist = True ,
2493
+ exists = True ,
2493
2494
argstr = "-ort %s" )
2494
2495
polort = traits .Int (
2495
2496
desc = """Remove polynomials up to and including degree pp.
@@ -2505,15 +2506,15 @@ class TProjectInputSpec(AFNICommandInputSpec):
2505
2506
bandpass = traits .Tuple (
2506
2507
traits .Float , traits .Float ,
2507
2508
desc = """Remove all frequencies EXCEPT those in the range""" ,
2508
- argstr = '-bandpass %f %f ' )
2509
+ argstr = '-bandpass %g %g ' )
2509
2510
stopband = traits .Tuple (
2510
2511
traits .Float , traits .Float ,
2511
2512
desc = """Remove all frequencies in the range""" ,
2512
- argstr = '-stopband %f %f ' )
2513
+ argstr = '-stopband %g %g ' )
2513
2514
TR = traits .Float (
2514
2515
desc = """Use time step dd for the frequency calculations,
2515
2516
rather than the value stored in the dataset header.""" ,
2516
- argstr = '-TR %f ' )
2517
+ argstr = '-TR %g ' )
2517
2518
mask = File (
2518
2519
exist = True ,
2519
2520
desc = """Only operate on voxels nonzero in the mset dataset.
@@ -2530,7 +2531,7 @@ class TProjectInputSpec(AFNICommandInputSpec):
2530
2531
width (FWHM) of fff millimeters.
2531
2532
++ Spatial blurring (if done) is after the time
2532
2533
series filtering.""" ,
2533
- argstr = '-blur %f ' )
2534
+ argstr = '-blur %g ' )
2534
2535
norm = traits .Bool (
2535
2536
desc = """Normalize each output time series to have sum of
2536
2537
squares = 1. This is the LAST operation.""" ,
@@ -2562,7 +2563,7 @@ class TProject(AFNICommand):
2562
2563
>>> tproject.inputs.automask = True
2563
2564
>>> tproject.inputs.out_file = 'projected.nii.gz'
2564
2565
>>> tproject.cmdline
2565
- '3dTproject -input functional.nii -automask -bandpass 0.006670 99999.000000 -polort 3 -prefix projected.nii.gz'
2566
+ '3dTproject -input functional.nii -automask -bandpass 0.00667 99999 -polort 3 -prefix projected.nii.gz'
2566
2567
>>> res = tproject.run() # doctest: +SKIP
2567
2568
2568
2569
"""
0 commit comments