nmrglue.process.proc_base.add

nmrglue.process.proc_base.add(data, r=0.0, i=0.0, c=0.0)[source]

Add constant.

Parameters :

data : ndarray

Array of NMR data.

r : float

Constant to add to real data.

i : float

Constant to add to imaginary data, ignored if no data does not have imaginary data.

c : float

Constant to add to both real and imaginary data. This constant is only added to the real data if no imaginary data is present.

Returns :

ndata : ndarray

Array of NMR data with constant added.

Previous topic

nmrglue.process.proc_base.zf_auto

Next topic

nmrglue.process.proc_base.add_ri

This Page