3 #ifndef __psc_correlator_hpp
4 #define __psc_correlator_hpp
9 #include <dba_seismic.hpp>
10 #include <psc_service.hpp>
11 #include <psc_weights_store.hpp>
13 #include <s2proc/dba_seismic.hpp>
14 #include <s2proc/psc_service.hpp>
15 #include <s2proc/psc_weights_store.hpp>
83 static std::pair<int, int>
gridStep(
const unsigned int dir,
85 const std::pair<int, int> &sp_rp_ids);
90 typedef std::vector< std::pair <unsigned int, unsigned int> >
StrideDirVec;
98 virtual void progress(
const int ,
const int )
const
111 const unsigned int stride,
bool correlate(const StrideDirVec &dir_stride_vec, const dba::Seismic &in_seis_db, const Trace &tr, Trace &ccfs, WeightsStore *pwstore) const
void setParams(const Params ¶ms)
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 ccfSize
Definition: psc_correlator.hpp:48
float OffsetT
Definition: trace.hpp:23
virtual void progress(const int, const int) const
Definition: psc_correlator.hpp:98
float TimeT
Definition: trace.hpp:22
virtual int ccfsTraceSize(const dba::Seismic &in_seis_db) const
int corrDirMask
Definition: psc_correlator.hpp:50
Definition: psc_correlator.hpp:34
std::vector< std::pair< unsigned int, unsigned int > > StrideDirVec
Definition: psc_correlator.hpp:90
Trace::TimeT tSize
Definition: psc_correlator.hpp:47
Definition: psc_weights_store.hpp:21
Trace::TimeT t0
Definition: psc_correlator.hpp:46
Trace::OffsetT offsetsRange[2]
Definition: psc_correlator.hpp:52
Params()
Definition: psc_correlator.hpp:37
unsigned int maxStride
Definition: psc_correlator.hpp:49
float maxZerosPart
Definition: psc_correlator.hpp:51
Definition: psc_service.hpp:24
Correlator(const Params ¶ms)
Definition: psc_correlator.hpp:29
virtual bool operator()(const dba::Seismic &in_seis_db, dba::Seismic &out_seis_db, WeightsStore *pwstore=NULL) const
static std::pair< int, int > gridStep(const unsigned int dir, const int stride, const std::pair< int, int > &sp_rp_ids)
Definition: dba_seismic.hpp:19
Trace::TimeT corr_trace_size() const
const Params & params() const