Set real and imaginary portions of data to a constant.
data : ndarray
Array of NMR data.
v : float
Constant to set both real and imaginary component of data to.
ndata : ndarray
Array with real and imaginary components set to v.
Notes
data is set in place, if original data is required make a copy before calling this function.
nmrglue.process.proc_base.set
nmrglue.process.proc_base.set_real
Enter search terms or a module, class or function name.