nmrglue.process.proc_base.set_real¶
-
nmrglue.process.proc_base.
set_real
(data, v)[source]¶ Set real component of data to a constant.
- Parameters
- datandarray
Array of NMR data.
- vfloat
Constant to set both real component of data to.
- Returns
- ndatandarray
Array of NMR data with real components set to v.
Notes
data is set in place, if original data is required make a copy before calling this function.