align: Align spectra to a reference frequency using a convolution...

Description Usage Arguments Value

View source: R/mrs_data_proc.R

Description

Align spectra to a reference frequency using a convolution based method.

Usage

1
2
align(mrs_data, ref_peak = 4.65, zf_factor = 2, lb = 2,
  max_shift = 20, ret_df = FALSE)

Arguments

mrs_data

data to be aligned.

ref_peak

reference frequency in ppm units.

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).

Value

aligned data object.


neuroconductor-devel-releases/spant documentation built on Feb. 14, 2020, 1:34 p.m.