resamplenifti

Description:

Takes an input NIFTI file at some TR and outputs a NIFTI file resampled to the specified TR. Downsampling is antialiased unless disabled.

Inputs:

The 4D NIFTI file to resample.

Outputs:

A 4D NIFTI file resampled to the new TR.

Usage:

Resamples a nifti file to a different TR.

usage: resamplenifti [-h] [--noantialias] [--normalize] [--debug]
                     inputfile outputfile outputtr

Positional Arguments

inputfile

The name of the input nifti file, including extension

outputfile

The name of the output nifti file, including extension

outputtr

The target TR, in seconds

Named Arguments

--noantialias

Disable antialiasing filter

Default: True

--normalize

Normalize data and save as UINT16

Default: False

--debug

Print debugging information

Default: False