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

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

Detailed Description

Surface seismic traces quality collector for 3D data.

Member Typedef Documentation

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.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

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

Member Data Documentation

Trace::TimeT S2TracesQuality3D::m_max_time_range
protected

Stride value

Quality S2TracesQuality3D::m_quality
protected

< 3D seismic quality. Maximal time range.

int S2TracesQuality3D::m_stride
protected

Pointer to data base access interface.


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