UNIVERS
15.3
UNIVERS base processing software API
|
#include <cuda_bpflt_calc_block.hpp>
Public Types | |
typedef std::pair< float, float > | BElem |
typedef std::vector< BElem > | Band |
Public Member Functions | |
CUBPFCalcBlock (const dcf::Manager &manager, const Band &band) | |
virtual | ~CUBPFCalcBlock () |
void | setSignal (std::vector< float > *pampls, float dt, size_t n=1) |
virtual void | start () |
Public Member Functions inherited from dcf::CalcBlock | |
CalcBlock (const dcf::Manager &manager) | |
CalcBlock (const dcf::CalcBlock &cb) | |
virtual | ~CalcBlock () |
virtual void | stop () |
virtual void | wait () |
virtual bool | running () const |
const dcf::Manager * | manager () const |
dcf::error_t | resultCode () |
Protected Member Functions | |
virtual void | run () |
Protected Attributes | |
Band | m_band |
std::vector< float > * | m_pampls |
size_t | m_n |
float | m_dt |
Protected Attributes inherited from dcf::CalcBlock | |
dcf::Manager * | m_manager |
dcf::error_t | m_result_code |
Band-pass filter which uses CUDA library. Any unit should be allocated before calculations.
typedef std::vector<BElem> dcf::CUBPFCalcBlock::Band |
Filter's band.
typedef std::pair<float, float> dcf::CUBPFCalcBlock::BElem |
Fiter's (frequency, weight) band element.
dcf::CUBPFCalcBlock::CUBPFCalcBlock | ( | const dcf::Manager & | manager, |
const Band & | band | ||
) |
Constructs object with DCF manager provided.
Band will be sorted by frequency ascending. And equal values will be removed.
|
virtual |
Destructor
|
protectedvirtual |
Main calculation method.
Reimplemented from dcf::CalcBlock.
|
inline |
Sets a pointer to the amplitudes to be processed
and sets discretization step. By default the only one signal is implyed, but n signals provided otherwise.
|
virtual |
Starting filter.
Reimplemented from dcf::CalcBlock.
|
protected |
Band of filter.
|
protected |
Discretization step.
|
protected |
Number of signals in array.
|
protected |
Amplitudes pointer.