def setDefaults(self): Config.setDefaults(self) self.bgModel2.doSmooth = True self.bgModel2.minFrac = 0.5 self.bgModel2.xSize = 256 self.bgModel2.ySize = 256 self.bgModel2.smoothScale = 1.0
def setDefaults(self): Config.setDefaults(self) self.detection.reEstimateBackground = False self.detection.thresholdPolarity = "both" self.detection.doTempLocalBackground = False self.detection.thresholdType = "pixel_stdev" self.detection.thresholdValue = 3.0
def setDefaults(self): """These defaults are suitable for HSC, but may be useful for other cameras if the focus code is employed elsewhere. """ Config.setDefaults(self) zemaxBase = os.path.join(os.environ["OBS_SUBARU_DIR"], "hsc", "zemax_config%d_0.0.dat") self.zemax = dict([(f, zemaxBase % n) for f,n in [ ('g', 9), ('r', 1), ('i', 3), ('z', 5), ('y', 7), ('N921', 5), ('N816', 3), ('N1010', 7), ('N387', 9), ('N515', 9), ]]) self.load(os.path.join(os.environ["OBS_SUBARU_DIR"], "config", "hsc", "isr.py")) self.installPsf.fwhm = 9 # pixels self.installPsf.width = 31 # pixels self.detectAndMeasure.detection.includeThresholdMultiplier = 3.0 self.detectAndMeasure.measurement.algorithms.names.add("base_GaussianCentroid") self.detectAndMeasure.measurement.slots.centroid = "base_GaussianCentroid" # set up simple shape, if available (because focus calibrations are for that) # If it's not available, we'll crash later; but we don't want to crash here (brings everything down)! if haveSimpleShape: self.detectAndMeasure.measurement.algorithms.names.add("ext_simpleShape_SimpleShape") self.detectAndMeasure.measurement.algorithms["ext_simpleShape_SimpleShape"].sigma = 5.0 # pixels # set up background estimate self.background.ignoredPixelMask = ['EDGE', 'NO_DATA', 'DETECTED', 'DETECTED_NEGATIVE', 'BAD'] self.detectAndMeasure.detection.background.algorithm='LINEAR' self.detectAndMeasure.doDeblend = False self.starSelector.badFlags = ["base_PixelFlags_flag_edge", "base_PixelFlags_flag_interpolatedCenter", "base_PixelFlags_flag_saturatedCenter", "base_PixelFlags_flag_bad", ] self.starSelector.sourceFluxField = "base_GaussianFlux_flux" self.starSelector.widthMax = 20.0 self.starSelector.widthStdAllowed = 5.0
def setDefaults(self): Config.setDefaults(self) self.bgModel2.doSmooth = True self.bgModel2.minFrac = 0.5 self.bgModel2.xSize = 256 self.bgModel2.ySize = 256 self.bgModel2.smoothScale = 1.0 self.quantum.dimensions = ("instrument", "visit")
def setDefaults(self): Config.setDefaults(self) # Set ISR processing to run up until we would be applying the CT # correction. Applying subsequent stages may corrupt the signal. self.isr.doWrite = False self.isr.doOverscan = True self.isr.doAssembleCcd = True self.isr.doBias = True self.isr.doVariance = False # This isn't used in the calculation below. self.isr.doLinearize = True # This is the last ISR step we need. self.isr.doCrosstalk = False self.isr.doBrighterFatter = False self.isr.doDark = False self.isr.doStrayLight = False self.isr.doFlat = False self.isr.doFringe = False self.isr.doApplyGains = False self.isr.doDefect = True # Masking helps remove spurious pixels. self.isr.doSaturationInterpolation = False self.isr.growSaturationFootprintSize = 0 # We want the saturation spillover: it's good signal.
def setDefaults(self): Config.setDefaults(self) self.skyObjects.avoidMask = [ "DETECTED" ] # Nothing else is available in our custom mask
def setDefaults(self): Config.setDefaults(self) # Don't need the full set of apertures because the larger ones aren't affected by the convolution self.aperture.radii = [3.3, 4.5, 6.0]
def setDefaults(self): Config.setDefaults(self) self.detection.thresholdType = "pixel_stdev" self.detection.isotropicGrow = True self.detection.background.undersampleStyle = 'REDUCE_INTERP_ORDER'
def setDefaults(self): Config.setDefaults(self) self.deblend.propagateAllPeaks = True
def setDefaults(self): Config.setDefaults(self) self.forcedPhotCoadd.references.retarget(MultiBandReferencesTask)
def setDefaults(self): Config.setDefaults(self) self.isr.doWrite = False self.isr.growSaturationFootprintSize = 0 # We want the saturation spillover: it's good signal
def setDefaults(self): Config.setDefaults(self) self.formatTemplateNames({"inputCoaddName": 'deep', "outputCoaddName": "deep"}) self.skyObjects.avoidMask = ["DETECTED"] # Nothing else is available in our custom mask self.quantum.dimensions = ("Tract", "Patch", "SkyMap")