I am trying to run 3DLocalstat on AFNI I wrote 3dLocalstat (filename) -nbhd ‘SPHERE(3)’ -stat mean -automask -prefix (outputname) but the error message below appeared,
FATAL ERROR No -stat options given?
But I have inserted the -stat commands in the line. Is there any way to solve this problem?
AFNI I/Os BRIK/HEAD format, as well as NIFTIs. If you would like the output to be a NIFTI file, then just include that extension in the output file prefix, such as:
3dLocalstat -nbhd 'SPHERE(3)' -stat mean -automask -prefix DSET_OUTPUT.nii.gz DSET_INPUT
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.