Extracts the number of time points from a nifti object, list or character

ntime_points(filename)

Arguments

filename

List of nifti objects, a vector of character filenames, or a single 4D nifti

Value

Vector of time points