firhilbf
Finite impulse response (FIR) Hilbert transform
Public Functions
firhilbf | firhilbf_create( |
firhilbf | firhilbf_copy( |
int | firhilbf_destroy( |
int | firhilbf_print( |
int | firhilbf_reset( |
int | firhilbf_r2c_execute( |
int | firhilbf_c2r_execute( |
int | firhilbf_decim_execute( |
int | firhilbf_decim_execute_block( |
int | firhilbf_interp_execute( |
int | firhilbf_interp_execute_block( |
Interfaces
firhilbf firhilbf_create(
Create a firhilb object with a particular filter semi-length and desired stop-band attenuation. Internally the object designs a half-band filter based on applying a Kaiser-Bessel window to a sinc function to guarantee zeros at all off-center odd indexed samples.
- _m : filter semi-length, delay is \( 2 m + 1 \)
- _as : filter stop-band attenuation [dB]
firhilbf firhilbf_copy(
Copy object including all internal objects and state
int firhilbf_destroy(
Destroy finite impulse response Hilbert transform, freeing all internally-allocted memory and objects.
int firhilbf_print(
Print firhilb object internals to stdout
int firhilbf_reset(
Reset firhilb object internal state
int firhilbf_r2c_execute(
Execute Hilbert transform (real to complex)
- _q : Hilbert transform object
- _x : real-valued input sample
- _y : complex-valued output sample
int firhilbf_c2r_execute(
Execute Hilbert transform (complex to real)
- _q : Hilbert transform object
- _x : complex-valued input sample
- _y0 : real-valued output sample, lower side-band retained
- _y1 : real-valued output sample, upper side-band retained
int firhilbf_decim_execute(
Execute Hilbert transform decimator (real to complex)
- _q : Hilbert transform object
- _x : real-valued input array, shape: (2, 1)
- _y : complex-valued output sample
int firhilbf_decim_execute_block(
Execute Hilbert transform decimator (real to complex) on a block of samples
- _q : Hilbert transform object
- _x : real-valued input array, shape: (2*_n, 1)
- _n : number of output samples
- _y : complex-valued output array, shape: (_n, 1)
int firhilbf_interp_execute(
Execute Hilbert transform interpolator (real to complex)
- _q : Hilbert transform object
- _x : complex-valued input sample
- _y : real-valued output array, shape: (2, 1)
int firhilbf_interp_execute_block(
Execute Hilbert transform interpolator (complex to real) on a block of samples
- _q : Hilbert transform object
- _x : complex-valued input array, shape: (_n, 1)
- _n : number of *input* samples
- _y : real-valued output array, shape: (2*_n, 1)