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

Public Member Functions

 Accumulator (S2AbstractDBAccess &dba, S2TracesQuality &TQ, const PSC::PSC_Params &params)
 
bool operator() (std::map< int, PSC::ROW > &recv_rows, std::map< int, PSC::ROW > &shot_rows) const
 

Protected Member Functions

bool form_index_map (PSC::StMode mode, ID_MAP &shots_pair_ids, ID_MAP &recvs_pair_ids) const
 
bool append_indexes (PSC::StMode mode, const std::set< int > &outer_ids, const std::set< int > &inner_ids, bool is_outer_nsp, ID_MAP &result_pair_ids) const
 
bool stack_rows (PSC::StMode mode, PSC::Direction row_dir, const ID_MAP &pair_map, std::map< int, PSC::ROW > &shot_rows, std::map< int, PSC::ROW > &recv_rows) const
 
bool prepare_rows_queue (const ID_MAP &pair_map, int stride, const std::map< int, Trace::AmplT > &rows_weights, std::vector< std::pair< int, int > > &rows_queue) const
 
bool construct_result_rows (PSC::StMode mode, PSC::Direction row_dir, const ID_MAP &pair_map, const std::vector< std::pair< int, int > > &rows_queue, const std::map< int, Trace::AmplT > &rows_weights, const std::map< int, Trace::AmplT > &offset_weights, const std::map< int, Trace::AmplT > &cmps_weights, PSC::ROW &sum_ccf1_row, PSC::ROW &sum_ccf2_row) const
 
bool calculate_row (PSC::StMode mode, PSC::Direction row_dir, int stride, int row_id, const ROW_IDS &row_traces, PSC::ROW &row) const
 
bool stack_row_pair (PSC::ROW &base_row, PSC::ROW &add_row, Trace &ccf2, bool use_inversion, bool stack) const
 
bool get_id_intersection (const ROW_IDS &add_id_pair, const ROW_IDS &base_id_pair, float &intersection) const
 
bool integrate_rows (const PSC::ROWS_MAP &calculated_rows, std::map< int, PSC::ROW > &result_rows) const
 
bool get_base_shift (PSC::Direction row_dir, int row_id, int stride, int &shift) const
 

Protected Attributes

S2AbstractDBAccessmp_adba
 
S2TracesQualitymp_tq
 
PSC::PSC_Params m_params
 

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