123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
-
-
-
-
-
-
- #ifndef TEMTRANSMITTER_INC
- #define TEMTRANSMITTER_INC
-
- #include "PolygonalWireAntenna.h"
-
- namespace Lemma {
-
-
- class TEMTransmitter : public PolygonalWireAntenna {
-
- friend std::ostream &operator<<(std::ostream &stream, const TEMTransmitter &ob);
-
- public:
-
-
-
-
- explicit TEMTransmitter (const ctor_key& );
-
-
- TEMTransmitter (const YAML::Node& node, const ctor_key& );
-
-
- ~TEMTransmitter ();
-
-
-
- static std::shared_ptr<TEMTransmitter> NewSP();
-
-
-
- std::shared_ptr<TEMTransmitter> Clone();
-
- YAML::Node Serialize() const;
-
- static std::shared_ptr<TEMTransmitter> DeSerialize(const YAML::Node& node);
-
-
-
-
-
-
-
-
-
- void SetRepFrequency(const Real& fr, const FREQUENCYUNITS& units);
-
- void SetWaveform( const VectorXr& times, const VectorXr& amps, const TIMEUNITS& units );
-
-
-
-
-
- VectorXr GetWfmTimes();
-
-
-
- VectorXr GetWfmAmps();
-
-
- virtual std::string GetName() const {
- return this->CName;
- }
-
- protected:
-
-
-
- private:
-
- static constexpr auto CName = "TEMTransmitter";
-
-
-
- Real repFreq;
- FREQUENCYUNITS repFreqUnits;
- VectorXr wfmTimes;
- VectorXr wfmAmps;
-
- };
-
- }
-
- #endif
|