Package org.orekit.gnss
Class DOPComputer
java.lang.Object
org.orekit.gnss.DOPComputer
This class aims at computing the dilution of precision.
- Since:
- 8.0
- Author:
- Pascal Parraud
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncompute(AbsoluteDate date, List<Propagator> gnss) Compute theDOPat a given date for a set of GNSS spacecrafts.static DOPComputercreate(OneAxisEllipsoid shape, GeodeticPoint location) Creates a DOP computer for one location.Get the elevation mask.doubleGet the minimum elevation.withElevationMask(ElevationMask newElevationMask) Set the elevation mask.withMinElevation(double newMinElevation) Set the minimum elevation.
-
Field Details
-
DOP_MIN_ELEVATION
public static final double DOP_MIN_ELEVATIONMinimum elevation : 0°.- See Also:
-
-
Method Details
-
create
Creates a DOP computer for one location.A minimum elevation of 0° is taken into account to compute visibility between the location and the GNSS spacecrafts.
- Parameters:
shape- the body shape on which the location is definedlocation- the point of interest- Returns:
- a configured DOP computer
-
withMinElevation
Set the minimum elevation.This will override an elevation mask if it has been configured as such previously.
- Parameters:
newMinElevation- minimum elevation for visibility (rad)- Returns:
- a new DOP computer with updated configuration (the instance is not changed)
- See Also:
-
withElevationMask
Set the elevation mask.This will override the min elevation if it has been configured as such previously.
- Parameters:
newElevationMask- elevation mask to use for the computation- Returns:
- a new detector with updated configuration (the instance is not changed)
- See Also:
-
compute
Compute theDOPat a given date for a set of GNSS spacecrafts.Four GNSS spacecraft at least are needed to compute the DOP. If less than 4 propagators are provided, an exception will be thrown. If less than 4 spacecrafts are visible at the date, all DOP values will be set to
NaN.- Parameters:
date- the computation dategnss- the propagators for GNSS spacecraft involved in the DOP computation- Returns:
- the
DOPat the location
-
getMinElevation
public double getMinElevation()Get the minimum elevation.- Returns:
- the minimum elevation (rad)
-
getElevationMask
Get the elevation mask.- Returns:
- the elevation mask
-