Previous topic

nmrglue.process.pipe_proc.sol

Next topic

nmrglue.process.pipe_proc.dx

This Page

nmrglue.process.pipe_proc.add

nmrglue.process.pipe_proc.add(dic, data, r=0.0, i=0.0, c=0.0, ri=False, x1=1.0, xn='default')

Add a Constant

Parameter c is used even when r and i are defined. NMRPipe ignores c when r or i are defined.

Parameters:

  • dic Dictionary of NMRPipe parameters.

  • data array of spectral data.

  • r Constant to add to real data.

  • i Constant to add to imaginary data.

  • c Constant to add to read and imaginary data

  • ri Add real and imaginary data into real channel.

  • x1 First point of region to add constant to.

  • xn Last point of region to add constant to. ‘default’ specifies the

    end of the vector.