hilbert_transform#

hypercoil.functional.fourier.hilbert_transform(X: Tensor, axis: int = -1, n: int | None = None) Tensor[source]#

Hilbert transform of an input signal.

Parameters:
Xtensor

Input tensor.

axisint (default -1)

Axis along which the transform is applied.

nint (default None)

Number of frequency components; dimension of the Fourier transform. This defaults to the size of the input along the transform axis.

Returns:
Tensor

Output tensor.