Package uk.ac.starlink.table.join
Class FixedSkyMatchEngine.InDegrees
java.lang.Object
uk.ac.starlink.table.join.AbstractSkyMatchEngine
uk.ac.starlink.table.join.FixedSkyMatchEngine
uk.ac.starlink.table.join.FixedSkyMatchEngine.InDegrees
- All Implemented Interfaces:
MatchEngine
- Enclosing class:
FixedSkyMatchEngine
MatchEngine class that behaves like FixedSkyMatchEngine but uses
human-friendly units (degrees and arcseconds) rather than radians
for tuple elements and match parameters.
-
Nested Class Summary
Nested classes/interfaces inherited from class uk.ac.starlink.table.join.FixedSkyMatchEngine
FixedSkyMatchEngine.InDegrees
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionuk.ac.starlink.table.DescribedValue[]
Returns a set of DescribedValue objects whose values can be modified to modify the matching criteria.uk.ac.starlink.table.ValueInfo[]
Returns a set of ValueInfo objects indicating what is required for the elements of each tuple.Methods inherited from class uk.ac.starlink.table.join.FixedSkyMatchEngine
createCoverageFactory, createMatchKitFactory, getMatchScoreInfo, getScoreScale, getSeparation, setSeparation, toString
Methods inherited from class uk.ac.starlink.table.join.AbstractSkyMatchEngine
calculateSeparation, getPixellator, getScale, getTuningParameters, isSkyPosition, setScale
-
Constructor Details
-
InDegrees
Constructor.- Parameters:
pixellator
- handles sky pixellisationsepRadians
- initial value for maximum match separation, in radians
-
-
Method Details
-
getTupleInfos
public uk.ac.starlink.table.ValueInfo[] getTupleInfos()Description copied from interface:MatchEngine
Returns a set of ValueInfo objects indicating what is required for the elements of each tuple. The length of this array is the number of elements in the tuple. Each element should at least have a defined name and content class. The info'snullable
attribute has a special meaning: if true it means that it makes sense for this element of the tuple to be always blank (for instance assigned to no column).- Specified by:
getTupleInfos
in interfaceMatchEngine
- Overrides:
getTupleInfos
in classFixedSkyMatchEngine
- Returns:
- array of objects describing the requirements on each element of the tuples used for matching
-
getMatchParameters
public uk.ac.starlink.table.DescribedValue[] getMatchParameters()Description copied from interface:MatchEngine
Returns a set of DescribedValue objects whose values can be modified to modify the matching criteria. Typically at least one of these will be some sort of tolerance separation which determines how close tuples must be to count as a match. This match engine's behaviour can be modified by callingDescribedValue.setValue(java.lang.Object)
on the returned objects.- Specified by:
getMatchParameters
in interfaceMatchEngine
- Overrides:
getMatchParameters
in classFixedSkyMatchEngine
- Returns:
- array of described values which influence the match
-