UNIVERS
15.3
UNIVERS base processing software API
|
#include <psc_weights_store.hpp>
Classes | |
struct | WeightPoint |
Public Types | |
typedef std::map< int, Trace::AmplT > | Weights |
Public Member Functions | |
WeightsStore () | |
~WeightsStore () | |
Weights | weights (const Trace::Header::AttrId &attr, const unsigned int corr_dir_mask, const unsigned int stride=1) const |
bool | appendWeight (const Trace &ccf) |
Protected Attributes | |
std::vector< WeightPoint > | m_weights |
Weights of POLYCOR store.
psc::WeightsStore::WeightsStore | ( | ) |
Default constructor.
psc::WeightsStore::~WeightsStore | ( | ) |
Destructor.
bool psc::WeightsStore::appendWeight | ( | const Trace & | ccf | ) |
Append weight form provided CCF. Assume header attributes TA_NSP, TA_NRP, TA_NDP, TA_L, TA_PSC_DIR, TA_PSC_STRIDE are presents.
Weights psc::WeightsStore::weights | ( | const Trace::Header::AttrId & | attr, |
const unsigned int | corr_dir_mask, | ||
const unsigned int | stride = 1 |
||
) | const |
Get average weights for provided header attribute (NSP, NRP, NDP, L), correlation direction mask (ACF|SHOT|RECV|CMP|OFFSET) and stride. Stride has no means for ACF correlation direction.