lsst.afw.detection

Module for manipulating detected pixels.

Using lsst.afw.detection

Contributing

lsst.afw.detection is developed at https://github.com/lsst/afw. You can find Jira issues for this module under the afw component.

Python API reference

lsst.afw.detection Package

Functions

createThreshold(value[, type, polarity])

footprintToBBoxList(arg0)

makeHeavyFootprint(*args, **kwargs)

Overloaded function.

mergeFootprints(arg0, arg1)

mergeHeavyFootprints(*args, **kwargs)

Overloaded function.

setMaskFromFootprintList(mask, footprints, ...)

Classes

Footprint

FootprintControl

FootprintMergeList

FootprintSet

GaussianPsf

HeavyFootprintCtrl

HeavyFootprintD

HeavyFootprintF

HeavyFootprintI

HeavyFootprintU

MultibandFootprint(filters, singles)

Multiband Footprint class

PeakCatalog

PeakColumnView

PeakRecord

PeakTable

Psf

Threshold

Class Inheritance Diagram

digraph inheritance747525c446 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "ABC" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Helper class that provides a standard way to create an ABC using"]; "BaseRecord" [URL="../../../py-api/lsst.afw.table.BaseRecord.html#lsst.afw.table.BaseRecord",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "pybind11_object" -> "BaseRecord" [arrowsize=0.5,style="setlinewidth(0.5)"]; "BaseTable" [URL="../../../py-api/lsst.afw.table.BaseTable.html#lsst.afw.table.BaseTable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "pybind11_object" -> "BaseTable" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Footprint" [URL="../../../py-api/lsst.afw.detection.Footprint.html#lsst.afw.detection.Footprint",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "pybind11_object" -> "Footprint" [arrowsize=0.5,style="setlinewidth(0.5)"]; "FootprintControl" [URL="../../../py-api/lsst.afw.detection.FootprintControl.html#lsst.afw.detection.FootprintControl",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "pybind11_object" -> "FootprintControl" [arrowsize=0.5,style="setlinewidth(0.5)"]; "FootprintMergeList" [URL="../../../py-api/lsst.afw.detection.FootprintMergeList.html#lsst.afw.detection.FootprintMergeList",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "pybind11_object" -> "FootprintMergeList" [arrowsize=0.5,style="setlinewidth(0.5)"]; "FootprintSet" [URL="../../../py-api/lsst.afw.detection.FootprintSet.html#lsst.afw.detection.FootprintSet",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "pybind11_object" -> "FootprintSet" [arrowsize=0.5,style="setlinewidth(0.5)"]; "GaussianPsf" [URL="../../../py-api/lsst.afw.detection.GaussianPsf.html#lsst.afw.detection.GaussianPsf",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Psf" -> "GaussianPsf" [arrowsize=0.5,style="setlinewidth(0.5)"]; "HeavyFootprintCtrl" [URL="../../../py-api/lsst.afw.detection.HeavyFootprintCtrl.html#lsst.afw.detection.HeavyFootprintCtrl",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "pybind11_object" -> "HeavyFootprintCtrl" [arrowsize=0.5,style="setlinewidth(0.5)"]; "HeavyFootprintD" [URL="../../../py-api/lsst.afw.detection.HeavyFootprintD.html#lsst.afw.detection.HeavyFootprintD",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Footprint" -> "HeavyFootprintD" [arrowsize=0.5,style="setlinewidth(0.5)"]; "HeavyFootprintF" [URL="../../../py-api/lsst.afw.detection.HeavyFootprintF.html#lsst.afw.detection.HeavyFootprintF",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Footprint" -> "HeavyFootprintF" [arrowsize=0.5,style="setlinewidth(0.5)"]; "HeavyFootprintI" [URL="../../../py-api/lsst.afw.detection.HeavyFootprintI.html#lsst.afw.detection.HeavyFootprintI",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Footprint" -> "HeavyFootprintI" [arrowsize=0.5,style="setlinewidth(0.5)"]; "HeavyFootprintU" [URL="../../../py-api/lsst.afw.detection.HeavyFootprintU.html#lsst.afw.detection.HeavyFootprintU",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Footprint" -> "HeavyFootprintU" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MultibandBase" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Base class for multiband objects"]; "ABC" -> "MultibandBase" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MultibandFootprint" [URL="../../../py-api/lsst.afw.detection.MultibandFootprint.html#lsst.afw.detection.MultibandFootprint",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Multiband Footprint class"]; "MultibandBase" -> "MultibandFootprint" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PeakCatalog" [URL="../../../py-api/lsst.afw.detection.PeakCatalog.html#lsst.afw.detection.PeakCatalog",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "pybind11_object" -> "PeakCatalog" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PeakColumnView" [URL="../../../py-api/lsst.afw.detection.PeakColumnView.html#lsst.afw.detection.PeakColumnView",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "_BaseColumnViewBase" -> "PeakColumnView" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PeakRecord" [URL="../../../py-api/lsst.afw.detection.PeakRecord.html#lsst.afw.detection.PeakRecord",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "BaseRecord" -> "PeakRecord" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PeakTable" [URL="../../../py-api/lsst.afw.detection.PeakTable.html#lsst.afw.detection.PeakTable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "BaseTable" -> "PeakTable" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Persistable" [URL="../../../py-api/lsst.afw.table.io.Persistable.html#lsst.afw.table.io.Persistable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "pybind11_object" -> "Persistable" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Psf" [URL="../../../py-api/lsst.afw.detection.Psf.html#lsst.afw.detection.Psf",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Storable" -> "Psf" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Storable" [URL="../../../py-api/lsst.afw.typehandling.Storable.html#lsst.afw.typehandling.Storable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Persistable" -> "Storable" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Threshold" [URL="../../../py-api/lsst.afw.detection.Threshold.html#lsst.afw.detection.Threshold",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "pybind11_object" -> "Threshold" [arrowsize=0.5,style="setlinewidth(0.5)"]; "_BaseColumnViewBase" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "pybind11_object" -> "_BaseColumnViewBase" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pybind11_object" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; }

lsst.afw.detection.utils Module

Functions

writeFootprintAsDefects(fd, foot)

Write foot as a set of Defects to fd