Convert a vector into a mrs_data object.
vec2mrs_data(
vec,
fs = def_fs(),
ft = def_ft(),
ref = def_ref(),
nuc = def_nuc(),
dyns = 1,
fd = FALSE
)| vec | the data vector. |
|---|---|
| fs | sampling frequency in Hz. |
| ft | transmitter frequency in Hz. |
| ref | reference value for ppm scale. |
| nuc | resonant nucleus. |
| dyns | replicate the data across the dynamic dimension. |
| fd | flag to indicate if the matrix is in the frequency domain (logical). |
mrs_data object.