All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions
ArrayCore::RingCouplesProcess Class Reference

Brief description of class still missing. More...

#include <RingCouplesProcess.h>

List of all members.

Public Member Functions

void horizontalAutocorr ()
void init (const RingCouples &param, const QList< StationProcessSignals * > stations)
double radialAutocorr () const
double transverseAutocorr () const
double verticalAutocorr () const

Detailed Description

Brief description of class still missing.

Full description of class still missing


Member Function Documentation

References TRACE.

Referenced by SPACLoopTask::run().

{
  TRACE;
  for(QVector<StationCoupleProcess>::iterator it=_couples.begin(); it!=_couples.end(); ++it) {
    it->horizontalAutocorr();
  }
}
void ArrayCore::RingCouplesProcess::init ( const RingCouples param,
const QList< StationProcessSignals * >  stations 
)

Description of constructor still missing

References TRACE, and ArrayCore::RingCouples::weight().

{
  TRACE;
  int nCouples=param.count();
  _couples.resize(nCouples);
  for(int i=0; i<nCouples; i++ ) {
    _couples[i].setStations(param.at(i), stations);
    _couples[i].setAzimuth(param.at(i)->azimuth());
    _couples[i].setWeight(param.weight(i));
  }
}

Calculate the cross correlation weighted average on the ring for radial components

References TRACE.

Referenced by SPACLoopTask::run().

{
  TRACE;
  double autocorr=0.0;
  double power=0.0;
  for(QVector<StationCoupleProcess>::const_iterator it=_couples.begin(); it!=_couples.end(); ++it) {
    autocorr += it->radialAutocorr();
    power +=it->radialPower();
  }
  return autocorr/power;
}

Calculate the cross correlation weighted average on the ring for transverse components

References TRACE.

Referenced by SPACLoopTask::run().

{
  TRACE;
  double autocorr=0.0;
  double power=0.0;
  for(QVector<StationCoupleProcess>::const_iterator it=_couples.begin(); it!=_couples.end(); ++it) {
    autocorr += it->transverseAutocorr();
    power +=it->transversePower();
  }
  return autocorr/power;
}

Calculate the cross correlation weighted average on the ring for vertical components

References TRACE.

Referenced by SPACLoopTask::run().

{
  TRACE;
  double autocorr=0.0;
  for(QVector<StationCoupleProcess>::const_iterator it=_couples.begin(); it!=_couples.end();it++) {
    autocorr += it->verticalAutocorr();
  }
  return autocorr/180.0;
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines