LSST Applications 26.0.0,g0265f82a02+6660c170cc,g07994bdeae+30b05a742e,g0a0026dc87+17526d298f,g0a60f58ba1+17526d298f,g0e4bf8285c+96dd2c2ea9,g0ecae5effc+c266a536c8,g1e7d6db67d+6f7cb1f4bb,g26482f50c6+6346c0633c,g2bbee38e9b+6660c170cc,g2cc88a2952+0a4e78cd49,g3273194fdb+f6908454ef,g337abbeb29+6660c170cc,g337c41fc51+9a8f8f0815,g37c6e7c3d5+7bbafe9d37,g44018dc512+6660c170cc,g4a941329ef+4f7594a38e,g4c90b7bd52+5145c320d2,g58be5f913a+bea990ba40,g635b316a6c+8d6b3a3e56,g67924a670a+bfead8c487,g6ae5381d9b+81bc2a20b4,g93c4d6e787+26b17396bd,g98cecbdb62+ed2cb6d659,g98ffbb4407+81bc2a20b4,g9ddcbc5298+7f7571301f,ga1e77700b3+99e9273977,gae46bcf261+6660c170cc,gb2715bf1a1+17526d298f,gc86a011abf+17526d298f,gcf0d15dbbd+96dd2c2ea9,gdaeeff99f8+0d8dbea60f,gdb4ec4c597+6660c170cc,ge23793e450+96dd2c2ea9,gf041782ebf+171108ac67
LSST Data Management Base Package
|
Namespaces | |
namespace | _footprintContinued |
namespace | _footprintMerge |
namespace | _heavyFootprintContinued |
namespace | _peak |
namespace | detail |
namespace | multiband |
namespace | utils |
Classes | |
class | Footprint |
Class to describe the properties of a detected object from an image. More... | |
class | FootprintControl |
A Control Object for Footprints, controlling e.g. More... | |
class | FootprintFactory |
class | FootprintMerge |
class | FootprintMergeList |
List of Merged Footprints. More... | |
class | FootprintSet |
A set of Footprints, associated with a MaskedImage. More... | |
class | GaussianPsf |
A circularly symmetric Gaussian Psf class with no spatial variation, intended mostly for testing purposes. More... | |
class | HeavyFootprint |
A set of pixels in an Image, including those pixels' actual values. More... | |
class | HeavyFootprintCtrl |
A control object for HeavyFootprints. More... | |
class | IdSpan |
run-length code for part of object More... | |
struct | IdSpanCompar |
comparison functor; sort by ID, then by row (y), then by column range start (x0) More... | |
class | PeakRecord |
Record class that represents a peak in a Footprint. More... | |
class | PeakTable |
Table class for Peaks in Footprints. More... | |
class | Psf |
A polymorphic base class for representing an image's Point Spread Function. More... | |
class | PsfTrampoline |
"Trampoline" for Psf to let it be used as a base class in Python. More... | |
class | Threshold |
A Threshold is used to pass a threshold value to detection algorithms. More... | |
Typedefs | |
using | FootprintIdPixel = std::uint64_t |
Pixel type for FootprintSet::insertIntoImage() | |
using | PeakColumnView = afw::table::ColumnViewT< PeakRecord > |
using | PeakCatalog = afw::table::CatalogT< PeakRecord > |
using | ConstPeakCatalog = afw::table::CatalogT< const PeakRecord > |
Functions | |
std::ostream & | operator<< (std::ostream &os, Footprint const &rhs) |
Print a Footprint to the stream. | |
std::shared_ptr< Footprint > | mergeFootprints (Footprint const &footprint1, Footprint const &footprint2) |
Merges two Footprints – appends their peaks, and unions their spans, returning a new Footprint. | |
std::vector< lsst::geom::Box2I > | footprintToBBoxList (Footprint const &footprint) |
Return a list of BBoxs, whose union contains exactly the pixels in the footprint, neither more nor less. | |
std::ostream & | operator<< (std::ostream &os, FootprintSet const &rhs) |
Print a FootprintSet to the stream. | |
template<typename ImagePixelT , typename MaskPixelT , typename VariancePixelT > | |
HeavyFootprint< ImagePixelT, MaskPixelT, VariancePixelT > | makeHeavyFootprint (Footprint const &foot, lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > const &img, HeavyFootprintCtrl const *ctrl=nullptr) |
Create a HeavyFootprint with footprint defined by the given Footprint and pixel values from the given MaskedImage. | |
template<typename ImagePixelT , typename MaskPixelT , typename VariancePixelT > | |
std::shared_ptr< HeavyFootprint< ImagePixelT, MaskPixelT, VariancePixelT > > | mergeHeavyFootprints (HeavyFootprint< ImagePixelT, MaskPixelT, VariancePixelT > const &h1, HeavyFootprint< ImagePixelT, MaskPixelT, VariancePixelT > const &h2) |
Sum the two given HeavyFootprints h1 and h2, returning a HeavyFootprint with the union footprint, and summed pixels where they overlap. | |
std::ostream & | operator<< (std::ostream &os, PeakRecord const &record) |
Threshold | createThreshold (const double value, const std::string type="value", const bool polarity=true) |
Factory method for creating Threshold objects. | |
void | wrapFootprint (WrapperCollection &) |
void | wrapFootprintCtrl (WrapperCollection &) |
void | wrapFootprintMerge (WrapperCollection &) |
void | wrapFootprintSet (WrapperCollection &) |
void | wrapGaussianPsf (WrapperCollection &) |
void | wrapHeavyFootprint (WrapperCollection &) |
void | wrapPeak (WrapperCollection &) |
void | wrapPsf (WrapperCollection &) |
void | wrapThreshold (WrapperCollection &) |
PYBIND11_MODULE (_detection, mod) | |
void | wrapFootprintCtrl (utils::python::WrapperCollection &wrappers) |
void | wrapFootprintMerge (utils::python::WrapperCollection &wrappers) |
void | wrapFootprintSet (utils::python::WrapperCollection &wrappers) |
void | wrapGaussianPsf (utils::python::WrapperCollection &wrappers) |
void | wrapPeak (utils::python::WrapperCollection &wrappers) |
void | wrapPsf (utils::python::WrapperCollection &wrappers) |
void | wrapThreshold (utils::python::WrapperCollection &wrappers) |
int | resolve_alias (const std::vector< int > &aliases, int id) |
Follow a chain of aliases, returning the final resolved value. | |
using lsst::afw::detection::ConstPeakCatalog = typedef afw::table::CatalogT<const PeakRecord> |
using lsst::afw::detection::FootprintIdPixel = typedef std::uint64_t |
Pixel type for FootprintSet::insertIntoImage()
This is independent of the template parameters for FootprintSet, and including it within FootprintSet makes it difficult for SWIG to interpret the type.
Definition at line 50 of file FootprintSet.h.
using lsst::afw::detection::PeakCatalog = typedef afw::table::CatalogT<PeakRecord> |
using lsst::afw::detection::PeakColumnView = typedef afw::table::ColumnViewT<PeakRecord> |
Threshold lsst::afw::detection::createThreshold | ( | const double | value, |
const std::string | type = "value" , |
||
const bool | polarity = true |
||
) |
Factory method for creating Threshold objects.
value | value of threshold |
type | string representation of a ThresholdType. This parameter is optional. Allowed values are: "variance", "value", "stdev", "pixel_stdev" |
polarity | If true detect positive objects, false for negative |
Definition at line 109 of file Threshold.cc.
std::vector< lsst::geom::Box2I > lsst::afw::detection::footprintToBBoxList | ( | Footprint const & | footprint | ) |
Return a list of BBoxs, whose union contains exactly the pixels in the footprint, neither more nor less.
Useful in generating sets of meas::algorithms::Defects for the ISR
footprint | Footprint to turn into bounding box list |
Definition at line 366 of file Footprint.cc.
HeavyFootprint< ImagePixelT, MaskPixelT, VariancePixelT > lsst::afw::detection::makeHeavyFootprint | ( | Footprint const & | foot, |
lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > const & | img, | ||
HeavyFootprintCtrl const * | ctrl = nullptr |
||
) |
Create a HeavyFootprint with footprint defined by the given Footprint and pixel values from the given MaskedImage.
Definition at line 148 of file HeavyFootprint.h.
std::shared_ptr< Footprint > lsst::afw::detection::mergeFootprints | ( | Footprint const & | footprint1, |
Footprint const & | footprint2 | ||
) |
Merges two Footprints – appends their peaks, and unions their spans, returning a new Footprint.
Region is not preserved, and is set to an empty lsst::geom::Box2I object.
Definition at line 341 of file Footprint.cc.
std::shared_ptr< HeavyFootprint< ImagePixelT, MaskPixelT, VariancePixelT > > lsst::afw::detection::mergeHeavyFootprints | ( | HeavyFootprint< ImagePixelT, MaskPixelT, VariancePixelT > const & | h1, |
HeavyFootprint< ImagePixelT, MaskPixelT, VariancePixelT > const & | h2 | ||
) |
Sum the two given HeavyFootprints h1 and h2, returning a HeavyFootprint with the union footprint, and summed pixels where they overlap.
The peak list is the union of the two inputs.
Definition at line 128 of file HeavyFootprint.cc.
std::ostream & lsst::afw::detection::operator<< | ( | std::ostream & | os, |
Footprint const & | rhs | ||
) |
Print a Footprint to the stream.
os | Stream to print to. |
rhs | Footprint to print. |
Definition at line 443 of file Footprint.cc.
std::ostream & lsst::afw::detection::operator<< | ( | std::ostream & | os, |
FootprintSet const & | rhs | ||
) |
Print a FootprintSet to the stream.
os | Stream to print to. |
rhs | FootprintSet to print. |
std::ostream & lsst::afw::detection::operator<< | ( | std::ostream & | os, |
PeakRecord const & | record | ||
) |
lsst::afw::detection::PYBIND11_MODULE | ( | _detection | , |
mod | |||
) |
Definition at line 47 of file _detection.cc.
int lsst::afw::detection::resolve_alias | ( | const std::vector< int > & | aliases, |
int | id | ||
) |
Follow a chain of aliases, returning the final resolved value.
void lsst::afw::detection::wrapFootprint | ( | WrapperCollection & | wrappers | ) |
Definition at line 77 of file _footprint.cc.
void lsst::afw::detection::wrapFootprintCtrl | ( | utils::python::WrapperCollection & | wrappers | ) |
Definition at line 39 of file _footprintCtrl.cc.
void lsst::afw::detection::wrapFootprintCtrl | ( | WrapperCollection & | ) |
void lsst::afw::detection::wrapFootprintMerge | ( | utils::python::WrapperCollection & | wrappers | ) |
Definition at line 38 of file _footprintMerge.cc.
void lsst::afw::detection::wrapFootprintMerge | ( | WrapperCollection & | ) |
void lsst::afw::detection::wrapFootprintSet | ( | utils::python::WrapperCollection & | wrappers | ) |
Definition at line 86 of file _footprintSet.cc.
void lsst::afw::detection::wrapFootprintSet | ( | WrapperCollection & | ) |
void lsst::afw::detection::wrapGaussianPsf | ( | utils::python::WrapperCollection & | wrappers | ) |
Definition at line 38 of file _gaussianPsf.cc.
void lsst::afw::detection::wrapGaussianPsf | ( | WrapperCollection & | ) |
void lsst::afw::detection::wrapHeavyFootprint | ( | WrapperCollection & | wrappers | ) |
Definition at line 88 of file _heavyFootprint.cc.
void lsst::afw::detection::wrapPeak | ( | utils::python::WrapperCollection & | wrappers | ) |
Definition at line 101 of file _peak.cc.
void lsst::afw::detection::wrapPeak | ( | WrapperCollection & | ) |
void lsst::afw::detection::wrapPsf | ( | utils::python::WrapperCollection & | wrappers | ) |
Definition at line 48 of file _psf.cc.
void lsst::afw::detection::wrapPsf | ( | WrapperCollection & | ) |
void lsst::afw::detection::wrapThreshold | ( | utils::python::WrapperCollection & | wrappers | ) |
Definition at line 41 of file _threshold.cc.
void lsst::afw::detection::wrapThreshold | ( | WrapperCollection & | ) |