#include <bpflt.hpp>
|
| typedef std::pair< float, float > | BElem |
| |
| typedef std::vector< BElem > | Band |
| |
|
| virtual bool | filter (std::vector< float > &ls, float dt) const |
| |
| virtual float | coeff (float f) const |
| |
Fiter's (frequency, weight) band element.
| BPFlt::BPFlt |
( |
const Band & |
band | ) |
|
Constructs filter with provided band. Band will be sorted by frequency ascending. And equal values will be removed.
| virtual BPFlt::~BPFlt |
( |
| ) |
|
|
virtual |
| const Band& BPFlt::band |
( |
| ) |
const |
|
inline |
| virtual float BPFlt::coeff |
( |
float |
f | ) |
const |
|
protectedvirtual |
Calculates filter's coefficient for provided frequency. Allways returns 0 if band is empty and returns corresponded weight if band has only one element.
| virtual bool BPFlt::filter |
( |
std::vector< float > & |
ampls, |
|
|
float |
dt |
|
) |
| const |
|
protectedvirtual |
Applies filter for provided signal with dt time step. Returns false on error.
Reimplemented in BPFltPRD.
| bool BPFlt::operator() |
( |
std::vector< float > & |
ampls, |
|
|
float |
dt |
|
) |
| const |
|
inline |
| float BPFlt::operator() |
( |
float |
f | ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- /net/opt/univers/ubp-i-15.3-centos7-x64.urij/include/s2proc/bpflt.hpp