Use fslmaths to apply a low, high, or bandpass temporal filter to a
Usage
ni_fsl_temporal_filter(
in_file,
args = NULL,
highpass_sigma = -1,
internal_datatype = NULL,
lowpass_sigma = -1,
nan2zeros = NULL,
out_file = NULL,
output_datatype = NULL,
.cwd = NULL,
.env = NULL,
.engine = NULL,
.profile = NULL,
dry_run = FALSE,
echo = interactive()
)Arguments
- in_file
Character; file path. image to operate on Required.
- args
Character. Additional parameters to the command
- highpass_sigma
Numeric. highpass filter sigma (in volumes)
- internal_datatype
Character; one of: "float", "char", "int", "short", "double", "input". datatype to use for calculations (default is float)
- lowpass_sigma
Numeric. lowpass filter sigma (in volumes)
- nan2zeros
Logical. change NaNs to zeros before doing anything
- out_file
Character; file path. image to write
- output_datatype
Character; one of: "float", "char", "int", "short", "double", "input". datatype to use for output (default uses input type)
- .cwd
Working directory override.
- .env
Named character vector of environment variables.
- .engine
Execution engine override.
- .profile
Runtime profile override.
- dry_run
Logical; preview command without executing.
- echo
Logical; echo stdout/stderr in real time.