Interface FixedRadiusConePixer


  • public interface FixedRadiusConePixer
    Can calculate which sky pixels fall within a cone of variable radius.
    Since:
    10 May 2022
    Author:
    Mark Taylor
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object[] getPixels​(double alpha, double delta)
      Returns an array of objects representing pixels in a fixed-radius cone around a given sky position.
    • Method Detail

      • getPixels

        java.lang.Object[] getPixels​(double alpha,
                                     double delta)
        Returns an array of objects representing pixels in a fixed-radius cone around a given sky position. Any pixels overlapping the cone must be returned; additional pixels (false positives) may also be returned. The output objects must implement the equals and hashCode methods appropriately, so that objects returned from one call can be compared for identity with objects returned from a subsequent call.

        Instances of this class are not thread-safe, and should not be used concurrently from multiple threads.

        Parameters:
        alpha - right ascension of circle centre in radians
        delta - declination of circle centre in radians
        Returns:
        array of comparable pixel objects