MatchEngine
EllipseSkyMatchEngine
, ErrorSkyMatchEngine
, FixedSkyMatchEngine
public abstract class AbstractSkyMatchEngine extends java.lang.Object implements MatchEngine
NO_BINS
Modifier | Constructor | Description |
---|---|---|
protected |
AbstractSkyMatchEngine(SkyPixellator pixellator,
double scale) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
static double |
calculateSeparation(double alpha1,
double delta1,
double alpha2,
double delta2) |
Returns the distance along a great circle between two points.
|
protected double |
getScale() |
Returns the length scale used for sky pixellisation.
|
DescribedValue[] |
getTuningParameters() |
Returns a set of DescribedValue objects whose values can be modified
to tune the performance of the match.
|
protected void |
setScale(double scale) |
Sets the length scale used for sky pixellisation.
|
abstract java.lang.String |
toString() |
canBoundMatch, getBins, getMatchBounds, getMatchParameters, getMatchScoreInfo, getScoreScale, getTupleInfos, matchScore
protected AbstractSkyMatchEngine(SkyPixellator pixellator, double scale)
pixellator
- handles sky pixellisationscale
- initial length scale for pixels, in radiansprotected void setScale(double scale)
scale
- pixel length scale in radiansprotected double getScale()
public DescribedValue[] getTuningParameters()
MatchEngine
DescribedValue.setValue(java.lang.Object)
on the
returned objects.
Changing these values will make no difference to the output of
MatchEngine.matchScore(java.lang.Object[], java.lang.Object[])
, but may change the output of MatchEngine.getBins(java.lang.Object[])
.
This may change the CPU and memory requirements of the match,
but will not change the result. The default value should be
something sensible, so that setting the value of these parameters
is not in general required.
getTuningParameters
in interface MatchEngine
public abstract java.lang.String toString()
toString
in class java.lang.Object
public static double calculateSeparation(double alpha1, double delta1, double alpha2, double delta2)
alpha1
- right ascension of point 1 in radiansdelta1
- declination of point 1 in radiansalpha2
- right ascension of point 2 in radiansdelta2
- declination of point 2 in radiansCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.