UNIVERS
15.3
UNIVERS base processing software API
|
#include <psc_correlator.hpp>
Classes | |
struct | Params |
Public Member Functions | |
Correlator (const Params ¶ms) | |
virtual | ~Correlator () |
virtual bool | operator() (const dba::Seismic &in_seis_db, dba::Seismic &out_seis_db, WeightsStore *pwstore=NULL) const |
virtual int | ccfsTraceSize (const dba::Seismic &in_seis_db) const |
const Params & | params () const |
void | setParams (const Params ¶ms) |
Static Public Member Functions | |
static std::pair< int, int > | gridStep (const unsigned int dir, const int stride, const std::pair< int, int > &sp_rp_ids) |
Protected Types | |
typedef std::vector< std::pair < unsigned int, unsigned int > > | StrideDirVec |
Protected Member Functions | |
virtual void | progress (const int, const int) const |
bool | correlate (const StrideDirVec &dir_stride_vec, const dba::Seismic &in_seis_db, const Trace &tr, Trace &ccfs, WeightsStore *pwstore) const |
bool | calc_ccf (const int corr_dir, const unsigned int stride, const dba::Seismic &in_seis_db, const Trace &tr, Trace &ccfs) const |
Trace::TimeT | corr_trace_size () const |
int | corr_trace_size (const dba::Seismic &in_seis_db) const |
Protected Attributes | |
Params | m_params |
Provides first order correlations for surface seismic data. Used indexies are: NSP, NRP. For COMPLETE_2D directions mask CCFs packed as: ACF SHOT RECV CMP OFFSET SHOT RECV CMP OFFSET |--—||--—|--—|--—|--—|| ... ||--—|--—|--—|--—||—>t stride=1 stride=N
|
protected |
< Vector of pairs <correlation direction, stride> Current parameters.
psc::Correlator::Correlator | ( | const Params & | params | ) |
Constructs correlator with parameters provided.
|
virtual |
Destructs object.
|
protected |
Calc CCF
|
virtual |
Size of cross correlation functions trace in samples, <0 on error.
|
protected |
Resulted correlation trace size in ms.
|
protected |
Determine size of one correlation function. Return < 0 on error.
|
protected |
Calc correlations for provided trace.
|
static |
Update provided indexies of shot and receiver using direction and stride.
Return indexies updated.
|
virtual |
Calculate field of CCFs with current parameters.
Weights store will be updated if provided. Returns false on error.
const Params& psc::Correlator::params | ( | ) | const |
Get current parameters.
|
inlineprotectedvirtual |
Progress of calculations.
void psc::Correlator::setParams | ( | const Params & | params | ) |
Set parameters. Return true if parameters is correct, otherwise return false.