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,
  fs = def_fs(),
  ft = def_ft(),
  ref = def_ref(),
  nuc = def_nuc(),
  fd = FALSE
)

Arguments

data_array

7d data array.

fs

sampling frequency in Hz.

ft

transmitter frequency in Hz.

ref

reference value for ppm scale.

nuc

nucleus that is resonant at the transmitter frequency.

fd

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

Value

mrs_data object.