R/mrs_data_proc.R
fp_phase_correct.Rd
Perform a zeroth order phase correction based on the phase of the first data point in the time-domain.
fp_phase_correct(mrs_data, ret_phase = FALSE)
mrs_data | MRS data to be corrected. |
---|---|
ret_phase | return phase values (logical). |
corrected data or a list with corrected data and optional phase values.