auto const getAxis() const
Return the time-units of each waveform.
TimeDomainAntenna(std::string const &name, Point const &location, CoordinateSystemPtr coordinateSystem, TimeType const &start_time, TimeType const &duration, InverseTimeType const &sample_rate, TimeType const ground_hit_time)
Construct a new TimeDomainAntenna.
An implementation of a time-domain antenna that has a customized start time, sampling rate...
std::vector< long double > createTimeAxis() const
Creates time-units of each waveform.
void receive(TimeType const time, Vector< dimensionless_d > const &receive_vector, ElectricFieldVector const &efield)
Receive an electric field at this antenna.
auto const & getWaveformY() const
Return the time-units of each waveform for Y polarization.
void reset()
Reset the antenna before starting a new simulation.
YAML::Node getConfig() const
Return a YAML configuration for this antenna.
InverseTimeType const & getSampleRate() const
Returns the sampling rate of the time domain antenna.
auto const & getWaveformX() const
Return the time-units of each waveform for X polarization.
std::string const getDomainLabel()
Return a label that indicates that this is a time domain antenna.
auto const & getWaveformZ() const
Return the time-units of each waveform for Z polarization.
TimeType const & getStartTime() const
Returns the start time of detection for the time domain antenna.