|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
|
Classes | |
| struct | basic_tag |
| Base image tag. More... | |
| struct | Image_tag |
| tag for an Image More... | |
| struct | image_traits |
| traits class for image categories More... | |
| struct | Mask_tag |
| tag for a Mask More... | |
| struct | MaskedImage_tag |
| A traits class for MaskedImage. More... | |
| struct | MaskedImagePixel_tag |
| A class used to identify classes that represent MaskedImage pixels. More... | |
| class | MaskDict |
Typedefs | |
| typedef std::map< std::string, int > | MaskPlaneDict |
Functions | |
| int | stripCalibKeywords (boost::shared_ptr< lsst::daf::base::PropertySet > metadata) |
| int | stripFilterKeywords (boost::shared_ptr< lsst::daf::base::PropertySet > metadata) |
| boost::shared_ptr < lsst::daf::base::PropertyList > | createTrivialWcsAsPropertySet (std::string const &wcsName, int const x0=0, int const y0=0) |
| geom::Point2I | getImageXY0FromMetadata (std::string const &wcsName, lsst::daf::base::PropertySet *metadata) |
| int | stripWcsKeywords (boost::shared_ptr< lsst::daf::base::PropertySet > const &metadata, boost::shared_ptr< Wcs const > const &wcs) |
Variables | |
| std::string const | wcsNameForXY0 = "A" |
| std::string const | fitsFile_RE = "\\.fits(\\.[fg]z)?$" |
| std::string const | compressedFileNoMEF_RE = "(\\.gz)$" |
| be written as MEFs More... | |
| typedef std::map<std::string, int> lsst::afw::image::detail::MaskPlaneDict |
| lsst::daf::base::PropertyList::Ptr lsst::afw::image::detail::createTrivialWcsAsPropertySet | ( | std::string const & | wcsName, |
| int const | x0, | ||
| int const | y0 | ||
| ) |
Define a trivial WCS that maps the lower left corner (LLC) pixel of an image to a given value
| wcsName | Name of desired WCS |
| x0 | Column coordinate of LLC pixel |
| y0 | Row coordinate of LLC pixel |
Definition at line 1228 of file Wcs.cc.
| afwGeom::Point2I lsst::afw::image::detail::getImageXY0FromMetadata | ( | std::string const & | wcsName, |
| lsst::daf::base::PropertySet * | metadata | ||
| ) |
Return a Point2I(x0, y0) given a PropertySet containing a suitable WCS (e.g. "A")
The WCS must have CRPIX[12] == 1 and CRVAL[12] must be present. If this is true, the WCS cards are removed from the metadata
| wcsName | the WCS to search (E.g. "A") |
| metadata | the metadata, maybe containing the WCS |
Definition at line 1251 of file Wcs.cc.
| int lsst::afw::image::detail::stripCalibKeywords | ( | boost::shared_ptr< lsst::daf::base::PropertySet > | metadata | ) |
| int lsst::afw::image::detail::stripFilterKeywords | ( | boost::shared_ptr< lsst::daf::base::PropertySet > | metadata | ) |
Remove Filter-related keywords from the metadata
| metadata | Metadata to be stripped |
| int lsst::afw::image::detail::stripWcsKeywords | ( | boost::shared_ptr< lsst::daf::base::PropertySet > const & | metadata, |
| boost::shared_ptr< Wcs const > const & | wcs | ||
| ) |
Strip keywords from the input metadata that are related to the generated Wcs
It isn't entirely obvious that this is enough — e.g. if the input metadata has deprecated WCS keywords such as CDELT[12] they won't be stripped. Well, actually we catch CDELT[12], LTV[12], and PC00[12]00[12] but there may be others
| metadata | Metadata to be stripped |
| wcs | A Wcs with (implied) keywords |
| std::string const lsst::afw::image::detail::compressedFileNoMEF_RE = "(\\.gz)$" |
be written as MEFs
regexp to identify when MaskedImages should
Definition at line 59 of file MaskedImage.h.
| std::string const lsst::afw::image::detail::fitsFile_RE = "\\.fits(\\.[fg]z)?$" |
Definition at line 57 of file MaskedImage.h.
1.8.5