bob cox wrote:
> I'll think about this change, and how it would impact other
> programs (I/O is done in a library function, so changing it in
> 3dTstat means changing it in all programs). In the meantime,
> you could use the following trick:
>
> 3dTstat -stdev -prefix - input.1D\' > output.1D
>
> to get the result you want.
Thanks Bob.
I ended up using (cd a; 3dTstat -stdev -prefix output.1D input.1D\' ) but your suggestion is cleaner.
The reason I assumed -prefix a/b/c worked with 3dTstat was that -prefix a/b/c seems to work as expected in 3dcalc.
Could I make one more suggestion about the documentation of 3drefit?
I suggesting changing
20 Jun 2006: 3drefit will now work on NIfTI datasets (but it will
write out the entire dataset)
to
20 Jun 2006: 3drefit will now work on NIfTI datasets (but it will
write out the entire dataset in the current working directory)
I've been bitten by
3drefit -deoblique a/b/c.nii.gz
writing $cwd/c.nii.gz and leaving a/b/c.nii.gz intact