auto_phase: Perform zeroth-order phase correction based on the...

Description Usage Arguments Value

View source: R/mrs_data_proc.R

Description

Perform zeroth-order phase correction based on the minimisation of the squared difference between the real and magnitude components of the spectrum.

Usage

1
auto_phase(mrs_data, xlim = NULL, ret_phase = FALSE)

Arguments

mrs_data

an object of class mrs_data.

xlim

frequency range (default units of PPM) to including in the phase.

ret_phase

return phase values (logical).

Value

MRS data object and phase values (optional).


neuroconductor-devel-releases/spant documentation built on May 6, 2020, 4:29 p.m.