lsst.meas.base g45c73dd431+33871b0956
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Types | Protected Member Functions | Static Protected Member Functions | List of all members
lsst.meas.base.forcedPhotCcd.may Class Reference
Inheritance diagram for lsst.meas.base.forcedPhotCcd.may:
lsst.meas.base.forcedPhotCcd.for lsst::afw::table::Schema lsst.meas.base.forcedPhotCcd.for lsst.meas.base.forcedPhotCcd.for lsst.meas.base.forcedPhotCcd.for lsst.meas.base.forcedPhotCcd.for lsst.meas.base.forcedPhotCcd.for lsst.meas.base.forcedPhotCcd.for lsst.meas.base.forcedPhotCcd.for lsst.meas.base.forcedPhotCcd.for lsst.meas.base.forcedPhotCcd.for lsst.meas.base.forcedPhotCcd.for lsst::afw::detection::Footprint

Public Types

enum  ComparisonFlags
 

Public Member Functions

virtual bool isHeavy () const
 
std::shared_ptr< geom::SpanSet > getSpans () const
 
void setSpans (std::shared_ptr< geom::SpanSet > otherSpanSet)
 
PeakCatalog & getPeaks ()
 
const PeakCatalog & getPeaks () const
 
std::shared_ptr< PeakRecord > addPeak (float fx, float fy, float value)
 
void sortPeaks (afw::table::Key< float > const &key=afw::table::Key< float >())
 
void setPeakSchema (afw::table::Schema const &peakSchema)
 
void setPeakCatalog (PeakCatalog const &otherPeaks)
 
std::size_t getArea () const
 
lsst::geom::Point2D getCentroid () const
 
geom::ellipses::Quadrupole getShape () const
 
void shift (int dx, int dy)
 
void shift (lsst::geom::ExtentI const &d)
 
lsst::geom::Box2I getBBox () const
 
lsst::geom::Box2I getRegion () const
 
void setRegion (lsst::geom::Box2I const &region)
 
void clipTo (lsst::geom::Box2I const &bbox)
 
bool contains (lsst::geom::Point2I const &pix) const
 
std::shared_ptr< Footprinttransform (std::shared_ptr< geom::SkyWcs > source, std::shared_ptr< geom::SkyWcs > target, lsst::geom::Box2I const &region, bool doClip=true) const
 
std::shared_ptr< Footprinttransform (lsst::geom::LinearTransform const &t, lsst::geom::Box2I const &region, bool doClip=true) const
 
std::shared_ptr< Footprinttransform (lsst::geom::AffineTransform const &t, lsst::geom::Box2I const &region, bool doClip=true) const
 
std::shared_ptr< Footprinttransform (geom::TransformPoint2ToPoint2 const &t, lsst::geom::Box2I const &region, bool doClip=true) const
 
bool isPersistable () const noexcept override
 
void dilate (int r, geom::Stencil s=geom::Stencil::CIRCLE)
 
void dilate (geom::SpanSet const &other)
 
void erode (int r, geom::Stencil s=geom::Stencil::CIRCLE)
 
void erode (geom::SpanSet const &other)
 
void removeOrphanPeaks ()
 
void updatePeakSignificance (double sigma)
 
void updatePeakSignificance (image::Image< float > const &variance, int polarity)
 
bool isContiguous () const
 
std::vector< std::shared_ptr< Footprint > > split () const
 
bool operator== (Footprint const &other) const
 
void writeFits (std::string const &fileName, std::string const &mode="w") const
 
void writeFits (fits::MemFileManager &manager, std::string const &mode="w") const
 
void writeFits (fits::Fits &fitsfile) const
 
std::string join (std::string const &a, std::string const &b) const
 
std::string join (std::string const &a, std::string const &b, std::string const &c) const
 
std::string join (std::string const &a, std::string const &b, std::string const &c, std::string const &d) const
 
SchemaItem< T > find (std::string const &name) const
 
SchemaItem< T > find (Key< T > const &key) const
 
void findAndApply (std::string const &name, F &&func) const
 
SubSchema operator[] (std::string const &name) const
 
std::set< std::stringgetNames (bool topOnly=false) const
 
std::size_t getRecordSize () const
 
std::size_t getFieldCount () const
 
std::size_t getFlagFieldCount () const
 
std::size_t getNonFlagFieldCount () const
 
Key< T > addField (Field< T > const &field, bool doReplace=false)
 
Key< T > addField (std::string const &name, std::string const &doc, std::string const &units="", FieldBase< T > const &base=FieldBase< T >(), bool doReplace=false)
 
Key< T > addField (std::string const &name, std::string const &doc, FieldBase< T > const &base, bool doReplace=false)
 
void replaceField (Key< T > const &key, Field< T > const &field)
 
void forEach (F &func) const
 
void forEach (F const &func) const
 
bool operator== (Schema const &other) const
 
bool operator!= (Schema const &other) const
 
std::size_t hash_value () const noexcept
 
int compare (Schema const &other, int flags=EQUAL_KEYS) const
 
int contains (Schema const &other, int flags=EQUAL_KEYS) const
 
int contains (SchemaItem< T > const &item, int flags=EQUAL_KEYS) const
 
std::shared_ptr< AliasMap > getAliasMap () const
 
void setAliasMap (std::shared_ptr< AliasMap > aliases)
 
void disconnectAliases ()
 

Static Public Member Functions

static std::shared_ptr< lsst::afw::detection::FootprintreadFits (fits::Fits &fitsfile)
 
static std::shared_ptr< lsst::afw::detection::FootprintreadFits (std::string const &fileName, int hdu=fits::DEFAULT_HDU)
 
static std::shared_ptr< lsst::afw::detection::FootprintreadFits (fits::MemFileManager &manager, int hdu=fits::DEFAULT_HDU)
 
static std::shared_ptr< lsst::afw::detection::FootprintdynamicCast (std::shared_ptr< Persistable > const &ptr)
 
static Schema readFits (std::string const &filename, int hdu=fits::DEFAULT_HDU)
 
static Schema readFits (fits::MemFileManager &manager, int hdu=fits::DEFAULT_HDU)
 
static Schema readFits (fits::Fits &fitsfile)
 
static Schema fromFitsMetadata (daf::base::PropertyList &header, bool stripMetadata=true)
 

Public Attributes

 EQUAL_KEYS
 
 EQUAL_NAMES
 
 EQUAL_DOCS
 
 EQUAL_UNITS
 
 EQUAL_FIELDS
 
 EQUAL_ALIASES
 
 IDENTICAL
 

Static Public Attributes

 schema
 
static int const VERSION
 

Protected Types

typedef io::OutputArchiveHandle OutputArchiveHandle
 

Protected Member Functions

std::string getPersistenceName () const override
 
std::string getPythonModule () const override
 
void write (OutputArchiveHandle &handle) const override
 
virtual void write (OutputArchiveHandle &handle) const
 

Static Protected Member Functions

static std::unique_ptr< FootprintreadSpanSet (afw::table::BaseCatalog const &, afw::table::io::InputArchive const &)
 
static void readPeaks (afw::table::BaseCatalog const &, Footprint &)
 

Detailed Description

self.measurement.run(measCat, exposure, refCat, refWcs, exposureId=exposureId)
if self.config.doApCorr:
    apCorrMap = exposure.getInfo().getApCorrMap()
    if apCorrMap is None:
        self.log.warning("Forced exposure image does not have valid aperture correction; skipping.")
    else:
        self.applyApCorr.run(
            catalog=measCat,
            apCorrMap=apCorrMap,
        )
self.catalogCalculation.run(measCat)

return pipeBase.Struct(measCat=measCat)

def attachFootprints(self, sources, refCat, exposure, refWcs):

Definition at line 637 of file forcedPhotCcd.py.

Member Data Documentation

◆ schema

lsst.meas.base.forcedPhotCcd.may.schema
static

Definition at line 820 of file forcedPhotCcd.py.


The documentation for this class was generated from the following file: