123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
-
-
-
-
-
-
- #ifndef __INSTRUMENTTEM_H
- #define __INSTRUMENTTEM_H
-
- #include "instrument.h"
- #include "emearth1d.h"
- #include "WireAntenna.h"
- #include "PolygonalWireAntenna.h"
- #include "receiverpoints.h"
- #include "dipolesource.h"
- #include "layeredearthem.h"
- #include "digitalfiltercostrans.h"
- #include "digitalfiltersintrans.h"
- #include "temintegrationkernel.h"
- #include "CubicSplineInterpolator.h"
-
- namespace Lemma {
-
- enum ReceiverType { INDUCTIVE, MAGNETOMETER, ELECTRIC };
-
-
-
-
-
-
- class InstrumentTem : public Instrument {
-
- friend std::ostream &operator<<(std::ostream &stream,
- const InstrumentTem &ob);
-
- public:
-
-
-
- static InstrumentTem* New();
-
- void Delete();
-
-
-
-
-
-
- void MakeDirectCalculation( const HANKELTRANSFORMTYPE& hType );
-
-
-
- void MakeLaggedCalculation( const HANKELTRANSFORMTYPE& hType );
-
-
-
-
-
- void SetPulse( const VectorXr& Amp, const VectorXr& times, bool bipolar=true );
-
-
- void EMEarthModel(LayeredEarthEM* Earth);
-
-
- void SetTransmitLoop(WireAntenna *antennae);
-
-
- void SetDipoleSource(DipoleSource* dipolesource);
-
-
- void SetReceiver(ReceiverPoints* Receivers);
-
-
-
- void SetReceiverType( const ReceiverType& rtype );
-
-
- MatrixXr GetMeasurements();
-
-
-
-
- void SetTimes(const VectorXr ×);
-
-
-
- void SetTimeGates(const VectorXr ¢res, const VectorXr& widths);
-
-
- int GetNumberOfTimes();
-
-
-
- void SetReferenceTime(const Real& RefTime);
-
-
-
-
-
-
-
-
- protected:
-
-
-
-
- InstrumentTem (const std::string &name);
-
-
- ~InstrumentTem ();
-
- void Release();
-
-
-
-
-
- void FoldAndConvolve( CubicSplineInterpolator* Spline );
-
-
-
- Real ConvolveWaveform( CubicSplineInterpolator* Spline, const Real& t );
-
-
-
- void SubtractPrevious( CubicSplineInterpolator* Spline );
-
-
-
-
-
-
- WireAntenna* Antenna;
-
- ReceiverPoints* Receiver;
-
- LayeredEarthEM* EarthMod;
-
- DipoleSource* Dipole;
-
- bool bipolarWaveform;
-
-
- int NPreviousPulse;
-
-
- Real RefTime;
-
-
- Real PulseT;
-
-
- Real TxFreq;
-
-
- ReceiverType RType;
-
- MatrixXr ModelledData;
-
-
- VectorXr TimeGates;
-
-
- VectorXr GateWidths;
-
-
- VectorXr Waveform;
-
-
- VectorXr TxAmp;
-
-
- VectorXr TxDelta;
-
-
- VectorXr TxDiff;
-
-
- VectorXr TxAbs;
-
- private:
-
- };
-
- }
-
- #endif
|