00001 #ifndef PTENSORMTSTATION_H_ 00002 #define PTENSORMTSTATION_H_ 00003 #include "PTensorMTData.h" 00004 #include <vector> 00005 #include <string> 00006 #include "types.h" 00007 #include "MTStation.h" 00008 00009 /** \addtogroup mttools MT data analysis, processing and inversion */ 00010 /* @{ */ 00011 00012 class PTensorMTStation 00013 { 00014 private: 00015 std::vector<PTensorMTData> Tensor; 00016 public: 00017 const PTensorMTData &at(const unsigned int i) const {return Tensor.at(i);} 00018 PTensorMTData &at(const unsigned int i) {return Tensor.at(i);} 00019 std::vector<PTensorMTData> &GetTensor(){return Tensor;} 00020 const std::vector<PTensorMTData> &GetTensor() const {return Tensor;} 00021 const trealdata GetFrequencies() const; 00022 void GetData(const std::string &filename); 00023 void WriteData(const std::string &filename); 00024 //! copies the phase tensor elements calculated from the impedance in MTData, but without errors 00025 PTensorMTStation &operator=(const MTStation &MTData); 00026 PTensorMTStation(); 00027 virtual ~PTensorMTStation(); 00028 }; 00029 /* @} */ 00030 #endif /*PTENSORMTSTATION_H_*/
1.5.5