Exemple #1
0
 def __init__(self, **kwargs):
     BaseFakeSourcesTask.__init__(self, **kwargs)
     print("RNG seed:", self.config.seed)
     self.rng = afwMath.Random(seed=self.config.seed)
     self.npRand = np.random.RandomState(self.config.seed)
     try:
         self.starData = fits.open(self.config.starList)[1].data
     except Exception:
         raise
 def __init__(self, **kwargs):
     BaseFakeSourcesTask.__init__(self, **kwargs)
     print("RNG seed:", self.config.seed)
     self.rng = lsst.afw.math.Random(seed=self.config.seed)
     self.npRand = np.random.RandomState(self.config.seed)
Exemple #3
0
 def __init__(self, **kwargs):
     BaseFakeSourcesTask.__init__(self, **kwargs)
 def __init__(self, **kwargs):
     BaseFakeSourcesTask.__init__(self, **kwargs)