Convert a vector into a mrs_data object.
the data vector.
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 matrix is in the frequency domain (logical).
mrs_data object.