UNIVERS
15.3
UNIVERS base processing software API
|
#include <s2_traces_quality_3d.hpp>
Public Types | |
typedef std::map< int, std::map< int, std::map< int, std::map< int, std::map < PSC::Direction, S2TracesQuality::QP > > > > > | Quality |
Public Member Functions | |
S2TracesQuality3D (const S2AbstractDBAccess &dba_if, const Trace::TimeT &max_time_range, int stride) | |
~S2TracesQuality3D () | |
bool | append (const Trace &tr) |
const S2TracesQuality::QP & | getQP (int nsl, int nss, int nrl, int nrs, PSC::Direction dir, bool *rc=0x0) const |
const Quality & | getQuality () const |
bool | getWeightsDistribution (PSC::Direction avg_dir, PSC::Direction shift_dir, std::multimap< Trace::AmplT, std::pair< int, int > > &weights) const |
Protected Attributes | |
Quality | m_quality |
Trace::TimeT | m_max_time_range |
int | m_stride |
S2AbstractDBAccess * | mp_dba_if |
Surface seismic traces quality collector for 3D data.
typedef std::map<int, std::map<int, std::map<int, std::map<int, std::map<PSC::Direction, S2TracesQuality::QP> > > > > S2TracesQuality3D::Quality |
Quality collection. Ids are: TA_NSL, TA_NSS, TA_NRL, TA_NRS, Direction.
S2TracesQuality3D::S2TracesQuality3D | ( | const S2AbstractDBAccess & | dba_if, |
const Trace::TimeT & | max_time_range, | ||
int | stride | ||
) |
Default constructor with DB access interface, maximal time range and stride provided.
S2TracesQuality3D::~S2TracesQuality3D | ( | ) |
Destructs object.
bool S2TracesQuality3D::append | ( | const Trace & | tr | ) |
Appends new trace for quality determination. TA_NSL, TA_NSS, TA_NRL and TA_NRS has to be defined inside header of the trace. Returns false on error.
const S2TracesQuality::QP& S2TracesQuality3D::getQP | ( | int | nsl, |
int | nss, | ||
int | nrl, | ||
int | nrs, | ||
PSC::Direction | dir, | ||
bool * | rc = 0x0 |
||
) | const |
Gets quality point for provided NSL, NSS, NRL, NRS ids and direction. Flag rc (if provided) will be false for absentee in collection indexies.
|
inline |
Gets the whole quality.
bool S2TracesQuality3D::getWeightsDistribution | ( | PSC::Direction | avg_dir, |
PSC::Direction | shift_dir, | ||
std::multimap< Trace::AmplT, std::pair< int, int > > & | 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 avg_dir is equal to PSC::SP_LINE for shots or RP_LINE for recvs shift_dir is equal to PSC::SL_LINE/PSC::SS_LINE for shots or PSC::RL_LINE/RS_LINE for recvs
|
protected |
Stride value
|
protected |
< 3D seismic quality. Maximal time range.
|
protected |
Pointer to data base access interface.