Class AbstractSkyMatchEngine

    • Constructor Detail

      • AbstractSkyMatchEngine

        protected AbstractSkyMatchEngine​(SkyPixellator pixellator,
                                         double scale)
        Constructor.
        Parameters:
        pixellator - handles sky pixellisation
        scale - initial length scale for pixels, in radians
    • Method Detail

      • setScale

        protected void setScale​(double scale)
        Sets the length scale used for sky pixellisation.
        Parameters:
        scale - pixel length scale in radians
      • getScale

        protected double getScale()
        Returns the length scale used for sky pixellisation.
        Returns:
        pixel length scale in radians
      • toString

        public abstract java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • calculateSeparation

        public static double calculateSeparation​(double alpha1,
                                                 double delta1,
                                                 double alpha2,
                                                 double delta2)
        Returns the distance along a great circle between two points.
        Parameters:
        alpha1 - right ascension of point 1 in radians
        delta1 - declination of point 1 in radians
        alpha2 - right ascension of point 2 in radians
        delta2 - declination of point 2 in radians
        Returns:
        angular separation of point 1 and point 2 in radians