Convert a vector into a mrs_data object.
vec2mrs_data(
vec,
mrs_data = NULL,
fs = NULL,
ft = NULL,
ref = NULL,
nuc = NULL,
dyns = 1,
fd = FALSE
)
the data vector.
example data to copy acquisition parameters from.
sampling frequency in Hz.
transmitter frequency in Hz.
reference value for ppm scale.
resonant nucleus.
replicate the data across the dynamic dimension.
flag to indicate if the vector is in the frequency domain (logical).
mrs_data object.