Class SIAPGenerator

java.lang.Object
skyview.survey.SIAPGenerator
All Implemented Interfaces:
ImageGenerator
Direct Known Subclasses:
AkariGenerator, NeatGenerator, SIAP2Generator

public class SIAPGenerator extends Object implements ImageGenerator
This class gets a set of candidates from a SIAP request
  • Constructor Details

    • SIAPGenerator

      public SIAPGenerator()
  • Method Details

    • getBaseURL

      protected String getBaseURL()
      Find the base URL for this SIAP service
    • getSurveyName

      protected String getSurveyName()
    • getImages

      public void getImages(double ra, double dec, double size, ArrayList<String> spells) throws Exception
      Get images from a SIAP service
      Specified by:
      getImages in interface ImageGenerator
      Throws:
      Exception
    • addPosToURL

      protected String addPosToURL(String base, double ra, double dec, double size)
    • updateURL

      protected String updateURL(String input)
      Do regular expression transformation if requested. Other classes can override but should probably call this first unless they explicitly handle this.