Convert a matrix (with spectral points in the row dimension and dynamics in the column dimensions) into a mrs_data object.
mat2mrs_data(mat, fs = def_fs(), ft = def_ft(), ref = def_ref(), fd = FALSE)
data matrix.
sampling frequency in Hz.
transmitter frequency in Hz.
reference value for ppm scale.
flag to indicate if the matrix is in the frequency domain (logical).
mrs_data object.