LSSTApplications
17.0+10,17.0+52,17.0+91,18.0.0+11,18.0.0+16,18.0.0+38,18.0.0+4,18.0.0-2-ge43143a+8,18.1.0-1-g0001055+4,18.1.0-1-g1349e88+13,18.1.0-1-g2505f39+10,18.1.0-1-g380d4d4+13,18.1.0-1-g5315e5e,18.1.0-1-g5e4b7ea+4,18.1.0-1-g7e8fceb,18.1.0-1-g85f8cd4+10,18.1.0-1-g9a6769a+4,18.1.0-1-ga1a4c1a+9,18.1.0-1-gd55f500+5,18.1.0-1-ge10677a+10,18.1.0-11-gb2589d7b,18.1.0-13-g451e75588+2,18.1.0-13-gbfe7f7f+4,18.1.0-14-g2e73c10+1,18.1.0-2-g31c43f9+10,18.1.0-2-g919ecaf,18.1.0-2-g9c63283+13,18.1.0-2-gdf0b915+13,18.1.0-2-gfefb8b5+2,18.1.0-3-g52aa583+4,18.1.0-3-g8f4a2b1+4,18.1.0-3-g9cb968e+12,18.1.0-3-gab23065,18.1.0-4-g7bbbad0+4,18.1.0-5-g510c42a+12,18.1.0-5-gaeab27e+13,18.1.0-6-gc4bdb98+2,18.1.0-6-gdda7f3e+15,18.1.0-9-g9613d271+1,w.2019.34
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | __init__ (self, butler=None, schema=None, peakSchema=None, kwargs) |
def | getSchemaCatalogs (self) |
def | runDataRef (self, patchRefList, psfCache=100) |
def | readSources (self, dataRef) |
def | write (self, dataRef, flux_sources, template_sources=None) |
def | writeMetadata (self, dataRefList) |
def | getExposureId (self, dataRef) |
Public Attributes | |
schemaMapper | |
schema | |
Static Public Attributes | |
ConfigClass = DeblendCoaddSourcesConfig | |
RunnerClass = DeblendCoaddSourcesRunner | |
makeIdFactory = _makeMakeIdFactory("MergedCoaddId") | |
Deblend the sources in a merged catalog Deblend sources from master catalog in each coadd. This can either be done separately in each band using the HSC-SDSS deblender (`DeblendCoaddSourcesTask.config.simultaneous==False`) or use SCARLET to simultaneously fit the blend in all bands (`DeblendCoaddSourcesTask.config.simultaneous==True`). The task will set its own `self.schema` atribute to the `Schema` of the output deblended catalog. This will include all fields from the input `Schema`, as well as additional fields from the deblender. `pipe.tasks.multiband.DeblendCoaddSourcesTask Description --------------------------------------------------------- ` Parameters ---------- butler: `Butler` Butler used to read the input schemas from disk or construct the reference catalog loader, if `schema` or `peakSchema` or schema: `Schema` The schema of the merged detection catalog as an input to this task. peakSchema: `Schema` The schema of the `PeakRecord`s in the `Footprint`s in the merged detection catalog
Definition at line 396 of file multiBand.py.
def lsst.pipe.tasks.multiBand.DeblendCoaddSourcesTask.__init__ | ( | self, | |
butler = None , |
|||
schema = None , |
|||
peakSchema = None , |
|||
kwargs | |||
) |
Definition at line 437 of file multiBand.py.
def lsst.pipe.tasks.multiBand.DeblendCoaddSourcesTask.getExposureId | ( | self, | |
dataRef | |||
) |
def lsst.pipe.tasks.multiBand.DeblendCoaddSourcesTask.getSchemaCatalogs | ( | self | ) |
Return a dict of empty catalogs for each catalog dataset produced by this task. Returns ------- result: dict Dictionary of empty catalogs, with catalog names as keys.
Definition at line 454 of file multiBand.py.
def lsst.pipe.tasks.multiBand.DeblendCoaddSourcesTask.readSources | ( | self, | |
dataRef | |||
) |
Read merged catalog Read the catalog of merged detections and create a catalog in a single band. Parameters ---------- dataRef: data reference Data reference for catalog of merged detections Returns ------- sources: `SourceCatalog` List of sources in merged catalog We also need to add columns to hold the measurements we're about to make so we can measure in-place.
Definition at line 509 of file multiBand.py.
def lsst.pipe.tasks.multiBand.DeblendCoaddSourcesTask.runDataRef | ( | self, | |
patchRefList, | |||
psfCache = 100 |
|||
) |
Deblend the patch Deblend each source simultaneously or separately (depending on `DeblendCoaddSourcesTask.config.simultaneous`). Set `is-primary` and related flags. Propagate flags from individual visits. Write the deblended sources out. Parameters ---------- patchRefList: list List of data references for each filter
Definition at line 466 of file multiBand.py.
def lsst.pipe.tasks.multiBand.DeblendCoaddSourcesTask.write | ( | self, | |
dataRef, | |||
flux_sources, | |||
template_sources = None |
|||
) |
Write the source catalog(s) Parameters ---------- dataRef: Data Reference Reference to the output catalog. flux_sources: `SourceCatalog` Flux conserved sources to write to file. If using the single band deblender, this is the catalog generated. template_sources: `SourceCatalog` Source catalog using the multiband template models as footprints.
Definition at line 538 of file multiBand.py.
def lsst.pipe.tasks.multiBand.DeblendCoaddSourcesTask.writeMetadata | ( | self, | |
dataRefList | |||
) |
Write the metadata produced from processing the data. Parameters ---------- dataRefList List of Butler data references used to write the metadata. The metadata is written to dataset type `CmdLineTask._getMetadataName`.
Definition at line 566 of file multiBand.py.
|
static |
Definition at line 423 of file multiBand.py.
|
static |
Definition at line 426 of file multiBand.py.
|
static |
Definition at line 424 of file multiBand.py.
lsst.pipe.tasks.multiBand.DeblendCoaddSourcesTask.schema |
Definition at line 444 of file multiBand.py.
lsst.pipe.tasks.multiBand.DeblendCoaddSourcesTask.schemaMapper |
Definition at line 442 of file multiBand.py.