R/mrs_data_proc.R
align.Rd
Align spectra to a reference frequency using a convolution based method.
align(
mrs_data,
ref_freq = 4.65,
ref_amp = 1,
zf_factor = 2,
lb = 2,
max_shift = 20,
ret_df = FALSE,
mean_dyns = FALSE
)
data to be aligned.
reference frequency in ppm units. More than one frequency may be specified.
amplitude value for the reference signal. More than one value may be specified to match the number of ref_freq signals.
zero filling factor to increase alignment resolution.
line broadening to apply to the reference signal.
maximum allowable shift in Hz.
return frequency shifts in addition to aligned data (logical).
align the mean spectrum and apply the same shift to each dynamic.
aligned data object.