Brief description of class still missing. More...
#include <RingCouplesProcess.h>
Public Member Functions | |
void | horizontalAutocorr () |
void | init (const RingCouples ¶m, const QList< StationProcessSignals * > stations) |
double | radialAutocorr () const |
double | transverseAutocorr () const |
double | verticalAutocorr () const |
Brief description of class still missing.
Full description of class still missing
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)); } }
double ArrayCore::RingCouplesProcess::radialAutocorr | ( | ) | const |
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; }
double ArrayCore::RingCouplesProcess::transverseAutocorr | ( | ) | const |
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; }
double ArrayCore::RingCouplesProcess::verticalAutocorr | ( | ) | const |
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; }