|
FERS 0.1.0
The Flexible Extensible Radar Simulator
|
Represents a square horn antenna. More...
#include "antenna_factory.h"
Inheritance diagram for antenna::SquareHorn:
Collaboration diagram for antenna::SquareHorn:Public Member Functions | |
| SquareHorn (const std::string_view name, const RealType dimension, const SimId id=0) | |
| Constructs a SquareHorn antenna with the given dimension. | |
| ~SquareHorn () override=default | |
| SquareHorn (const SquareHorn &)=delete | |
| SquareHorn & | operator= (const SquareHorn &)=delete |
| SquareHorn (SquareHorn &&)=delete | |
| SquareHorn & | operator= (SquareHorn &&)=delete |
| RealType | getGain (const math::SVec3 &angle, const math::SVec3 &refangle, RealType wavelength) const noexcept override |
| Computes the gain of the square horn antenna. | |
| RealType | getDimension () const noexcept |
| Gets the dimension of the square horn. | |
| void | setDimension (RealType dimension) noexcept |
| Sets the dimension of the square horn. | |
| RealType | getEfficiencyFactor () const noexcept |
| Retrieves the efficiency factor of the antenna. | |
| std::string | getName () const noexcept |
| Retrieves the name of the antenna. | |
| SimId | getId () const noexcept |
| Retrieves the unique ID of the antenna. | |
| virtual RealType | getNoiseTemperature (const math::SVec3 &) const noexcept |
| Computes the noise temperature of the antenna based on the angle. | |
| void | setEfficiencyFactor (RealType loss) noexcept |
| Sets the efficiency factor of the antenna. | |
| void | setName (std::string name) noexcept |
| Sets the name of the antenna. | |
Static Protected Member Functions | |
| static RealType | getAngle (const math::SVec3 &angle, const math::SVec3 &refangle) noexcept |
| Computes the angle between the input and reference angles. | |
Represents a square horn antenna.
This antenna models a square horn with a specific dimension.
Definition at line 327 of file antenna_factory.h.
| antenna::SquareHorn::SquareHorn | ( | const std::string_view | name, |
| const RealType | dimension, | ||
| const SimId | id = 0 |
||
| ) |
Constructs a SquareHorn antenna with the given dimension.
| name | The name of the antenna. |
| dimension | The dimension of the square horn. |
Definition at line 336 of file antenna_factory.h.
|
overridedefault |
|
delete |
|
delete |
|
staticprotectednoexceptinherited |
Computes the angle between the input and reference angles.
| angle | The input angle. |
| refangle | The reference angle. |
Definition at line 356 of file antenna_factory.cpp.
References math::SVec3::length.
|
noexcept |
Gets the dimension of the square horn.
Definition at line 363 of file antenna_factory.h.
|
noexceptinherited |
Retrieves the efficiency factor of the antenna.
Definition at line 80 of file antenna_factory.h.
Referenced by antenna::Isotropic::getGain(), antenna::XmlAntenna::getGain(), and antenna::H5Antenna::getGain().
Here is the caller graph for this function:
|
overridevirtualnoexcept |
Computes the gain of the square horn antenna.
| angle | The angle at which the gain is to be computed. |
| refangle | The reference angle. |
| wavelength | The wavelength of the signal. |
Implements antenna::Antenna.
Definition at line 377 of file antenna_factory.cpp.
References PI.
|
noexceptinherited |
Retrieves the unique ID of the antenna.
Definition at line 94 of file antenna_factory.h.
Referenced by radar::to_json().
Here is the caller graph for this function:
|
noexceptinherited |
Retrieves the name of the antenna.
Definition at line 87 of file antenna_factory.h.
|
virtualnoexceptinherited |
Computes the noise temperature of the antenna based on the angle.
| angle | The angle at which the noise temperature is to be computed. |
Definition at line 103 of file antenna_factory.h.
|
delete |
|
delete |
Sets the dimension of the square horn.
| dimension | The new dimension of the square horn. |
Definition at line 370 of file antenna_factory.h.
Sets the efficiency factor of the antenna.
| loss | The new efficiency factor. |
Definition at line 347 of file antenna_factory.cpp.
References LOG.
|
noexceptinherited |
Sets the name of the antenna.
| name | The new name of the antenna. |
Definition at line 117 of file antenna_factory.h.