mat2mrs_data: Convert a matrix (with spectral points in the row dimension...

Description Usage Arguments Value

View source: R/mrs_data_proc.R

Description

Convert a matrix (with spectral points in the row dimension and dynamics in the column dimensions) into a mrs_data object.

Usage

1
mat2mrs_data(mat, fs = def_fs(), ft = def_ft(), ref = def_ref(), fd = FALSE)

Arguments

mat

data matrix.

fs

sampling frequency in Hz.

ft

transmitter frequency in Hz.

ref

reference value for ppm scale.

fd

flag to indicate if the matrix is in the frequency domain (logical).

Value

mrs_data object.


neuroconductor-releases/spant documentation built on Jan. 1, 2021, 11:42 a.m.