GPLIB++
|
Stores MT-Tensor components at a single frequency, calculates derived quantities. More...
#include <MTTensor.h>
Public Member Functions | |
double | GetdZero () const |
Function for Errors that cannot be calculated analytically when we don't want Jacknife errors. More... | |
void | SetErrors (double dxx, double dxy, double dyx, double dyy) |
Set the errors for the impedance elements. More... | |
void | Rotate (double angle) |
Rotate by the given angle in radian. More... | |
double | GetRotangle () const |
!return the current angle in radian More... | |
double & | SetRotangle () |
Set the rotation angle, without performing the corresponding rotation. More... | |
double | GetFrequency () const |
Get the frequency for the impedance. More... | |
std::complex< double > | GetZyy () const |
Return tensor elements. More... | |
std::complex< double > | GetZxx () const |
std::complex< double > | GetZxy () const |
std::complex< double > | GetZyx () const |
std::complex< double > & | SetZyy () |
Write access to tensor elements. More... | |
std::complex< double > & | SetZxx () |
std::complex< double > & | SetZxy () |
std::complex< double > & | SetZyx () |
double | GetdZxx () const |
Return tensor element errors. More... | |
double | GetdZxy () const |
double | GetdZyx () const |
double | GetdZyy () const |
double & | SetdZyy () |
Write access to errors. More... | |
double & | SetdZxx () |
double & | SetdZxy () |
double & | SetdZyx () |
double | GetRhoxx () const |
Return apparent resistivity. More... | |
double | GetRhoxy () const |
double | GetRhoyx () const |
double | GetRhoyy () const |
double | GetPhixx () const |
Return phase. More... | |
double | GetPhixy () const |
double | GetPhiyx () const |
double | GetPhiyy () const |
double | GetPhi90xx () const |
Return phase restricted to 0 to 90 degree range. More... | |
double | GetPhi90xy () const |
double | GetPhi90yx () const |
double | GetPhi90yy () const |
double | GetdRhoxx () const |
Return Rho Error for tensor elements. More... | |
double | GetdRhoxy () const |
double | GetdRhoyx () const |
double | GetdRhoyy () const |
double | GetdPhixx () const |
return phase error for tensor elements More... | |
double | GetdPhixy () const |
double | GetdPhiyx () const |
double | GetdPhiyy () const |
double | GetRhoxxStar () const |
Return Schmucker's rho* for tensor elements. More... | |
double | GetRhoxyStar () const |
double | GetRhoyxStar () const |
double | GetRhoyyStar () const |
double | GetZxxStar () const |
Return Schmucker's z* for tensor elements. More... | |
double | GetZxyStar () const |
double | GetZyxStar () const |
double | GetZyyStar () const |
std::complex< double > | GetS1 () const |
Some invariants and intermediate quantities for strike and skew calculation. More... | |
std::complex< double > | GetS2 () const |
std::complex< double > | GetD1 () const |
std::complex< double > | GetD2 () const |
std::complex< double > | GetBerd () const |
The Berdichevskyi invariant. More... | |
double | GetdBerd () const |
The error of the Berdichevskyi invariant. More... | |
double | GetRhoBerd () const |
double | GetPhi90Berd () const |
double | GetdRhoBerd () const |
double | GetdPhi90Berd () const |
std::complex< double > | GetDet () const |
The determinant. More... | |
double | GetdDet () const |
The error of the determinant. More... | |
double | GetDetreal () const |
The determinant of the real parts of Z. More... | |
double | GetdDetreal () const |
Get the error of the determinant of the real part. More... | |
double | GetMu () const |
Rotationally invariant phase difference. More... | |
double | GetKappa () const |
Swift's skew. More... | |
double | GetSigma () const |
double | GetEta () const |
Bahr's skew. More... | |
double | GetAlpha () const |
double | GetAlphaHigh () const |
Calculate strike angle, so it points to high conductivity direction (Phixy > Phiyx) More... | |
double | GetMaxPhiDiff () const |
Maximum phase difference. More... | |
double | GetPhi11 () const |
All the following quantities are defined in Caldwell GJI 158, 457-469, the phase tensor elements. More... | |
double | GetPhi12 () const |
double | GetPhi21 () const |
double | GetPhi22 () const |
double | GetAlpha_phi () const |
double | GetBeta_phi () const |
double | GetPi1 () const |
double | GetPi2 () const |
double | GetPhiStrike () const |
double | GetPhiMax () const |
double | GetPhiMin () const |
double | GettrPhi () const |
double | GetskPhi () const |
double | GetdetPhi () const |
double | GetPhi1 () const |
double | GetPhi2 () const |
double | GetPhi2Sq () const |
double | GetPhi3 () const |
double | GetPhiEllip () const |
double | GetXi1 () const |
double | GetXi2 () const |
double | GetXi3 () const |
double | GetXi4 () const |
double | GetEta1 () const |
double | GetEta2 () const |
double | GetEta3 () const |
double | GetEta4 () const |
double | GetI1 () const |
double | GetI2 () const |
double | GetI3 () const |
double | GetI4 () const |
double | GetI5 () const |
double | GetI6 () const |
double | Getd13 () const |
double | Getd12 () const |
double | Getd24 () const |
double | Getd34 () const |
double | Getd41 () const |
double | Getd23 () const |
double | GetQ () const |
double | GetI7 () const |
double | Geta () const |
double | Getb () const |
double | Getr () const |
double | GetRx () const |
Return coherency for the x-direction. More... | |
double | GetRy () const |
Return coherency for the y-direction. More... | |
double | GetNu () const |
The degrees of freedom used for transfer function estimation. More... | |
MTTensor () | |
MTTensor (const std::complex< double > &xx, const std::complex< double > &xy, const std::complex< double > &yx, const std::complex< double > &yy, const double freq=1., const double angle=0.0) | |
MTTensor & | operator= (const MTTensor &source) |
virtual | ~MTTensor () |
Friends | |
class | MTStation |
class | C1DMTSynthData |
class | JParser |
class | EDIParser |
Stores MT-Tensor components at a single frequency, calculates derived quantities.
This class stores the elements of the MT impedance tensor together with their error estimates and rotation angle. Impedances are stored in field units, i.e. km/s and the rotation angle in radian.
Definition at line 16 of file MTTensor.h.
gplib::MTTensor::MTTensor | ( | ) |
Definition at line 5 of file MTTensor.cpp.
gplib::MTTensor::MTTensor | ( | const std::complex< double > & | xx, |
const std::complex< double > & | xy, | ||
const std::complex< double > & | yx, | ||
const std::complex< double > & | yy, | ||
const double | freq = 1. , |
||
const double | angle = 0.0 |
||
) |
Definition at line 11 of file MTTensor.cpp.
|
virtual |
Definition at line 38 of file MTTensor.cpp.
|
inline |
Definition at line 618 of file MTTensor.h.
|
inline |
Definition at line 393 of file MTTensor.h.
References GetD1(), GetD2(), GetS1(), and GetS2().
Referenced by GetAlphaHigh(), GetMaxPhiDiff(), and gplib::SetupMTFitParameters().
|
inline |
Definition at line 454 of file MTTensor.h.
References GetPhi11(), GetPhi12(), GetPhi21(), and GetPhi22().
Referenced by GetPhiStrike(), and gplib::SetupMTFitParameters().
|
inline |
Calculate strike angle, so it points to high conductivity direction (Phixy > Phiyx)
Definition at line 405 of file MTTensor.h.
References GetAlpha(), GetPhixy(), GetPhiyx(), and Rotate().
|
inline |
Definition at line 622 of file MTTensor.h.
|
inline |
The Berdichevskyi invariant.
Definition at line 322 of file MTTensor.h.
References GetD2().
Referenced by GetdPhi90Berd(), GetdRhoBerd(), GetPhi90Berd(), GetRhoBerd(), and gplib::SetupMTFitParameters().
|
inline |
Definition at line 462 of file MTTensor.h.
References GetPhi11(), GetPhi12(), GetPhi21(), and GetPhi22().
Referenced by GetPhiStrike(), and gplib::SetupMTFitParameters().
|
inline |
Definition at line 313 of file MTTensor.h.
Referenced by GetAlpha(), GetEta(), GetMu(), and GetSigma().
|
inline |
|
inline |
|
inline |
Definition at line 317 of file MTTensor.h.
Referenced by GetAlpha(), GetBerd(), GetEta(), GetKappa(), GetMu(), and GetSigma().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
The error of the Berdichevskyi invariant.
Definition at line 327 of file MTTensor.h.
Referenced by GetdPhi90Berd(), GetdRhoBerd(), and gplib::SetupMTFitParameters().
|
inline |
The error of the determinant.
Definition at line 353 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Get the error of the determinant of the real part.
Definition at line 365 of file MTTensor.h.
|
inline |
The determinant.
Definition at line 348 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Definition at line 497 of file MTTensor.h.
References GetPhi11(), GetPhi12(), GetPhi21(), and GetPhi22().
Referenced by GetPhi2(), and GetPhi2Sq().
|
inline |
The determinant of the real parts of Z.
Definition at line 360 of file MTTensor.h.
Referenced by GetPhi11(), GetPhi12(), GetPhi21(), and GetPhi22().
|
inline |
Definition at line 343 of file MTTensor.h.
References GetBerd(), and GetdBerd().
|
inline |
return phase error for tensor elements
Definition at line 254 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Definition at line 258 of file MTTensor.h.
Referenced by gplib::C1DMTObjective::C1DMTObjective(), and gplib::SetupMTFitParameters().
|
inline |
Definition at line 262 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Definition at line 266 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Definition at line 339 of file MTTensor.h.
References GetBerd(), and GetdBerd().
|
inline |
Return Rho Error for tensor elements.
Definition at line 237 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Definition at line 241 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Definition at line 245 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Definition at line 249 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Function for Errors that cannot be calculated analytically when we don't want Jacknife errors.
Definition at line 88 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Return tensor element errors.
Definition at line 152 of file MTTensor.h.
Referenced by PrintComponent(), and gplib::MTStation::WriteAsJ().
|
inline |
Definition at line 156 of file MTTensor.h.
Referenced by PrintComponent(), and gplib::MTStation::WriteAsJ().
|
inline |
Definition at line 160 of file MTTensor.h.
Referenced by PrintComponent(), and gplib::MTStation::WriteAsJ().
|
inline |
Definition at line 164 of file MTTensor.h.
Referenced by PrintComponent(), and gplib::MTStation::WriteAsJ().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get the frequency for the impedance.
Definition at line 113 of file MTTensor.h.
Referenced by gplib::MTSampleGenerator::operator()(), gplib::PTensorMTStation::operator=(), PrintRhosZs(), and WriteToFile().
|
inline |
|
inline |
|
inline |
Definition at line 562 of file MTTensor.h.
|
inline |
Definition at line 566 of file MTTensor.h.
|
inline |
|
inline |
|
inline |
Definition at line 614 of file MTTensor.h.
|
inline |
|
inline |
Maximum phase difference.
Definition at line 415 of file MTTensor.h.
References GetAlpha(), GetPhixy(), GetPhiyx(), and Rotate().
|
inline |
|
inline |
The degrees of freedom used for transfer function estimation.
Definition at line 646 of file MTTensor.h.
|
inline |
Definition at line 501 of file MTTensor.h.
References GettrPhi().
|
inline |
All the following quantities are defined in Caldwell GJI 158, 457-469, the phase tensor elements.
Definition at line 422 of file MTTensor.h.
References GetDetreal().
Referenced by GetAlpha_phi(), GetBeta_phi(), GetdetPhi(), GetPi1(), GetPi2(), GettrPhi(), gplib::PTensorMTStation::operator=(), gplib::PTensor1DMTObjective::SafeParallel(), and gplib::SetupMTFitParameters().
|
inline |
Definition at line 430 of file MTTensor.h.
References GetDetreal().
Referenced by GetAlpha_phi(), GetBeta_phi(), GetdetPhi(), GetPi1(), GetPi2(), GetskPhi(), gplib::PTensorMTStation::operator=(), gplib::PTensor1DMTObjective::SafeParallel(), and gplib::SetupMTFitParameters().
|
inline |
Definition at line 505 of file MTTensor.h.
References GetdetPhi().
|
inline |
Definition at line 438 of file MTTensor.h.
References GetDetreal().
Referenced by GetAlpha_phi(), GetBeta_phi(), GetdetPhi(), GetPi1(), GetPi2(), GetskPhi(), gplib::PTensorMTStation::operator=(), gplib::PTensor1DMTObjective::SafeParallel(), and gplib::SetupMTFitParameters().
|
inline |
Definition at line 446 of file MTTensor.h.
References GetDetreal().
Referenced by GetAlpha_phi(), GetBeta_phi(), GetdetPhi(), GetPi1(), GetPi2(), GettrPhi(), gplib::PTensorMTStation::operator=(), gplib::PTensor1DMTObjective::SafeParallel(), and gplib::SetupMTFitParameters().
|
inline |
Definition at line 509 of file MTTensor.h.
References GetdetPhi().
|
inline |
Definition at line 513 of file MTTensor.h.
References GetskPhi().
|
inline |
Definition at line 335 of file MTTensor.h.
References GetBerd().
|
inline |
Return phase restricted to 0 to 90 degree range.
Definition at line 220 of file MTTensor.h.
|
inline |
Definition at line 224 of file MTTensor.h.
|
inline |
Definition at line 228 of file MTTensor.h.
|
inline |
Definition at line 232 of file MTTensor.h.
|
inline |
Definition at line 517 of file MTTensor.h.
References GetPhiMax(), and GetPhiMin().
|
inline |
Definition at line 481 of file MTTensor.h.
References GetPi1(), and GetPi2().
Referenced by GetPhiEllip(), and gplib::SetupMTFitParameters().
|
inline |
Definition at line 485 of file MTTensor.h.
References GetPi1(), and GetPi2().
Referenced by GetPhiEllip(), and gplib::SetupMTFitParameters().
|
inline |
Definition at line 477 of file MTTensor.h.
References GetAlpha_phi(), and GetBeta_phi().
|
inline |
Return phase.
Definition at line 203 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Definition at line 207 of file MTTensor.h.
Referenced by gplib::C1DMTObjective::C1DMTObjective(), GetAlphaHigh(), GetMaxPhiDiff(), and gplib::SetupMTFitParameters().
|
inline |
Definition at line 211 of file MTTensor.h.
Referenced by GetAlphaHigh(), GetMaxPhiDiff(), and gplib::SetupMTFitParameters().
|
inline |
Definition at line 215 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Definition at line 467 of file MTTensor.h.
References GetPhi11(), GetPhi12(), GetPhi21(), and GetPhi22().
Referenced by GetPhiMax(), and GetPhiMin().
|
inline |
Definition at line 472 of file MTTensor.h.
References GetPhi11(), GetPhi12(), GetPhi21(), and GetPhi22().
Referenced by GetPhiMax(), and GetPhiMin().
|
inline |
|
inline |
Definition at line 627 of file MTTensor.h.
|
inline |
Definition at line 331 of file MTTensor.h.
References GetBerd().
|
inline |
Return apparent resistivity.
Definition at line 186 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Return Schmucker's rho* for tensor elements.
Definition at line 271 of file MTTensor.h.
|
inline |
Definition at line 190 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Definition at line 275 of file MTTensor.h.
Referenced by PrintRhosZs().
|
inline |
Definition at line 194 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Definition at line 279 of file MTTensor.h.
Referenced by PrintRhosZs().
|
inline |
Definition at line 198 of file MTTensor.h.
Referenced by gplib::SetupMTFitParameters().
|
inline |
Definition at line 283 of file MTTensor.h.
|
inline |
!return the current angle in radian
Definition at line 103 of file MTTensor.h.
|
inline |
Return coherency for the x-direction.
Definition at line 636 of file MTTensor.h.
|
inline |
Return coherency for the y-direction.
Definition at line 641 of file MTTensor.h.
|
inline |
Some invariants and intermediate quantities for strike and skew calculation.
Definition at line 305 of file MTTensor.h.
Referenced by GetAlpha(), GetEta(), GetKappa(), and GetMu().
|
inline |
Definition at line 309 of file MTTensor.h.
Referenced by GetAlpha(), GetEta(), GetMu(), and GetSigma().
|
inline |
Definition at line 382 of file MTTensor.h.
|
inline |
Definition at line 493 of file MTTensor.h.
References GetPhi12(), and GetPhi21().
Referenced by GetPhi3().
|
inline |
Definition at line 489 of file MTTensor.h.
References GetPhi11(), and GetPhi22().
Referenced by GetPhi1().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 122 of file MTTensor.h.
Referenced by gplib::CalcS1(), PrintComponent(), and gplib::MTStation::WriteAsJ().
|
inline |
Return Schmucker's z* for tensor elements.
Definition at line 288 of file MTTensor.h.
|
inline |
Definition at line 126 of file MTTensor.h.
Referenced by PrintComponent(), and gplib::MTStation::WriteAsJ().
|
inline |
Definition at line 292 of file MTTensor.h.
Referenced by PrintRhosZs().
|
inline |
Definition at line 130 of file MTTensor.h.
Referenced by PrintComponent(), and gplib::MTStation::WriteAsJ().
|
inline |
Definition at line 296 of file MTTensor.h.
Referenced by PrintRhosZs().
|
inline |
Return tensor elements.
Definition at line 118 of file MTTensor.h.
Referenced by gplib::CalcS1(), PrintComponent(), and gplib::MTStation::WriteAsJ().
|
inline |
Definition at line 300 of file MTTensor.h.
Definition at line 19 of file MTTensor.cpp.
void gplib::MTTensor::Rotate | ( | double | angle | ) |
Rotate by the given angle in radian.
Definition at line 42 of file MTTensor.cpp.
Referenced by GetAlphaHigh(), and GetMaxPhiDiff().
|
inline |
Definition at line 173 of file MTTensor.h.
|
inline |
Definition at line 177 of file MTTensor.h.
|
inline |
Definition at line 181 of file MTTensor.h.
|
inline |
Write access to errors.
Definition at line 169 of file MTTensor.h.
|
inline |
Set the errors for the impedance elements.
Definition at line 93 of file MTTensor.h.
|
inline |
Set the rotation angle, without performing the corresponding rotation.
Definition at line 108 of file MTTensor.h.
|
inline |
Definition at line 139 of file MTTensor.h.
|
inline |
Definition at line 143 of file MTTensor.h.
|
inline |
Definition at line 147 of file MTTensor.h.
|
inline |
Write access to tensor elements.
Definition at line 135 of file MTTensor.h.
|
friend |
Definition at line 651 of file MTTensor.h.
|
friend |
Definition at line 653 of file MTTensor.h.
|
friend |
Definition at line 652 of file MTTensor.h.
|
friend |
Definition at line 650 of file MTTensor.h.