tvmpch_cccf
Time-varying multipath channel emulation
Public Functions
tvmpch_cccf | tvmpch_cccf_create( |
tvmpch_cccf | tvmpch_cccf_copy( |
int | tvmpch_cccf_destroy( |
int | tvmpch_cccf_reset( |
int | tvmpch_cccf_print( |
int | tvmpch_cccf_push( |
int | tvmpch_cccf_execute( |
int | tvmpch_cccf_execute_one( |
int | tvmpch_cccf_execute_block( |
Interfaces
tvmpch_cccf tvmpch_cccf_create(
Create time-varying multi-path channel emulator object, specifying the number of coefficients, the standard deviation of coefficients, and the coherence time. The larger the standard deviation, the more dramatic the frequency response of the channel. The shorter the coeherent time, the faster the channel effects.
- _n : number of coefficients, 0 < _n
- _std : standard deviation, 0 <= _std
- _tau : normalized coherence time, 0 < _tau < 1
tvmpch_cccf tvmpch_cccf_copy(
Copy object including all internal objects and state
int tvmpch_cccf_destroy(
Destroy channel object, freeing all internal memory
int tvmpch_cccf_reset(
Reset object
int tvmpch_cccf_print(
Print channel object internals to standard output
int tvmpch_cccf_push(
Push sample into emulator
- _q : channel object
- _x : input sample
int tvmpch_cccf_execute(
Compute output sample
- _q : channel object
- _y : output sample
int tvmpch_cccf_execute_one(
Execute filter on one sample, equivalent to push() and execute()
- _q : channel object
- _x : single input sample
- _y : pointer to single output sample
int tvmpch_cccf_execute_block(
Apply channel impairments on a block of samples
- _q : channel object
- _x : input array, shape: (_n, 1)
- _n : input array length
- _y : output array, shape: (_n, 1)