Previous topic

nmrglue.process.pipe_proc.base

Next topic

nmrglue.process.pipe_proc.med

This Page

nmrglue.process.pipe_proc.cbf

nmrglue.process.pipe_proc.cbf(dic, data, last=10, reg=False, slice=slice(None, None, None))

Constant Baseline correction

Parameters ref and slice should be python slice objects if explicit correction is desired (recall python arrays start at 0 not 1). The noseq and nodmx parameters are not implemented.

Parameters:

  • dic Dictionary of NMRPipe parameters.
  • data array of spectral data.
  • last Percent of trace to use for calculating correction.
  • reg Slice object describing X-axis region(s) to apply correction to.
  • slice Slice object describing Y-axis region(s) to apply correction to.