autocorr_cccf
Variants: autocorr_cccf, autocorr_rrrf
Computes auto-correlation with a fixed lag on input signals
Public Functions
autocorr_cccf | autocorr_cccf_create( |
int | autocorr_cccf_destroy( |
int | autocorr_cccf_reset( |
int | autocorr_cccf_print( |
int | autocorr_cccf_push( |
int | autocorr_cccf_write( |
int | autocorr_cccf_execute( |
int | autocorr_cccf_execute_block( |
float | autocorr_cccf_get_energy( |
Interfaces
autocorr_cccf autocorr_cccf_create(
Create auto-correlator object with a particular window length and delay
- _window_size : size of the correlator window
- _delay : correlator delay [samples]
int autocorr_cccf_destroy(
Destroy auto-correlator object, freeing internal memory
int autocorr_cccf_reset(
Reset auto-correlator object's internals
int autocorr_cccf_print(
Print auto-correlator parameters to stdout
int autocorr_cccf_push(
Push sample into auto-correlator object
- _q : auto-correlator object
- _x : single input sample
int autocorr_cccf_write(
Write block of samples to auto-correlator object
- _q : auto-correlation object
- _x : input array, shape: (_n, 1)
- _n : number of input samples
int autocorr_cccf_execute(
Compute single auto-correlation output
- _q : auto-correlator object
- _rxx : auto-correlated output
int autocorr_cccf_execute_block(
Compute auto-correlation on block of samples; the input and output arrays may have the same pointer
- _q : auto-correlation object
- _x : input array, shape: (_n, 1)
- _n : number of input, output samples
- _rxx : input array, shape: (_n, 1)
float autocorr_cccf_get_energy(
return sum of squares of buffered samples