f.read.nifti.tpt: Read in a volume at one time point

View source: R/niftiFMRI.R

f.read.nifti.tptR Documentation

Read in a volume at one time point

Description

Given a 4D NIFTI .img/.hdr image pair or a .nii file this function can read in the 3D volume of measurements at a specific time point.

Usage

f.read.nifti.tpt(file, tpt)

Arguments

file

The .img file.

tpt

The time point to read in.

Details

Given a 4D NIFTI .img/.hdr image pair or a .nii file this function can read in the 3D volume of measurements at a specific time point.

Value

A 3D array containing the volume.

See Also

f.read.nifti.slice, f.read.nifti.slice.at.all.timepoints, f.write.nifti,

Examples

f.read.nifti.tpt(system.file("example-nifti.img", package = "AnalyzeFMRI"), 1)

AnalyzeFMRI documentation built on Aug. 8, 2025, 7:16 p.m.