Class Observables
- java.lang.Object
-
- org.orekit.rugged.adjustment.measurements.Observables
-
public class Observables extends Object
Class for measurements generation.- Since:
- 2.0
- Author:
- Lucie Labat-Allee, Guylaine Prat
- See Also:
SensorToSensorMapping,SensorToGroundMapping
-
-
Constructor Summary
Constructors Constructor Description Observables(int nbModels)Build a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGroundMapping(SensorToGroundMapping groundMapping)Add a ground mapping.voidaddInterMapping(SensorToSensorMapping interMapping)Add a mapping between two viewing models.SensorToGroundMappinggetGroundMapping(String ruggedName, String sensorName)Get a ground Mapping for a sensor.Collection<SensorToGroundMapping>getGroundMappings()Get all the ground mapping entries.SensorToSensorMappinggetInterMapping(String ruggedNameA, String sensorNameA, String ruggedNameB, String sensorNameB)Get a sensor mapping for a sensor.Collection<SensorToSensorMapping>getInterMappings()Get the sensor to sensor values.intgetNbModels()Get the number of viewing models to map.
-
-
-
Method Detail
-
addInterMapping
public void addInterMapping(SensorToSensorMapping interMapping)
Add a mapping between two viewing models.- Parameters:
interMapping- sensor to sensor mapping
-
addGroundMapping
public void addGroundMapping(SensorToGroundMapping groundMapping)
Add a ground mapping.A ground mapping is defined by a set of GCPs.
- Parameters:
groundMapping- sensor to ground mapping
-
getGroundMappings
public Collection<SensorToGroundMapping> getGroundMappings()
Get all the ground mapping entries.- Returns:
- an unmodifiable view of all mapping entries
-
getGroundMapping
public SensorToGroundMapping getGroundMapping(String ruggedName, String sensorName)
Get a ground Mapping for a sensor.- Parameters:
ruggedName- Rugged namesensorName- sensor name- Returns:
- selected ground mapping or null if sensor is not found
-
getInterMappings
public Collection<SensorToSensorMapping> getInterMappings()
Get the sensor to sensor values.- Returns:
- the inter-mappings
-
getNbModels
public int getNbModels()
Get the number of viewing models to map.- Returns:
- the number of viewing models to map
-
getInterMapping
public SensorToSensorMapping getInterMapping(String ruggedNameA, String sensorNameA, String ruggedNameB, String sensorNameB)
Get a sensor mapping for a sensor.returns sensor to sensor mapping associated with specific sensors and related rugged instance.
- Parameters:
ruggedNameA- Rugged name AsensorNameA- sensor name AruggedNameB- Rugged name BsensorNameB- sensor name B- Returns:
- selected ground mapping or null if a sensor is not found
-
-