nmrglue.process.pipe_proc.ha

nmrglue.process.pipe_proc.ha(dic, data, inv=False)[source]

Hadamard transform.

Parameters
dicdict

Dictionary of NMRPipe parameters.

datandarray

Array of NMR data.

invbool

True to perform an inverse transform.

Returns
ndicdict

Dictionary of updated NMRPipe parameters.

ndatandarray

Array of NMR data which has been Hadamard transformed.

Notes

This function is slow. Implemented a FWHT in proc_base would significantly improve the speed of this functions.