Package org.orekit.gnss.antenna
Class TwoDVariation
- java.lang.Object
-
- org.orekit.gnss.antenna.TwoDVariation
-
- All Implemented Interfaces:
PhaseCenterVariationFunction
public class TwoDVariation extends Object implements PhaseCenterVariationFunction
Interpolator for 2D phase center variation data.- Since:
- 9.2
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description TwoDVariation(double polarStart, double polarStep, double azimuthStep, double[][] variations)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
value(double polarAngle, double azimuthAngle)
Evaluate phase center variation in one signal direction.
-
-
-
Constructor Detail
-
TwoDVariation
public TwoDVariation(double polarStart, double polarStep, double azimuthStep, double[][] variations)
Simple constructor.- Parameters:
polarStart
- start polar anglepolarStep
- between grid pointsazimuthStep
- step between grid pointsvariations
- sampled phase center variations
-
-
Method Detail
-
value
public double value(double polarAngle, double azimuthAngle)
Evaluate phase center variation in one signal direction.- Specified by:
value
in interfacePhaseCenterVariationFunction
- Parameters:
polarAngle
- angle from antenna axial direction (zenith angle for receiver antennas, nadir angle for GNSS satellites antennas)azimuthAngle
- angle around axial direction, counted from +X to +Y (note that this convention is consistent withVector3D.getAlpha()
, but it is different fromTrackingCoordinates.getAzimuth()
, so care must be taken when using this for ground receivers)- Returns:
- phase center variation in the signal direction (m)
-
-