Previous topic

nmrglue.process.pipe_proc.rev

Next topic

nmrglue.process.pipe_proc.shuf

This Page

nmrglue.process.pipe_proc.set

nmrglue.process.pipe_proc.set(dic, data, r='a', i='a', c='a', x1=1.0, xn='default')

Set to a Constant

Parameters:

  • dic Dictionary of NMRPipe parameters.

  • data array of spectral data.

  • r Constant to set real data to. “a” sets to 0 unless c is defined.

  • i Constant to set imag data to. “a” sets to 0 unless c is defined.

  • c Constant to set real and imaginary. “a” sets to 0 unless

    r or i is defined.

  • x1 First point of region to set to constant.

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

    end of the vector.