Accord.Audio.ComplexSignal.ForwardHilbertTransform C# (CSharp) Method

ForwardHilbertTransform() public method

Applies forward Hilbert transformation to the complex signal.
public ForwardHilbertTransform ( ) : void
return void
        public void ForwardHilbertTransform()
        {
            if (status == ComplexSignalStatus.Normal)
            {
                for (int c = 0; c < Channels; c++)
                {
                    Complex[] channel = GetChannel(c);
                    HilbertTransform.FHT(channel, FourierTransform.Direction.Forward);
                    SetChannel(c, channel);
                }
                status = ComplexSignalStatus.Analytic;
            }
        }