WSF
WsfESA_NX_AntennaPattern Class Reference

#include <WsfESA_NX_AntennaPattern.hpp>

Inheritance diagram for WsfESA_NX_AntennaPattern:
Collaboration diagram for WsfESA_NX_AntennaPattern:

Classes

struct  ArraySubDivideRatios
class  ESA_NX_Data

Public Types

using ArraySplitRatios = std::map<int, ArraySubDivideRatios>
Public Types inherited from WsfESA_AntennaPattern
enum  LatticeType { cLT_RECTANGLULAR , cLT_TRIANGLULAR }
enum  WeightingFun { cWT_None = 0 , cWT_Taylor = 1 , cWT_Uniform = 2 }
using ElementVec = std::vector<Element>
using WeightVec = std::vector<double>
Public Types inherited from WsfObject
typedef std::vector< WsfStringIdTypeList
 The list of types returned by GetTypeList.

Public Member Functions

 WsfESA_NX_AntennaPattern ()
 ~WsfESA_NX_AntennaPattern () override=default
WsfAntennaPatternClone () const override
bool Initialize (WsfSimulation *aSimulationPtr) override
void SetAntennaBeamCount (unsigned int aBeamCount) override
Public Member Functions inherited from WsfESA_AntennaPattern
 WsfESA_AntennaPattern (ESA_Data *aEsaData=nullptr)
 ~WsfESA_AntennaPattern () override
double GetGain (double aFrequency, double aTargetAz, double aTargetEl, double aEBS_Az, double aEBS_EL) override
double GetAzimuthBeamwidth (double aFrequency, double aEBS_Azimuth, double aEBS_Elevation) const override
double GetElevationBeamwidth (double aFrequency, double aEBS_Azimuth, double aEBS_Elevation) const override
double GetPeakGain (double aFrequency) const override
double GetElementSpacingX () const
double GetElementSpacingY () const
int GetNumberElementsX () const
int GetNumberElementsY () const
bool IsDistributionTaylor () const
bool IsDistributionUniform () const
double GetTaylorDataSidelobeLevelX () const
double GetTaylorDataSidelobeLevelY () const
double GetTaylorDataN_BarX () const
double GetTaylorDataN_BarY () const
int GetPhaseNumBits () const
int GetAmpNumBits () const
Public Member Functions inherited from WsfAntennaPattern
 WsfAntennaPattern ()
 WsfAntennaPattern (BaseData *aBasePtr)
 ~WsfAntennaPattern () override
const char * GetScriptClassName () const override
virtual WSF_DEPRECATED double GetAzimuthBeamwidth (double aFrequency) const final
virtual WSF_DEPRECATED double GetElevationBeamwidth (double aFrequency) const final
virtual double GetMinimumGain () const
virtual const GainAdjustmentTableGetGainAdjustmentTable () const
virtual double GetGainAdjustment () const
bool ProcessInput (UtInput &aInput) override
virtual double GetGainThresholdFraction (double aGainThreshold, double aPeakGain, double aMinAz, double aMaxAz, double aFrequency)
Public Member Functions inherited from WsfObject
 WsfObject ()
 This is the constructor for the WsfObject class.
 ~WsfObject () override
 This is the destructor for the WsfObject class.
const char * GetScriptClassName () const override
const std::string & GetType () const
WsfStringId GetTypeId () const
 Get the string ID of the 'type' of the object.
void SetType (WsfStringId aType)
const std::string & GetBaseType () const
WsfStringId GetBaseTypeId () const
const TypeListGetTypeList () const
bool IsA_TypeOf (WsfStringId aType) const
WsfObjectoperator= (const WsfObject &aRhs)
 Assignment operator.
template<typename T>
void Serialize (T &aBuff)
 For XIO (de)serialization.
const std::string & GetName () const
WsfStringId GetNameId () const
void SetName (WsfStringId aName)

Static Public Member Functions

static WsfAntennaPatternObjectFactory (const std::string &aTypeName)
Static Public Member Functions inherited from WsfESA_AntennaPattern
static WsfAntennaPatternObjectFactory (const std::string &aTypeName)

Private data access.

These methods return data that should not be considered part of the public interface. They were provided to support External Services. Use at your own risk!

double GetEdgeAngleX () const
double GetEdgeAngleY () const
double GetElementSpacingX () const
double GetElementSpacingY () const
int GetNumberElementsX () const
int GetNumberElementsY () const
bool IsDistributionTaylor () const
bool IsDistributionUniform () const
double GetTaylorDataSidelobeLevelX () const
double GetTaylorDataSidelobeLevelY () const
double GetTaylorDataN_BarX () const
double GetTaylorDataN_BarY () const
int GetPhaseNumBits () const
int GetAmpNumBits () const
ESA_NX_DataNX_Data () const
 WsfESA_NX_AntennaPattern (const WsfESA_NX_AntennaPattern &aSrc)
WsfESA_NX_AntennaPatternoperator= (const WsfESA_NX_AntennaPattern &aRhs)=delete
 Assignment is not supported.
double ComputeDirectivityGain (double aFrequency, double aEBS_Az, double aEBS_El) const override
void ResizeArray () override
void AdjustElementLocations () override

Additional Inherited Members

Static Public Attributes inherited from WsfAntennaPattern
static const char * cTYPE_KIND = "antenna_pattern"
 WsfESA_AntennaPattern (const WsfESA_AntennaPattern &aSrc)
WsfESA_AntennaPatternoperator= (const WsfESA_AntennaPattern &aRhs)=delete
 Assignment is not supported.
ESA_DataGetData () const
virtual double ComputeElementGain (double aFrequency, double aAzAngle, double aElAngle) const
virtual double ComputeElementFactor (double aFrequency, double aEBS_Az, double aEBS_El, double aAzAngle, double aElAngle) const
void SetESA_DataPtr (ESA_Data *aESA_DataPtr)
virtual void AdjustApertureElements (ut::Random &aRandom)
void ComputeFailedModulesWeights (ut::Random &aRandom)
Protected Member Functions inherited from WsfAntennaPattern
 WsfAntennaPattern (const WsfAntennaPattern &aSrc)
 Copy Constructor for Clone().
WsfAntennaPatternoperator= (const WsfAntennaPattern &aRhs)
virtual double ApplyEBS (double aBeamwidth, double aEBS_Az, double aEBS_El) const
 WsfObject (const WsfObject &aSrc)
 Copy constructor (for Clone()).
Protected Attributes inherited from WsfESA_AntennaPattern
WeightVec mWeightVecX
WeightVec mWeightVecY
 Calculated aperture efficiency.
double mApertureEff
double mApertureEffX
double mApertureEffY
WsfAntennaPatternmElementPatternPtr
ElementVec mElements
 Current vector of elements used for pattern calculations.
double mLengthX
 Current X-axis length of the array in meters.
double mLengthY
 Current Y-axis length of the array in meters.
int mNX
 Current X-axis number of elements.
int mNY
 Current Y-axis number of elements.
Protected Attributes inherited from WsfAntennaPattern
BaseDatamSharedDataPtr

Detailed Description

The implementation of an subdividing 'Electronically Scanned Array (ESA)' antenna patterns.

Different weighting functions can be applied:

  • Uniform (default)
  • Taylor
Note
Cosine roll-off is applied separate of this when the Antenna mode is set for electronic beam steering, see WsfEM_Antenna

Adaption from Skolnik 2nd edition adding in array sub-division and edge angles to model modern threat radar systems making it non-exportable.

Member Typedef Documentation

◆ ArraySplitRatios

Constructor & Destructor Documentation

◆ WsfESA_NX_AntennaPattern() [1/2]

WsfESA_NX_AntennaPattern::WsfESA_NX_AntennaPattern ( )

◆ ~WsfESA_NX_AntennaPattern()

WsfESA_NX_AntennaPattern::~WsfESA_NX_AntennaPattern ( )
overridedefault

◆ WsfESA_NX_AntennaPattern() [2/2]

WsfESA_NX_AntennaPattern::WsfESA_NX_AntennaPattern ( const WsfESA_NX_AntennaPattern & aSrc)
protected

Member Function Documentation

◆ AdjustElementLocations()

◆ Clone()

WsfAntennaPattern * WsfESA_NX_AntennaPattern::Clone ( ) const
overridevirtual

Return a copy of this object. Must be implemented by all derived types. If cloning is impossible, a WsfUncloneableException should be thrown.

Reimplemented from WsfESA_AntennaPattern.

References WsfAntennaPattern::WsfAntennaPattern(), and WsfESA_NX_AntennaPattern().

◆ ComputeDirectivityGain()

double WsfESA_NX_AntennaPattern::ComputeDirectivityGain ( double aFrequency,
double aEBS_Az,
double aEBS_El ) const
overrideprotectedvirtual

◆ GetAmpNumBits()

int WsfESA_NX_AntennaPattern::GetAmpNumBits ( ) const
inline

◆ GetEdgeAngleX()

double WsfESA_NX_AntennaPattern::GetEdgeAngleX ( ) const
inline

◆ GetEdgeAngleY()

double WsfESA_NX_AntennaPattern::GetEdgeAngleY ( ) const
inline

◆ GetElementSpacingX()

double WsfESA_NX_AntennaPattern::GetElementSpacingX ( ) const
inline

◆ GetElementSpacingY()

double WsfESA_NX_AntennaPattern::GetElementSpacingY ( ) const
inline

◆ GetNumberElementsX()

int WsfESA_NX_AntennaPattern::GetNumberElementsX ( ) const
inline

◆ GetNumberElementsY()

int WsfESA_NX_AntennaPattern::GetNumberElementsY ( ) const
inline

◆ GetPhaseNumBits()

int WsfESA_NX_AntennaPattern::GetPhaseNumBits ( ) const
inline

◆ GetTaylorDataN_BarX()

double WsfESA_NX_AntennaPattern::GetTaylorDataN_BarX ( ) const
inline

◆ GetTaylorDataN_BarY()

double WsfESA_NX_AntennaPattern::GetTaylorDataN_BarY ( ) const
inline

◆ GetTaylorDataSidelobeLevelX()

double WsfESA_NX_AntennaPattern::GetTaylorDataSidelobeLevelX ( ) const
inline

◆ GetTaylorDataSidelobeLevelY()

double WsfESA_NX_AntennaPattern::GetTaylorDataSidelobeLevelY ( ) const
inline

◆ Initialize()

bool WsfESA_NX_AntennaPattern::Initialize ( WsfSimulation * aSimulationPtr)
overridevirtual

Initialize the antenna pattern. This is called after all the input for an antenna pattern has been processed.

Returns
true if successful or false if not.

Reimplemented from WsfESA_AntennaPattern.

References WsfESA_AntennaPattern::AdjustApertureElements(), WsfSimulation::GetRandom(), WsfAntennaPattern::Initialize(), WsfESA_AntennaPattern::mApertureEff, WsfESA_AntennaPattern::mApertureEffX, WsfESA_AntennaPattern::mApertureEffY, NX_Data(), and ok.

◆ IsDistributionTaylor()

bool WsfESA_NX_AntennaPattern::IsDistributionTaylor ( ) const
inline

◆ IsDistributionUniform()

bool WsfESA_NX_AntennaPattern::IsDistributionUniform ( ) const
inline

◆ NX_Data()

◆ ObjectFactory()

WsfAntennaPattern * WsfESA_NX_AntennaPattern::ObjectFactory ( const std::string & aTypeName)
static

Factory method for WsfESA_NX_AntennaPatternTypes. This is called by WsfESA__NX_AntennaPatternTypes::LoadType to determine if a pattern represented by this class is being requested.

References WsfAntennaPattern::WsfAntennaPattern(), WsfESA_AntennaPattern::WsfESA_AntennaPattern(), and WsfESA_NX_AntennaPattern().

◆ operator=()

WsfESA_NX_AntennaPattern & WsfESA_NX_AntennaPattern::operator= ( const WsfESA_NX_AntennaPattern & aRhs)
protecteddelete

Assignment is not supported.

References WsfESA_NX_AntennaPattern().

◆ ResizeArray()

◆ SetAntennaBeamCount()

void WsfESA_NX_AntennaPattern::SetAntennaBeamCount ( unsigned int aBeamCount)
overridevirtual

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved