24 #ifndef DBLDEF_OBSERVED_DATA_NMT2_APPARENT_RESISTIVITY_AND_PHASE
25 #define DBLDEF_OBSERVED_DATA_NMT2_APPARENT_RESISTIVITY_AND_PHASE
63 const std::complex<double>*
const derivativesOfEMFieldExPol,
64 const std::complex<double>*
const derivativesOfEMFieldEyPol,
65 double*
const sensitivityMatrix )
const;
124 bool isUsedImpedanceTensor(
const double phaseObs,
const double phaseError,
const double phaseCalc )
const;
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:36
void outputCalculatedValues() const
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.cpp:729
double * m_PhaseYXObserved
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:81
void inputObservedData(std::ifstream &inFile)
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.cpp:289
void calculateSensitivityMatrix(const double freq, const int nModel, const ObservedDataStationPoint *const ptrStationOfMagneticField, const std::complex< double > *const derivativesOfEMFieldExPol, const std::complex< double > *const derivativesOfEMFieldEyPol, double *const sensitivityMatrix) const
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.cpp:779
int * m_dataIDOfApparentResistivityXY
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:112
~ObservedDataStationNMT2ApparentResistivityAndPhase()
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.cpp:84
double * m_apparentResistivityXYCalculated
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:94
ObservedDataStationNMT2ApparentResistivityAndPhase(const ObservedDataStationNMT2ApparentResistivityAndPhase &rhs)
void initializeApparentResistivityPhaseAndErrors()
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.cpp:518
double * m_PhaseXYObserved
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:80
double * m_PhaseYYResidual
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:109
void calculateResidualVectorOfDataThisPE(const double freq, const int offset, double *vector) const
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.cpp:894
double * m_apparentResistivityXXCalculated
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:93
double * m_PhaseYXCalculated
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:99
double * m_apparentResistivityYYCalculated
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:96
double * m_apparentResistivityXYResidual
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:103
double * m_apparentResistivityXYSD
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:85
bool isUsedImpedanceTensorFromFreqIDs(const int freqIDThisPEInSta, const int iComp) const
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.cpp:998
double * m_apparentResistivityYXObserved
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:77
double * m_apparentResistivityYXSD
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:86
double * m_PhaseXXResidual
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:106
double * m_PhaseYYObserved
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:82
double * m_apparentResistivityYXCalculated
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:95
int * m_dataIDOfPhaseXX
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:115
int * m_dataIDOfPhaseYY
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:118
int * m_dataIDOfApparentResistivityYX
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:113
double * m_PhaseXYSD
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:89
double * m_apparentResistivityXXSD
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:84
void calculateApparentResistivityAndPhase(const double freq, const ObservedDataStationPoint *const ptrStationOfMagneticField, int &icount)
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.cpp:409
double * m_apparentResistivityYYSD
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:87
int * m_dataIDOfApparentResistivityXX
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:111
double * m_apparentResistivityYYObserved
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:78
double * m_PhaseXXSD
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:88
int * m_dataIDOfApparentResistivityYY
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:114
int * m_dataIDOfPhaseYX
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:117
double calcLog10ErrorOfApparentResistivity(const int freqIDGlobalInSta, const int iComp) const
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.cpp:961
double * m_PhaseXXCalculated
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:97
double * m_apparentResistivityYYResidual
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:105
double * m_PhaseYYCalculated
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:100
double * m_PhaseYXSD
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:90
double * m_PhaseXYCalculated
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:98
double * m_PhaseYYSD
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:91
ObservedDataStationNMT2ApparentResistivityAndPhase & operator=(const ObservedDataStationNMT2ApparentResistivityAndPhase &rhs)
bool isUsedImpedanceTensor(const double phaseObs, const double phaseError, const double phaseCalc) const
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.cpp:985
double * m_PhaseYXResidual
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:108
double * m_PhaseXYResidual
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:107
double * m_PhaseXXObserved
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:79
ObservedDataStationNMT2ApparentResistivityAndPhase()
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.cpp:38
void allocateMemoryForCalculatedValues()
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.cpp:545
double * m_apparentResistivityXXObserved
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:75
double * m_apparentResistivityXXResidual
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:102
double * m_apparentResistivityYXResidual
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:104
int * m_dataIDOfPhaseXY
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:116
double calculateErrorSumOfSquaresThisPE() const
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.cpp:941
double * m_apparentResistivityXYObserved
Definition: ObservedDataStationNMT2ApparentResistivityAndPhase.h:76
Definition: ObservedDataStationNMT2.h:37
Definition: ObservedDataStationPoint.h:33