UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
S2TracesQuality Class Reference

#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 QPgetQP (int nsp, int nrp, PSC::Direction dir, bool *rc=0x0) const
 
const QualitygetQuality () 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
 
S2AbstractDBAccessmp_dba_if
 

Detailed Description

Surface seismic traces quality collector interface.

Member Typedef Documentation

typedef std::map<int, std::map<int, std::map<PSC::Direction, QP> > > S2TracesQuality::Quality

Quality collection. Ids are: TA_NSP, TA_NRP, Direction.

Constructor & Destructor Documentation

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.

Member Function Documentation

static bool S2TracesQuality::calc_qp ( const Trace tr1,
const Trace tr2,
const Trace::TimeT max_time_range,
QP qp 
)
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.

const Quality& S2TracesQuality::getQuality ( ) const
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

Member Data Documentation

Trace::TimeT S2TracesQuality::m_max_time_range
protected

Strat time of correlation window.

Quality S2TracesQuality::m_quality
protected

< 2D seismic quality. Maximal time range.

Trace::TimeT S2TracesQuality::m_start_time
protected

Time length of correlation window.

Trace::TimeT S2TracesQuality::m_time_length
protected

Pointer to data base access interface.


The documentation for this class was generated from the following file: