|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.table.join.AbstractSkyMatchEngine
public abstract class AbstractSkyMatchEngine
Abstract superclass for MatchEngines which work on the celestial sphere.
Field Summary |
---|
Fields inherited from interface uk.ac.starlink.table.join.MatchEngine |
---|
NO_BINS |
Constructor Summary | |
---|---|
protected |
AbstractSkyMatchEngine(SkyPixellator pixellator,
double scale)
Constructor. |
Method Summary | |
---|---|
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 String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface uk.ac.starlink.table.join.MatchEngine |
---|
canBoundMatch, getBins, getMatchBounds, getMatchParameters, getMatchScoreInfo, getTupleInfos, matchScore |
Constructor Detail |
---|
protected AbstractSkyMatchEngine(SkyPixellator pixellator, double scale)
pixellator
- handles sky pixellisationscale
- initial length scale for pixels, in radiansMethod Detail |
---|
protected 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 String toString()
toString
in class 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 radians
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |