nmrglue.process.proc_base.add
- nmrglue.process.proc_base.add(data, r=0.0, i=0.0, c=0.0)[source]
Add constant.
- Parameters
- datandarray
Array of NMR data.
- rfloat
Constant to add to real data.
- ifloat
Constant to add to imaginary data, ignored if no data does not have imaginary data.
- cfloat
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
- ndatandarray
Array of NMR data with constant added.