850 """Generate an exposure from a DecoratedImage or similar
851 @param[in] image Image of interest
852 @return (lsst.afw.image.Exposure) Exposure containing input image
854 if isinstance(image, afwImage.DecoratedImageU)
or isinstance(image, afwImage.DecoratedImageI)
or \
855 isinstance(image, afwImage.DecoratedImageF)
or isinstance(image, afwImage.DecoratedImageD):
859 md = image.getMetadata()
860 exposure.setMetadata(md)
863 wcsMetadata = wcs.getFitsMetadata()
864 for kw
in wcsMetadata.paramNames():
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > * makeMaskedImage(typename Image< ImagePixelT >::Ptr image, typename Mask< MaskPixelT >::Ptr mask=typename Mask< MaskPixelT >::Ptr(), typename Image< VariancePixelT >::Ptr variance=typename Image< VariancePixelT >::Ptr())
Wcs::Ptr makeWcs(coord::Coord const &crval, geom::Point2D const &crpix, double CD11, double CD12, double CD21, double CD22)
Create a Wcs object from crval, crpix, CD, using CD elements (useful from python) ...
Exposure< ImagePixelT, MaskPixelT, VariancePixelT >::Ptr makeExposure(MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > &mimage, boost::shared_ptr< Wcs const > wcs=boost::shared_ptr< Wcs const >())