MT data analysis, processing and inversion

This header file provides some function to calculate phase tensor quantities that are used in MTTensor and PTensorMTData. More...

Classes

class  ThreeDMTModel
 The class 3DMTModel manages 3D models for magnetotelluric model calculations, at this point this is only for file management and plotting purposes. More...
class  MagneticTF
 Store th local magnetic transfer function (tipper). More...
class  MTDataComp
class  MTStation
 The class MTStation is used to store the transfer functions and related information for a MT-site. More...
class  MTStationList
 MTStationList holds a number of MTSites, usually associated with a single project, line, etc. More...
class  MTTensor
 Stores MT-Tensor components at a single frequency, calculates derived quantities. More...
class  PTensorMTData
 This class is for the special case where we only have phase tensor data and errors, but not the full impedance. More...
class  PTensorMTStation
class  BirrpAsciiFormat
 BirrpAsciiFormat reads and stores MT data in the ascii format used by the birrp processing software. More...
class  CsvFormat
 This class reads and writes data from Comma Separated Files CSV as produced by Excel etc. this particular flavour. More...
class  LemiTsFormat
 Read and write ascii files produced by the LEMI instruments. More...
class  MtuFilter
class  MtuFormat
 Read and write phoenix mtu binary files. More...
class  TimeSeries
 This class is the base class for all classes dealing with MT time series. More...
class  TimeSeriesData
 TimeSeriesData stores a pointer to the different components of magnetotelluric data and provides functions to read and write it to files. More...

Typedefs

typedef std::vector< MTStationtStationList
typedef std::vector< std::pair
< MTStation *, MTStation * > > 
tStatSyncPair

Enumerations

enum  ttsdatatype {
  tsunknown, mtu, birrp, csv,
  lemi
}
 ttsdatatype is used to store the source the data was read from More...

Functions

double CalcPhi (const std::complex< double > &Z)
std::complex< double > CalcS1 (const MTTensor &Z)
tStatSyncPair FindCorrespondingSites (tStationList &MasterList, tStationList &SlaveList)
 Take two different site Lists of arguments and return a vector of pairs that point to the sites that correspond to each other.
std::complex< double > RhoPhiToZ (const double freq, const double rho, const double phi)
double Alpha_phi (const double phi11, const double phi12, const double phi21, const double phi22)
double Beta_phi (const double phi11, const double phi12, const double phi21, const double phi22)
double Pi1 (const double phi11, const double phi12, const double phi21, const double phi22)
double Pi2 (const double phi11, const double phi12, const double phi21, const double phi22)
double PhiStrike (const double phi11, const double phi12, const double phi21, const double phi22)
double PhiMax (const double phi11, const double phi12, const double phi21, const double phi22)
double PhiMin (const double phi11, const double phi12, const double phi21, const double phi22)
double trPhi (const double phi11, const double phi12, const double phi21, const double phi22)
double skPhi (const double phi11, const double phi12, const double phi21, const double phi22)
double detPhi (const double phi11, const double phi12, const double phi21, const double phi22)
double Phi1 (const double phi11, const double phi12, const double phi21, const double phi22)
double Phi2 (const double phi11, const double phi12, const double phi21, const double phi22)
double GetPhi2Sq (const double phi11, const double phi12, const double phi21, const double phi22)
double GetPhi3 (const double phi11, const double phi12, const double phi21, const double phi22)
double GetPhiEllip (const double phi11, const double phi12, const double phi21, const double phi22)
void Synchronize (TimeSeries &Data1, TimeSeries &Data2)
 Synchronize only works for continuous data at this point.
bool IsSpikeAbsolute (const double prediff, const double postdiff, const double currvalue, const double Threshold)
bool IsSpikePreRel (const double prediff, const double postdiff, const double currvalue, const double Threshold)
bool IsSpikePostRel (const double prediff, const double postdiff, const double currvalue, const double Threshold)
bool IsSpikeAnyRel (const double prediff, const double postdiff, const double currvalue, const double Threshold)
bool IsSpikeBothRel (const double prediff, const double postdiff, const double currvalue, const double Threshold)

Detailed Description

This header file provides some function to calculate phase tensor quantities that are used in MTTensor and PTensorMTData.


Typedef Documentation

typedef std::vector<MTStation> tStationList

Definition at line 12 of file MTStationList.h.

typedef std::vector<std::pair<MTStation*,MTStation*> > tStatSyncPair

Definition at line 43 of file MTStationList.h.


Enumeration Type Documentation

ttsdatatype is used to store the source the data was read from

Enumerator:
tsunknown 
mtu 
birrp 
csv 
lemi 

Definition at line 12 of file TimeSeriesData.h.


Function Documentation

double Alpha_phi ( const double  phi11,
const double  phi12,
const double  phi21,
const double  phi22 
) [inline]

Definition at line 10 of file ptfuncs.h.

Referenced by PhiStrike().

double Beta_phi ( const double  phi11,
const double  phi12,
const double  phi21,
const double  phi22 
) [inline]

Definition at line 19 of file ptfuncs.h.

Referenced by PhiStrike().

double CalcPhi ( const std::complex< double > &  Z  ) 

Definition at line 13 of file MTFuncs.h.

std::complex<double> CalcS1 ( const MTTensor Z  ) 

Definition at line 18 of file MTFuncs.h.

References MTTensor::GetZxx(), and MTTensor::GetZyy().

double detPhi ( const double  phi11,
const double  phi12,
const double  phi21,
const double  phi22 
) [inline]

Definition at line 45 of file ptfuncs.h.

Referenced by GetPhi2Sq(), and Phi2().

tStatSyncPair FindCorrespondingSites ( tStationList MasterList,
tStationList SlaveList 
)

Take two different site Lists of arguments and return a vector of pairs that point to the sites that correspond to each other.

double GetPhi2Sq ( const double  phi11,
const double  phi12,
const double  phi21,
const double  phi22 
) [inline]

Definition at line 54 of file ptfuncs.h.

References detPhi().

double GetPhi3 ( const double  phi11,
const double  phi12,
const double  phi21,
const double  phi22 
) [inline]

Definition at line 57 of file ptfuncs.h.

References skPhi().

double GetPhiEllip ( const double  phi11,
const double  phi12,
const double  phi21,
const double  phi22 
) [inline]

Definition at line 60 of file ptfuncs.h.

References PhiMax(), and PhiMin().

Referenced by main().

bool IsSpikeAbsolute ( const double  prediff,
const double  postdiff,
const double  currvalue,
const double  Threshold 
) [inline]

Definition at line 6 of file tsfuncs.h.

Referenced by CSpikeStats::AnalyseSpikes().

bool IsSpikeAnyRel ( const double  prediff,
const double  postdiff,
const double  currvalue,
const double  Threshold 
) [inline]

Definition at line 30 of file tsfuncs.h.

bool IsSpikeBothRel ( const double  prediff,
const double  postdiff,
const double  currvalue,
const double  Threshold 
) [inline]

Definition at line 39 of file tsfuncs.h.

bool IsSpikePostRel ( const double  prediff,
const double  postdiff,
const double  currvalue,
const double  Threshold 
) [inline]

Definition at line 22 of file tsfuncs.h.

bool IsSpikePreRel ( const double  prediff,
const double  postdiff,
const double  currvalue,
const double  Threshold 
) [inline]

Definition at line 14 of file tsfuncs.h.

double Phi1 ( const double  phi11,
const double  phi12,
const double  phi21,
const double  phi22 
) [inline]

Definition at line 48 of file ptfuncs.h.

References trPhi().

double Phi2 ( const double  phi11,
const double  phi12,
const double  phi21,
const double  phi22 
) [inline]

Definition at line 51 of file ptfuncs.h.

References detPhi().

double PhiMax ( const double  phi11,
const double  phi12,
const double  phi21,
const double  phi22 
) [inline]

Definition at line 33 of file ptfuncs.h.

References Pi1(), and Pi2().

Referenced by GetPhiEllip().

double PhiMin ( const double  phi11,
const double  phi12,
const double  phi21,
const double  phi22 
) [inline]

Definition at line 36 of file ptfuncs.h.

References Pi1(), and Pi2().

Referenced by GetPhiEllip().

double PhiStrike ( const double  phi11,
const double  phi12,
const double  phi21,
const double  phi22 
) [inline]

Definition at line 30 of file ptfuncs.h.

References Alpha_phi(), and Beta_phi().

double Pi1 ( const double  phi11,
const double  phi12,
const double  phi21,
const double  phi22 
) [inline]

Definition at line 24 of file ptfuncs.h.

Referenced by PhiMax(), and PhiMin().

double Pi2 ( const double  phi11,
const double  phi12,
const double  phi21,
const double  phi22 
) [inline]

Definition at line 27 of file ptfuncs.h.

Referenced by PhiMax(), and PhiMin().

std::complex<double> RhoPhiToZ ( const double  freq,
const double  rho,
const double  phi 
) [inline]

Definition at line 285 of file MTTensor.h.

Referenced by main().

double skPhi ( const double  phi11,
const double  phi12,
const double  phi21,
const double  phi22 
) [inline]

Definition at line 42 of file ptfuncs.h.

Referenced by GetPhi3().

void Synchronize ( TimeSeries Data1,
TimeSeries Data2 
)

Synchronize only works for continuous data at this point.

Synchronize two Objects containing MT data so that they have the same start time

Definition at line 78 of file TimeSeries.cpp.

References TimeSeries::erase(), TimeSeries::GetSamplerate(), and TimeSeries::GetTime().

double trPhi ( const double  phi11,
const double  phi12,
const double  phi21,
const double  phi22 
) [inline]

Definition at line 39 of file ptfuncs.h.

Referenced by Phi1().


Generated on Fri Jul 4 15:30:21 2008 for GPLIB++ by  doxygen 1.5.5