norm_mrs: Normalise mrs_data to a spectral region.

Description Usage Arguments Value

View source: R/mrs_data_proc.R

Description

Normalise mrs_data to a spectral region.

Usage

1
norm_mrs(mrs_data, xlim = NULL, scale = "ppm", mode = "re", summation = "l2")

Arguments

mrs_data

MRS data.

xlim

spectral range to be integrated (defaults to full range).

scale

units of xlim, can be : "ppm", "Hz" or "points".

mode

spectral mode, can be : "re", "im", "mod" or "cplx".

summation

can be "sum", "mean" or "l2" (default).

Value

normalised data.


neuroconductor/spant documentation built on May 25, 2021, 1:49 a.m.