|
FERS 1.0.0
The Flexible Extensible Radar Simulator
|
Represents an antenna whose gain pattern is loaded from a HDF5 file. More...
#include "antenna_factory.h"
Inheritance diagram for antenna::H5Antenna:
Collaboration diagram for antenna::H5Antenna:Public Member Functions | |
| H5Antenna (const std::string_view name, const std::string &filename) | |
| Constructs a H5Antenna with the specified name and gain pattern file. | |
| ~H5Antenna () override=default | |
| H5Antenna (const H5Antenna &)=delete | |
| H5Antenna & | operator= (const H5Antenna &)=delete |
| H5Antenna (H5Antenna &&)=delete | |
| H5Antenna & | operator= (H5Antenna &&)=delete |
| RealType | getGain (const math::SVec3 &angle, const math::SVec3 &refangle, RealType) const override |
| Computes the gain of the antenna based on the input angle and reference angle. | |
| const std::string & | getFilename () const noexcept |
| Gets the filename of the antenna description. | |
| const std::vector< std::vector< RealType > > & | getPattern () const noexcept |
| Gets the gain pattern object. | |
| RealType | getEfficiencyFactor () const noexcept |
| Retrieves the efficiency factor of the antenna. | |
| std::string | getName () const noexcept |
| Retrieves the name 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. | |
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 an antenna whose gain pattern is loaded from a HDF5 file.
This class models an antenna with a gain pattern defined in an HDF5 file. The gain pattern is stored in a Pattern object, which is used to compute the antenna's gain based on the input angle and reference angle.
Definition at line 436 of file antenna_factory.h.
| antenna::H5Antenna::H5Antenna | ( | const std::string_view | name, |
| const std::string & | filename | ||
| ) |
Constructs a H5Antenna with the specified name and gain pattern file.
| name | The name of the antenna. |
| filename | The path to the file containing the antenna's gain pattern. |
Definition at line 445 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 93 of file antenna_factory.cpp.
References math::SVec3::length.
|
noexceptinherited |
Retrieves the efficiency factor of the antenna.
Definition at line 73 of file antenna_factory.h.
Referenced by antenna::Isotropic::getGain(), antenna::XmlAntenna::getGain(), getGain(), and antenna::to_json().
Here is the caller graph for this function:
|
noexcept |
Gets the filename of the antenna description.
Definition at line 471 of file antenna_factory.h.
|
overridevirtual |
Computes the gain of the antenna based on the input angle and reference angle.
| angle | The angle at which the gain is to be computed. |
| refangle | The reference angle. |
Implements antenna::Antenna.
Definition at line 163 of file antenna_factory.cpp.
References math::SVec3::azimuth, math::SVec3::elevation, antenna::Antenna::getEfficiencyFactor(), LOG, PI, and logging::TRACE.
Here is the call graph for this function:
|
noexceptinherited |
Retrieves the name of the antenna.
Definition at line 80 of file antenna_factory.h.
Referenced by antenna::to_json(), radar::to_json(), and radar::to_json().
Here is the caller graph for this function:
|
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 89 of file antenna_factory.h.
|
noexcept |
Gets the gain pattern object.
Definition at line 474 of file antenna_factory.h.
|
noexceptinherited |
Sets the efficiency factor of the antenna.
| loss | The new efficiency factor. |
Definition at line 84 of file antenna_factory.cpp.
References LOG.