Perform l2 regularisation artefact suppression using the method proposed by Bilgic et al. JMRI 40(1):181-91 2014.

l2_reg(mrs_data, thresh = 0.05, b = 1e-11, A = NA, xlim = NA)

Arguments

mrs_data

input data for artefact suppression.

thresh

threshold parameter to extract lipid signals from mrs_data based on the integration of the full spectral width in magnitude mode.

b

regularisation parameter.

A

set of spectra containing the artefact basis signals. The thresh parameter is ignored when A is specified.

xlim

spectral limits in ppm to restrict the reconstruction range. Defaults to the full spectral width.

Value

l2 reconstructed mrs_data object.