Align spectra to a reference frequency using a convolution based method.
align(
mrs_data,
ref_freq = 4.65,
zf_factor = 2,
lb = 2,
max_shift = 20,
ret_df = FALSE
)
data to be aligned.
reference frequency in ppm units. More than one frequency may be specified.
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).
aligned data object.