UNIVERS
15.3
UNIVERS base processing software API
|
#include <s2_traces_quality.hpp>
Classes | |
struct | QP |
Public Types | |
typedef std::map< int, std::map< int, std::map < PSC::Direction, QP > > > | Quality |
Public Member Functions | |
S2TracesQuality (const S2AbstractDBAccess &dba_if, const Trace::TimeT &max_time_range, const Trace::TimeT &start_time, const Trace::TimeT &time_length) | |
~S2TracesQuality () | |
bool | fill () |
const QP & | getQP (int nsp, int nrp, PSC::Direction dir, bool *rc=0x0) const |
const Quality & | getQuality () const |
bool | getWeightsDistribution (PSC::Direction dir, std::map< int, Trace::AmplT > &weights) const |
Static Public Member Functions | |
static bool | calc_qp (const Trace &tr1, const Trace &tr2, const Trace::TimeT &max_time_range, QP &qp) |
Protected Attributes | |
Quality | m_quality |
Trace::TimeT | m_max_time_range |
Trace::TimeT | m_start_time |
Trace::TimeT | m_time_length |
S2AbstractDBAccess * | mp_dba_if |
Surface seismic traces quality collector interface.
typedef std::map<int, std::map<int, std::map<PSC::Direction, QP> > > S2TracesQuality::Quality |
Quality collection. Ids are: TA_NSP, TA_NRP, Direction.
S2TracesQuality::S2TracesQuality | ( | const S2AbstractDBAccess & | dba_if, |
const Trace::TimeT & | max_time_range, | ||
const Trace::TimeT & | start_time, | ||
const Trace::TimeT & | time_length | ||
) |
Default constructor with DB access interface and maximal time range provided.
S2TracesQuality::~S2TracesQuality | ( | ) |
Destructs object.
|
static |
Calc quality point for provided trace using CCF. Returns false on error.
bool S2TracesQuality::fill | ( | ) |
Fill internal array of correlations.
const QP& S2TracesQuality::getQP | ( | int | nsp, |
int | nrp, | ||
PSC::Direction | dir, | ||
bool * | rc = 0x0 |
||
) | const |
Gets quality point for provided NSP id, NRP id and direction. Flag rc (if provided) will be false for absentee in collection indexies.
|
inline |
Gets the whole quality.
bool S2TracesQuality::getWeightsDistribution | ( | PSC::Direction | dir, |
std::map< int, Trace::AmplT > & | weights | ||
) | const |
Gets weights distribution sorted by averaged max_pos values descending along provided direction avg_dir shift along grid is determined by shift_dir
|
protected |
Strat time of correlation window.
|
protected |
< 2D seismic quality. Maximal time range.
|
protected |
Time length of correlation window.
|
protected |
Pointer to data base access interface.