R/mrs_data_proc.R
mat2mrs_data.Rd
Convert a matrix (with spectral points in the column dimension and dynamics in the row dimensions) into a mrs_data object.
mat | data matrix. |
---|---|
fs | sampling frequency in Hz. |
ft | transmitter frequency in Hz. |
ref | reference value for ppm scale. |
nuc | resonant nucleus. |
fd | flag to indicate if the matrix is in the frequency domain (logical). |
mrs_data object.