|
| PolarityWaveDetector (size_t time_base, size_t sb_size, size_t sb_step=1) |
|
bool | appendTracePointer (const Trace &tr) const |
|
bool | setTFB (size_t app_tfb) |
|
void | clear () |
|
bool | operator() (Trace &tr) const |
|
|
static float | calcRatio (const float &E1, const float &E2) |
|
bool PolarityWaveDetector::appendTracePointer |
( |
const Trace & |
tr | ) |
const |
Add new trace pointer to array under process
virtual bool PolarityWaveDetector::calc |
( |
Trace & |
tr | ) |
const |
|
protectedvirtual |
Main calculation method. ATTENTION: only 3-components case is cupported!
Reimplemented from AbstractWaveDetector.
static float PolarityWaveDetector::calcRatio |
( |
const float & |
E1, |
|
|
const float & |
E2 |
|
) |
| |
|
static |
Copy of EnergyWaveDetector::calc_ratio() method
void PolarityWaveDetector::clear |
( |
| ) |
|
Clear inner traces pointers array. Set inner FBT to zero.
bool PolarityWaveDetector::formParamsAr |
( |
PolarityParamsAr & |
| ) |
const |
|
protected |
Calculate polarization parameters array in terms of PolarityParams structures. Contains cycle with sliding base (set by m_sbase) inside whole time window (set by m_time_base).
double PolarityWaveDetector::getAvValue |
( |
size_t |
tr | ) |
const |
|
protected |
Get average value of amplitude for given trace. Time window should be set ealier.
bool PolarityWaveDetector::getMatrix |
( |
LaGenMatDouble & |
matrix | ) |
const |
|
protected |
Form 3x3 matrix for given traces set, based on displacements values in different components. Time window should be set ealier. Eigen values of this matrix define polarization parameters.
double PolarityWaveDetector::getMatrixItem |
( |
size_t |
tr1, |
|
|
size_t |
tr2 |
|
) |
| const |
|
protected |
Calculate item of 3x3 matrix for two given indexes (traces with different components). Time window should be set ealier.
Calculate polarization parameters for given traces set. Time window should be set ealier.
Calculate polarization parameters for current traces set in given time window. Time window is defined for traces array by Trace::set_window() method, so methods below do not know anything about it and work with traces themselves.
Interpolate polarization parameters for given time window
bool PolarityWaveDetector::setTFB |
( |
size_t |
app_tfb | ) |
|
Set starting time of processed window for current traces set. Default value = 0.
bool PolarityWaveDetector::m_ready |
|
protected |
Object correct initialization state
size_t PolarityWaveDetector::m_sb_step |
|
protected |
Step (samples count) of sliding base
size_t PolarityWaveDetector::m_sbase |
|
protected |
Length (samples count) of sliding base
size_t PolarityWaveDetector::m_tfb |
|
protected |
Starting time (sample id) of processed traces time window
size_t PolarityWaveDetector::m_time_base |
|
protected |
Length (samples count) of processed time window
std::vector<const Trace*> PolarityWaveDetector::m_traces |
|
mutableprotected |
The documentation for this class was generated from the following file: