Corrected zero order phase and chemical shift offset in 1H MRS data from the brain.

phase_ref_1h_brain(mrs_data, mean_ref = FALSE, ret_corr_only = TRUE)

Arguments

mrs_data

MRS data to be corrected.

mean_ref

apply the phase and offset of the mean spectrum to all others. Default is FALSE.

ret_corr_only

return the corrected data only.

Value

corrected MRS data.