Class ErrorSkyMatchEngine.InDegrees

  • All Implemented Interfaces:
    MatchEngine
    Enclosing class:
    ErrorSkyMatchEngine

    public static class ErrorSkyMatchEngine.InDegrees
    extends ErrorSkyMatchEngine
    MatchEngine class that behaves like ErrorSkyMatchEngine but uses human-friendly units (degrees and arcseconds) rather than radians for tuple elements and match parameters.
    • Constructor Detail

      • InDegrees

        public InDegrees​(SkyPixellator pixellator,
                         double scaleRadians)
        Constructor.
        Parameters:
        pixellator - handles sky pixellisation
        scaleRadians - initial value for length scale, in radians
    • Method Detail

      • 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's nullable 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 interface MatchEngine
        Overrides:
        getTupleInfos in class ErrorSkyMatchEngine
        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 calling DescribedValue.setValue(java.lang.Object) on the returned objects.
        Specified by:
        getMatchParameters in interface MatchEngine
        Overrides:
        getMatchParameters in class ErrorSkyMatchEngine
        Returns:
        array of described values which influence the match