Esempio n. 1
0
    def __init__(self,
                 butler=None,
                 psfRefObjLoader=None,
                 astromRefObjLoader=None,
                 photoRefObjLoader=None,
                 *args,
                 **kwargs):
        """!
        Constructor

        The psfRefObjLoader, astromRefObjLoader, photoRefObjLoader should
        be an instance of LoadReferenceObjectsTasks that supplies an external
        reference catalog. They may be None if the butler argument is
        provided or the particular reference catalog is not required.

        @param[in] butler  The butler is passed to the refObjLoader constructor in case it is
            needed.  Ignored if the refObjLoader argument provides a loader directly.
        @param[in] psfRefObjLoader  Reference catalog loader for PSF determination.
        @param[in] astromRefObjLoader  Reference catalog loader for astrometric calibration.
        @param[in] photoRefObjLoader Reference catalog loader for photometric calibration.
        @param[in,out] kwargs  other keyword arguments for lsst.ctrl.pool.BatchParallelTask
        """
        BatchParallelTask.__init__(self, *args, **kwargs)
        self.ignoreCcds = set(self.config.ignoreCcdList)
        self.makeSubtask("processCcd",
                         butler=butler,
                         psfRefObjLoader=psfRefObjLoader,
                         astromRefObjLoader=astromRefObjLoader,
                         photoRefObjLoader=photoRefObjLoader)
Esempio n. 2
0
    def __init__(self, *args, **kwargs):
        """!
        Constructor

        @param[in,out] kwargs  other keyword arguments for
                               lsst.ctrl.pool.BatchParallelTask
        """
        BatchParallelTask.__init__(self, *args, **kwargs)
        self.ignoreCcds = set(self.config.ignoreCcdList)
        self.makeSubtask("fitDonut")
Esempio n. 3
0
 def __init__(self, butler=None, refObjLoader=None, *args, **kwargs):
     """!
     @param[in] butler  The butler is passed to the refObjLoader constructor in case it is
         needed.  Ignored if the refObjLoader argument provides a loader directly.
     @param[in] refObjLoader  An instance of LoadReferenceObjectsTasks that supplies an
         external reference catalog.  May be None if the butler argument is provided or
         all steps requiring a reference catalog are disabled.
     @param[in,out] kwargs  other keyword arguments for lsst.ctrl.pool.BatchParallelTask
     """
     BatchParallelTask.__init__(self, *args, **kwargs)
     self.ignoreCcds = set(self.config.ignoreCcdList)
     self.makeSubtask("processCcd", butler=butler, refObjLoader=refObjLoader)
Esempio n. 4
0
 def __init__(self, *args, **kwargs):
     """
     Parameters
     ----------
     kwargs :  other keyword arguments for lsst.ctrl.pool.BatchParallelTask
     """
     BatchParallelTask.__init__(self, *args, **kwargs)
     self.ignoreCcds = set(self.config.ignoreCcdList)
     self.makeSubtask("processCcdWithFakes")
     if self.config.doMakeSourceTable:
         self.makeSubtask("writeSourceTable")
         self.makeSubtask("transformSourceTable")
Esempio n. 5
0
    def __init__(self, butler=None, *args, **kwargs):

        BatchParallelTask.__init__(self, *args, **kwargs)
        self.makeSubtask("forcedPhot", butler=butler)
Esempio n. 6
0
 def __init__(self, butler=None, *args, **kwargs):
     """!
     Constructor
     """
     BatchParallelTask.__init__(self, *args, **kwargs)
     self.makeSubtask("processPatch")
 def __init__(self, butler, *args, **kwargs):
     BatchParallelTask.__init__(self, *args, **kwargs)
     self.makeSubtask("undeblendedConvolved", butler=butler)
 def __init__(self, butler=None, refObjLoader=None, *args, **kwargs):
     BatchParallelTask.__init__(self, *args, **kwargs)
     self.ignoreCcds = set(self.config.ignoreCcdList)
     self.makeSubtask("imageDifference", butler=butler)
Esempio n. 9
0
 def __init__(self, butler=None, *args, **kwargs):
     BatchParallelTask.__init__(self, *args, **kwargs)
     self.ignoreCcds = set(self.config.ignoreCcdList)
     self.makeSubtask("forced", butler=butler)