ppm: Return the ppm scale of an MRS dataset or fit result.

Description Usage Arguments Value

View source: R/mrs_data_proc.R

Description

Return the ppm scale of an MRS dataset or fit result.

Usage

1
2
3
4
5
6
7
ppm(x, ft = NULL, ref = NULL, fs = NULL, N = NULL)

## S3 method for class 'mrs_data'
ppm(x, ft = NULL, ref = NULL, fs = NULL, N = NULL)

## S3 method for class 'fit_result'
ppm(x, ft = NULL, ref = NULL, fs = NULL, N = NULL)

Arguments

x

MRS dataset of fit result.

ft

transmitter frequency in Hz, does not apply when the object is a fit result.

ref

reference value for ppm scale, does not apply when the object is a fit result.

fs

sampling frequency in Hz, does not apply when the object is a fit result.

N

number of data points in the spectral dimension, does not apply when the object is a fit result.

Value

ppm scale.


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