R/mrs_data_proc.R
array2mrs_data.Rd
Convert a 7 dimensional array in into a mrs_data object. The array dimensions should be ordered as : dummy, X, Y, Z, dynamic, coil, FID.
array2mrs_data(
data_array,
mrs_data = NULL,
fs = NULL,
ft = NULL,
ref = NULL,
nuc = NULL,
fd = FALSE
)
7d data array.
example data to copy acquisition parameters from.
sampling frequency in Hz.
transmitter frequency in Hz.
reference value for ppm scale.
nucleus that is resonant at the transmitter frequency.
flag to indicate if the matrix is in the frequency domain (logical).
mrs_data object.