This is development documentation. Some features are not available in the stable release. View stable documentation.

spectrochempy.ht

ht(structured_history=True, history_description="Hilbert transform performed", parameter_preprocessor=_normalize_ht_parameters, )def ht(dataset, N=None)[source]

Hilbert transform.

Reconstruct imaginary data via hilbert transform. Copied from NMRGlue (BSD3 licence).

Parameters:
  • dataset (array-like) – Real or complex NMR data. The Hilbert transform is applied along the selected dimension, which is the last dimension by default.

  • N (int or None, optional) – Number of Fourier components passed to the Hilbert transform. None uses the selected dimension length. Values smaller than that length are not supported.

Returns:

ndarray – Complex NMR data reconstructed by the Hilbert transform.