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

#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< WeightPointm_weights
 

Detailed Description

Weights of POLYCOR store.

Constructor & Destructor Documentation

psc::WeightsStore::WeightsStore ( )

Default constructor.

psc::WeightsStore::~WeightsStore ( )

Destructor.

Member Function Documentation

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.


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