read.nifti1.header.internal: Read NIFTI v1 header from file (which may contain the...

View source: R/read_nifti1.R

read.nifti1.header.internalR Documentation

Read NIFTI v1 header from file (which may contain the FreeSurfer hack).

Description

Read NIFTI v1 header from file (which may contain the FreeSurfer hack).

Usage

read.nifti1.header.internal(filepath, little_endian = TRUE)

Arguments

filepath

path to a NIFTI v1 file (single file version), which can contain the FreeSurfer hack.

little_endian

internal logical, leave this alone. Endianness will be figured out automatically, messing with this parameter only hurts.

Value

named list with NIFTI 1 header fields.


freesurferformats documentation built on Sept. 9, 2025, 5:44 p.m.