Resample a basis-set to match a mrs_data acquisition.
resample_basis(basis, mrs_data, ref_freq_match = TRUE)
resampled basis set object.
the basis to be resampled.
the mrs_data to match the number of data points and sampling frequency.
apply a frequency shift to the basis to match the reference frequency (usually 4.65 or 4.68) of the mrs_data.