public abstract class AbstractSkyMatchEngine extends Object implements MatchEngine
Modifier | Constructor and Description |
---|---|
protected |
AbstractSkyMatchEngine(SkyPixellator pixellator,
double scale)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static double |
calculateSeparation(double alpha1,
double delta1,
double alpha2,
double delta2)
Returns the distance along a great circle between two points.
|
SkyPixellator |
getPixellator()
Returns this object's pixellator.
|
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.
|
static boolean |
isSkyPosition(double alpha,
double delta)
Indicates whether a (longitude, latitude) pair can be interpreted
as a legal position on the sky.
|
protected void |
setScale(double scale)
Sets the length scale used for sky pixellisation.
|
abstract String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createCoverageFactory, createMatchKitFactory, getMatchParameters, getMatchScoreInfo, getScoreScale, getTupleInfos
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
MatchKit.matchScore(java.lang.Object[], java.lang.Object[])
, but may change the output of
MatchKit.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 SkyPixellator getPixellator()
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 radianspublic static boolean isSkyPosition(double alpha, double delta)
alpha
- longitude in radiansdelta
- latitude in radiansCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.