mghheader.is.ras.valid: Check whether header contains valid ras information

View source: R/mghheader.R

mghheader.is.ras.validR Documentation

Check whether header contains valid ras information

Description

Check whether header contains valid ras information

Usage

mghheader.is.ras.valid(header)

Arguments

header

mgh header or 'fs.volume' instance with header

Value

logical, whether header contains valid ras information (according to the 'ras_good_flag').

See Also

Other header coordinate space: mghheader.ras2vox.tkreg(), mghheader.ras2vox(), mghheader.scanner2tkreg(), mghheader.tkreg2scanner(), mghheader.vox2ras.tkreg(), mghheader.vox2ras(), read.fs.transform.dat(), read.fs.transform.lta(), read.fs.transform.xfm(), read.fs.transform(), sm0to1(), sm1to0()

Examples

    brain_image = system.file("extdata", "brain.mgz",
                               package = "freesurferformats",
                               mustWork = TRUE);
    vdh = read.fs.mgh(brain_image, with_header = TRUE);
    mghheader.is.ras.valid(vdh$header);


freesurferformats documentation built on May 29, 2024, 5:29 a.m.