LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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 1187 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 1210 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 |
Definition at line 1253 of file Wcs.cc.
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.