|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.table.join.SkyMatchEngine
uk.ac.starlink.table.join.HTMMatchEngine
Implements the object matching interface for sky coordinates using the HTM (Hierarchical Triangular Mesh) pixel-indexing scheme.
Note that the HEALPixMatchEngine
implementation normally gives
much faster matching than this and should generally be used in
preference.
Field Summary | |
static double |
HTM_MIN_RESOLUTION
Minimum resolution in degrees supported by HTM implementation. |
static double |
MESH_SCALE
Scaling factor which determines the size of the mesh cells used as a multiple of the size of the separation. |
Fields inherited from interface uk.ac.starlink.table.join.MatchEngine |
NO_BINS |
Constructor Summary | |
HTMMatchEngine(double separation,
boolean useErrors)
Constructs a new match engine which considers two points (RA,Dec tuples) to match if they are within a given angular distance on the celestial sphere. |
Method Summary | |
Object[] |
getBins(double ra,
double dec,
double err)
Returns all the HTM cells which fall wholly or partially within err radians of a given position. |
void |
setSeparation(double separation)
Configures this match engine to consider two points (RA,Dec tuples) to match if they are within a given angular distance on the celestial sphere. |
Methods inherited from class uk.ac.starlink.table.join.SkyMatchEngine |
calculateSeparation, canBoundMatch, getBins, getMatchBounds, getMatchParameters, getMatchScoreInfo, getSeparation, getTupleInfos, getUseErrors, matchScore, setUseErrors, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final double HTM_MIN_RESOLUTION
public static final double MESH_SCALE
Constructor Detail |
public HTMMatchEngine(double separation, boolean useErrors)
separation
- match radius in radiansuseErrors
- if true, per-row errors can be specified as
a third element of the tuples; otherwise only the fixed
separation value countsMethod Detail |
public void setSeparation(double separation)
SkyMatchEngine
setSeparation
in class SkyMatchEngine
separation
- match radius in radianspublic Object[] getBins(double ra, double dec, double err)
getBins
in class SkyMatchEngine
ra
- right ascensiondec
- declinationerr
- error
SkyMatchEngine.getBins(java.lang.Object[])
|
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 |