Package uk.ac.starlink.table.join
Class ErrorSkyMatchEngine.InDegrees
java.lang.Object
uk.ac.starlink.table.join.AbstractSkyMatchEngine
uk.ac.starlink.table.join.ErrorSkyMatchEngine
uk.ac.starlink.table.join.ErrorSkyMatchEngine.InDegrees
- All Implemented Interfaces:
MatchEngine
- Enclosing class:
ErrorSkyMatchEngine
MatchEngine class that behaves like ErrorSkyMatchEngine 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.ErrorSkyMatchEngine
ErrorSkyMatchEngine.InDegrees
-
Constructor Summary
ConstructorsConstructorDescriptionInDegrees
(SkyPixellator pixellator, ErrorSummation errorSummation, double scaleRadians) Constructor. -
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.ErrorSkyMatchEngine
createCoverageFactory, createMatchKitFactory, getMatchScoreInfo, getScale, getScoreScale, setScale, toString
Methods inherited from class uk.ac.starlink.table.join.AbstractSkyMatchEngine
calculateSeparation, getPixellator, getTuningParameters, isSkyPosition
-
Constructor Details
-
InDegrees
Constructor.- Parameters:
pixellator
- handles sky pixellisationerrorSummation
- error combination methodscaleRadians
- initial value for length scale, 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 classErrorSkyMatchEngine
- 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 classErrorSkyMatchEngine
- Returns:
- array of described values which influence the match
-