UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Functions
psc Namespace Reference

Classes

class  Accumulator
 
class  Accumulator1st
 
class  Accumulator2nd
 
class  Correlator
 
struct  CorrDirMask
 
class  Solver
 
class  TsContainer
 
class  TsContainer3D
 
class  TsDispersionResidual
 
class  TsOptimizer
 
class  WeightsStore
 

Functions

bool applyStatics (const std::map< int, Trace::TimeT > &shot_st, const std::map< int, Trace::TimeT > &recv_st, Trace &ccfs)
 
bool removeLowFreq (const double sb_size, rbm_smooth::Curve &st_curve)
 
bool selectCCF (const unsigned int dir, const unsigned int stride, const Trace &ccfs)
 
Trace::TimeT getTimeShiftOfMaxValue (const Trace &ccf, Trace::AmplT *pmax_val=NULL)
 
Trace::TimeT getTimeShiftOfMinValue (const Trace &ccf, Trace::AmplT *pmin_val=NULL)
 
bool isZeroTrace (const Trace &tr)
 
double getPartOfZeros (const Trace &tr, Trace::AmplT eps=0.)
 

Detailed Description

PLYCOR statics correction.

Function Documentation

bool psc::applyStatics ( const std::map< int, Trace::TimeT > &  shot_st,
const std::map< int, Trace::TimeT > &  recv_st,
Trace ccfs 
)

Apply statics for provided trace with cross correlations.

Parameters
corr_dir- correlation directions used mask, ACF alltime skipped.
stride- used strides, 0 means all strides.
shot_st- shot based statics.
recv_st- receiver based statics.
ccfs- trace with cross correlations to be processed.
Returns
false on error.
double psc::getPartOfZeros ( const Trace tr,
Trace::AmplT  eps = 0. 
)

Get part of zeros with error of eps for provided trace. For empty trace return 0.

Returns
[0..1] - part of zeros
Trace::TimeT psc::getTimeShiftOfMaxValue ( const Trace ccf,
Trace::AmplT pmax_val = NULL 
)

Gets time shift of maximal value of the trace and sets maximal value if provided.

Trace::TimeT psc::getTimeShiftOfMinValue ( const Trace ccf,
Trace::AmplT pmin_val = NULL 
)

Gets time shift of minimal value of the trace and sets minimal value if provided.

bool psc::isZeroTrace ( const Trace tr)

Does provided trace completely zero.

bool psc::removeLowFreq ( const double  sb_size,
rbm_smooth::Curve st_curve 
)

Remove low frequency from statics curve using sliding base smoothing.

Parameters
sb_size- size of sliding base in term of st_curve[].first coordinate.
st_curve- curve with statics shifts. st_curve[].first - length along curve, st_curve[].second - time shifts.
Returns
false on error.
bool psc::selectCCF ( const unsigned int  dir,
const unsigned int  stride,
const Trace ccfs 
)

Select CCF from provided trace with CCFs inside.

Parameters
dir- direction of correlation (see CorrDirMask).
stride- stride of CCF required, 0 means ACF.
ccfs- trace with CCFs.
Returns
false if no such stride or direction presents.