LSST Applications g0d97872fb5+4fd969bb9d,g1653933729+34a971ddd9,g28da252d5a+072f89fe25,g2bbee38e9b+a99b0ab4cd,g2bc492864f+a99b0ab4cd,g2ca4be77d2+c0e3b27cd8,g2cdde0e794+704103fe75,g3156d2b45e+6e87dc994a,g347aa1857d+a99b0ab4cd,g35bb328faa+34a971ddd9,g3a166c0a6a+a99b0ab4cd,g3e281a1b8c+8ec26ec694,g4005a62e65+ba0306790b,g414038480c+9ed5ed841a,g569e0e2b34+cb4faa46ad,g5a97de2502+520531a62c,g717e5f8c0f+29153700a5,g7ede599f99+367733290c,g80478fca09+17051a22cc,g82479be7b0+f2f1ea0a87,g858d7b2824+29153700a5,g8b782ad322+29153700a5,g8cd86fa7b1+05420e7f7d,g9125e01d80+34a971ddd9,ga5288a1d22+e7f674aaf3,gae0086650b+34a971ddd9,gae74b0b5c6+45ef5cdc51,gb58c049af0+ace264a4f2,gc28159a63d+a99b0ab4cd,gcf0d15dbbd+8051a81198,gda6a2b7d83+8051a81198,gdaeeff99f8+7774323b41,gdf4d240d4a+34a971ddd9,ge2409df99d+cb167bac99,ge33fd446bb+29153700a5,ge79ae78c31+a99b0ab4cd,gf0baf85859+890af219f9,gf5289d68f6+9faa5c5784,w.2024.36
LSST Data Management Base Package
|
Classes | |
class | MakePsfMatchedWarpConnections |
Variables | |
direct_warp : `lsst.afw.image.Exposure` | |
struct : `lsst.pipe.base.Struct` | |
lsst.pipe.tasks.make_psf_matched_warp.direct_warp : `lsst.afw.image.Exposure` |
sky_map = Input( doc="Input definition of geometry/bbox and projection/wcs for warps.", name=BaseSkyMap.SKYMAP_DATASET_TYPE_NAME, storageClass="SkyMap", dimensions=("skymap",), ) direct_warp = Input( doc="Direct warped exposure produced by resampling calexps onto the skyMap patch geometry", name="{coaddName}Coadd_directWarp", storageClass="ExposureF", dimensions=("tract", "patch", "skymap", "instrument", "visit"), ) psf_matched_warp = Output( doc=( "Output PSF-Matched warped exposure, produced by resampling ", "calexps onto the skyMap patch geometry and PSF-matching to a model PSF.", ), name="{coaddName}Coadd_psfMatchedWarp", storageClass="ExposureF", dimensions=("tract", "patch", "skymap", "visit", "instrument"), ) class MakePsfMatchedWarpConfig( PipelineTaskConfig, pipelineConnections=MakePsfMatchedWarpConnections, ):
modelPsf = GaussianPsfFactory.makeField(doc="Model Psf factory") psfMatch = ConfigurableField( target=ModelPsfMatchTask, doc="Task to warp and PSF-match calexp", ) def setDefaults(self): super().setDefaults() self.psfMatch.kernel["AL"].alardSigGauss = [1.0, 2.0, 4.5] self.modelPsf.defaultFwhm = 7.7 class MakePsfMatchedWarpTask(PipelineTask): ConfigClass = MakePsfMatchedWarpConfig _DefaultName = "makePsfMatchedWarp" def __init__(self, **kwargs): super().__init__(**kwargs) self.makeSubtask("psfMatch") def runQuantum(self, butlerQC, inputRefs, outputRefs): # Docstring inherited. # Read in all inputs. inputs = butlerQC.get(inputRefs) sky_map = inputs.pop("sky_map") quantumDataId = butlerQC.quantum.dataId sky_info = makeSkyInfo( sky_map, tractId=quantumDataId["tract"], patchId=quantumDataId["patch"], ) results = self.run(inputs["direct_warp"], sky_info.bbox) butlerQC.put(results, outputRefs) @timeMethod def run(self, direct_warp: Exposure, bbox: geom.Box2I):
Definition at line 150 of file make_psf_matched_warp.py.
lsst.pipe.tasks.make_psf_matched_warp.struct : `lsst.pipe.base.Struct` |
Definition at line 155 of file make_psf_matched_warp.py.