analytic_signal

function of dascore.transform.hilbert source

analytic_signal(
    data ,
    axis: int ,
)

Return the analytic signal of real data along an axis, with the array API.

The discrete Hilbert transform scipy uses: zero the negative frequencies of the FFT, double the positive ones, and transform back.