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,
zf_factor = 2,
lb = 2,
max_shift = 20,
ret_df = FALSE
)
mrs_data | data to be aligned. |
---|---|
ref_freq | reference frequency in ppm units. More than one frequency may be specified. |
zf_factor | zero filling factor to increase alignment resolution. |
lb | line broadening to apply to the reference signal. |
max_shift | maximum allowable shift in Hz. |
ret_df | return frequency shifts in addition to aligned data (logical). |
aligned data object.