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.