Package gaia.cu9.tools.parallax
Class DistanceEstimator
java.lang.Object
gaia.cu9.tools.parallax.DistanceEstimator
This class calculates the distance estimation for a given star.
In the constructor, the estimator of the PDF of the distance to be used
is specified, and can be reused for several stars.
Several parameters controlling how the estimation should be done can be
passed through an optional Map<String, String>
- Author:
- eutrilla
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDistanceEstimator
(DistanceEstimator.EstimationType type, Map<String, String> parameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected double
distanceToModulus
(double r) estimate
(StarVariables star) protected boolean
getBoolean
(String key, Map<String, String> parameters, boolean defaultValue) double[][]
getDistanceCdf
(StarVariables star) double[][]
protected double
protected DistanceEstimationMethod
protected int
-
Constructor Details
-
DistanceEstimator
public DistanceEstimator() -
DistanceEstimator
-
-
Method Details
-
getDistanceCdf
-
getDistanceModulusCdf
-
estimate
-
distanceToModulus
protected double distanceToModulus(double r) -
getDouble
-
getInt
-
getBoolean
-
getEstimationMethod
-