LSSTApplications
17.0+11,17.0+34,17.0+56,17.0+57,17.0+59,17.0+7,17.0-1-g377950a+33,17.0.1-1-g114240f+2,17.0.1-1-g4d4fbc4+28,17.0.1-1-g55520dc+49,17.0.1-1-g5f4ed7e+52,17.0.1-1-g6dd7d69+17,17.0.1-1-g8de6c91+11,17.0.1-1-gb9095d2+7,17.0.1-1-ge9fec5e+5,17.0.1-1-gf4e0155+55,17.0.1-1-gfc65f5f+50,17.0.1-1-gfc6fb1f+20,17.0.1-10-g87f9f3f+1,17.0.1-11-ge9de802+16,17.0.1-16-ga14f7d5c+4,17.0.1-17-gc79d625+1,17.0.1-17-gdae4c4a+8,17.0.1-2-g26618f5+29,17.0.1-2-g54f2ebc+9,17.0.1-2-gf403422+1,17.0.1-20-g2ca2f74+6,17.0.1-23-gf3eadeb7+1,17.0.1-3-g7e86b59+39,17.0.1-3-gb5ca14a,17.0.1-3-gd08d533+40,17.0.1-30-g596af8797,17.0.1-4-g59d126d+4,17.0.1-4-gc69c472+5,17.0.1-6-g5afd9b9+4,17.0.1-7-g35889ee+1,17.0.1-7-gc7c8782+18,17.0.1-9-gc4bbfb2+3,w.2019.22
LSSTDataManagementBasePackage
|
A class to contain the data, WCS, and other information needed to describe an image of the sky. More...
#include <Exposure.h>
Public Types | |
typedef MaskedImage< ImageT, MaskT, VarianceT > | MaskedImageT |
enum | { magicSentinel = 0xdeadbeef } |
typedef unsigned long | memId |
Type of the block's ID. More... | |
typedef memId(* | memNewCallback) (const memId cid) |
A function used to register a callback. More... | |
typedef memId(* | memCallback) (const Citizen *ptr) |
Public Member Functions | |
Exposure (unsigned int width, unsigned int height, std::shared_ptr< geom::SkyWcs const > wcs=std::shared_ptr< geom::SkyWcs const >()) | |
Construct an Exposure with a blank MaskedImage of specified size (default 0x0) and a SkyWcs (which may be default constructed) More... | |
Exposure (lsst::geom::Extent2I const &dimensions=lsst::geom::Extent2I(), std::shared_ptr< geom::SkyWcs const > wcs=std::shared_ptr< geom::SkyWcs const >()) | |
Construct an Exposure with a blank MaskedImage of specified size (default 0x0) and a SkyWcs (which may be default constructed) More... | |
Exposure (lsst::geom::Box2I const &bbox, std::shared_ptr< geom::SkyWcs const > wcs=std::shared_ptr< geom::SkyWcs const >()) | |
Construct an Exposure with a blank MaskedImage of specified size (default 0x0) and a SkyWcs. More... | |
Exposure (MaskedImageT &maskedImage, std::shared_ptr< geom::SkyWcs const > wcs=std::shared_ptr< geom::SkyWcs const >()) | |
Construct an Exposure from a MaskedImage and an optional SkyWcs. More... | |
Exposure (MaskedImageT &maskedImage, std::shared_ptr< ExposureInfo > info) | |
Construct an Exposure from a MaskedImage and an ExposureInfo. More... | |
Exposure (std::string const &fileName, lsst::geom::Box2I const &bbox=lsst::geom::Box2I(), ImageOrigin origin=PARENT, bool conformMasks=false, bool allowUnsafe=false) | |
Construct an Exposure by reading a regular FITS file. More... | |
Exposure (fits::MemFileManager &manager, lsst::geom::Box2I const &bbox=lsst::geom::Box2I(), ImageOrigin origin=PARENT, bool conformMasks=false, bool allowUnsafe=false) | |
Construct an Exposure by reading a FITS image in memory. More... | |
Exposure (fits::Fits &fitsfile, lsst::geom::Box2I const &bbox=lsst::geom::Box2I(), ImageOrigin origin=PARENT, bool conformMasks=false, bool allowUnsafe=false) | |
Construct an Exposure from an already-open FITS object. More... | |
Exposure (Exposure const &src, bool const deep=false) | |
Copy an Exposure. More... | |
Exposure (Exposure &&src) | |
Exposure (Exposure const &src, lsst::geom::Box2I const &bbox, ImageOrigin const origin=PARENT, bool const deep=false) | |
Construct a subExposure given an Exposure and a bounding box. More... | |
template<typename OtherPixelT > | |
Exposure (Exposure< OtherPixelT, MaskT, VarianceT > const &rhs, const bool deep) | |
generalised copy constructor; defined here in the header so that the compiler can instantiate N(N-1)/2 conversions between N ImageBase types. More... | |
Exposure & | operator= (Exposure const &) |
Exposure & | operator= (Exposure &&) |
Exposure | subset (lsst::geom::Box2I const &bbox, ImageOrigin origin=PARENT) const |
Return a subimage corresponding to the given box. More... | |
Exposure | operator[] (lsst::geom::Box2I const &bbox) const |
Return a subimage corresponding to the given box (interpreted as PARENT coordinates). More... | |
virtual | ~Exposure () |
Destructor. More... | |
MaskedImageT | getMaskedImage () |
Return the MaskedImage. More... | |
MaskedImageT | getMaskedImage () const |
Return the MaskedImage. More... | |
std::shared_ptr< geom::SkyWcs const > | getWcs () const |
std::shared_ptr< lsst::afw::cameraGeom::Detector const > | getDetector () const |
Return the Exposure's Detector information. More... | |
Filter | getFilter () const |
Return the Exposure's filter. More... | |
std::shared_ptr< lsst::daf::base::PropertySet > | getMetadata () const |
Return flexible metadata. More... | |
void | setMetadata (std::shared_ptr< lsst::daf::base::PropertySet > metadata) |
int | getWidth () const |
Return the Exposure's width. More... | |
int | getHeight () const |
Return the Exposure's height. More... | |
lsst::geom::Extent2I | getDimensions () const |
Return the Exposure's size. More... | |
int | getX0 () const |
Return the Exposure's column-origin. More... | |
int | getY0 () const |
Return the Exposure's row-origin. More... | |
lsst::geom::Point2I | getXY0 () const |
Return the Exposure's origin. More... | |
lsst::geom::Box2I | getBBox (ImageOrigin const origin=PARENT) const |
void | setXY0 (lsst::geom::Point2I const &origin) |
Set the Exposure's origin (including correcting the Wcs) More... | |
void | setMaskedImage (MaskedImageT &maskedImage) |
Set the MaskedImage of the Exposure. More... | |
void | setWcs (std::shared_ptr< geom::SkyWcs > wcs) |
void | setDetector (std::shared_ptr< lsst::afw::cameraGeom::Detector const > detector) |
Set the Exposure's Detector information. More... | |
void | setFilter (Filter const &filter) |
Set the Exposure's filter. More... | |
void | setPhotoCalib (std::shared_ptr< PhotoCalib const > photoCalib) |
Set the Exposure's PhotoCalib object. More... | |
std::shared_ptr< PhotoCalib const > | getPhotoCalib () const |
Return the Exposure's PhotoCalib object. More... | |
void | setCalib (std::shared_ptr< PhotoCalib > photoCalib) |
Set the Exposure's Calib object. More... | |
std::shared_ptr< PhotoCalib const > | getCalib () const |
Return the Exposure's Calib object. More... | |
void | setPsf (std::shared_ptr< lsst::afw::detection::Psf const > psf) |
Set the Exposure's Psf. More... | |
std::shared_ptr< lsst::afw::detection::Psf > | getPsf () |
Return the Exposure's Psf object. More... | |
std::shared_ptr< lsst::afw::detection::Psf const > | getPsf () const |
Return the Exposure's Psf object. More... | |
bool | hasPsf () const |
Does this Exposure have a Psf? More... | |
bool | hasWcs () const |
Does this Exposure have a Wcs? More... | |
std::shared_ptr< ExposureInfo > | getInfo () |
Get the ExposureInfo that aggregates all the non-image components. Never null. More... | |
std::shared_ptr< ExposureInfo const > | getInfo () const |
Get the ExposureInfo that aggregates all the non-image components. Never null. More... | |
void | setInfo (std::shared_ptr< ExposureInfo > exposureInfo) |
Set the ExposureInfo that aggregates all the non-image components. More... | |
void | writeFits (std::string const &fileName) const |
Write an Exposure to a regular multi-extension FITS file. More... | |
void | writeFits (fits::MemFileManager &manager) const |
Write an Exposure to a multi-extension FITS file in memory. More... | |
void | writeFits (fits::Fits &fitsfile) const |
Write an Exposure to an already-open FITS file object. More... | |
void | writeFits (std::string const &fileName, fits::ImageWriteOptions const &imageOptions, fits::ImageWriteOptions const &maskOptions, fits::ImageWriteOptions const &varianceOptions) const |
Write an Exposure to a regular multi-extension FITS file. More... | |
void | writeFits (fits::MemFileManager &manager, fits::ImageWriteOptions const &imageOptions, fits::ImageWriteOptions const &maskOptions, fits::ImageWriteOptions const &varianceOptions) const |
Write an Exposure to a regular multi-extension FITS file. More... | |
void | writeFits (fits::Fits &fitsfile, fits::ImageWriteOptions const &imageOptions, fits::ImageWriteOptions const &maskOptions, fits::ImageWriteOptions const &varianceOptions) const |
Write an Exposure to a regular multi-extension FITS file. More... | |
Exposure | getCutout (lsst::geom::SpherePoint const ¢er, lsst::geom::Extent2I const &size) const |
Return an Exposure that is a small cutout of the original. More... | |
std::string | repr () const |
Return a string representation of a Citizen. More... | |
void | markPersistent (void) |
Mark a Citizen as persistent and not destroyed until process end. More... | |
memId | getId () const |
Return the Citizen's ID. More... | |
Static Public Member Functions | |
static Exposure | readFits (std::string const &filename) |
Read an Exposure from a regular FITS file. More... | |
static Exposure | readFits (fits::MemFileManager &manager) |
Read an Exposure from a FITS RAM file. More... | |
static bool | hasBeenCorrupted () |
Check all allocated blocks for corruption. More... | |
static memId | getNextMemId () |
Return the memId of the next object to be allocated. More... | |
static int | init () |
Called once when the memory system is being initialised. More... | |
Census | |
Provide a list of current Citizens | |
static int | census (int, memId startingMemId=0) |
How many active Citizens are there? More... | |
static void | census (std::ostream &stream, memId startingMemId=0) |
Print a list of all active Citizens to stream, sorted by ID. More... | |
static const std::vector< const Citizen * > * | census () |
Return a (newly allocated) std::vector of active Citizens sorted by ID. More... | |
callbackIDs | |
Set callback Ids. The old Id is returned | |
static memId | setNewCallbackId (memId id) |
Call the NewCallback when block is allocated. More... | |
static memId | setDeleteCallbackId (memId id) |
Call the current DeleteCallback when block is deleted. More... | |
callbacks | |
Set the New/Delete callback functions; in each case the previously installed callback is returned. These callback functions return a value which is Added to the previously registered id. The default callback functions are called default{New,Delete}Callback; you may want to set a break point in these callbacks from your favourite debugger | |
static memNewCallback | setNewCallback (memNewCallback func) |
Set the NewCallback function. More... | |
static memCallback | setDeleteCallback (memCallback func) |
Set the DeleteCallback function. More... | |
static memCallback | setCorruptionCallback (memCallback func) |
Set the CorruptionCallback function. More... | |
A class to contain the data, WCS, and other information needed to describe an image of the sky.
Exposure Class Implementation for LSST: a templated framework class for creating an Exposure from a MaskedImage and a Wcs.
An Exposure is required to take one afwImage::MaskedImage or a region (col, row) defining the size of a MaskedImage (this can be of size 0,0). An Exposure can (but is not required to) contain an afwImage::SkyWcs.
The template types should optimally be a float, double, unsigned int 16 bit, or unsigned int 32 bit for the image (pixel) type and an unsigned int 32 bit for the mask type. These types have been explicitly instantiated for the Exposure class. All MaskedImage and Wcs constructors are 'const' to allow for views and copying.
An Exposure can get and return its MaskedImage, SkyWcs, and a subExposure. The getSubExposure member takes a BBox region defining the subRegion of the original Exposure to be returned. The member retrieves the MaskedImage corresponding to the subRegion. The MaskedImage class throws an exception for any subRegion extending beyond the original MaskedImage bounding box. This member is not yet fully implemented because it requires the SkyWcs class to return the SkyWcs metadata to the member so the CRPIX values of the SkyWcs can be adjusted to reflect the new subMaskedImage origin. The getSubExposure member will eventually return a subExposure consisting of the subMAskedImage and the SkyWcs object with its corresponding adjusted metadata.
The hasWcs member is used to determine if the Exposure has a SkyWcs. It is not required to have one.
Definition at line 72 of file Exposure.h.
typedef MaskedImage<ImageT, MaskT, VarianceT> lsst::afw::image::Exposure< ImageT, MaskT, VarianceT >::MaskedImageT |
Definition at line 74 of file Exposure.h.
|
inherited |
|
explicit |
Construct an Exposure with a blank MaskedImage of specified size (default 0x0) and a SkyWcs (which may be default constructed)
width | number of columns |
height | number of rows |
wcs | the SkyWcs |
Definition at line 52 of file Exposure.cc.
|
explicit |
Construct an Exposure with a blank MaskedImage of specified size (default 0x0) and a SkyWcs (which may be default constructed)
dimensions | desired image width/height |
wcs | the SkyWcs |
Definition at line 57 of file Exposure.cc.
|
explicit |
Construct an Exposure with a blank MaskedImage of specified size (default 0x0) and a SkyWcs.
bbox | desired image width/height, and origin |
wcs | the SkyWcs |
Definition at line 62 of file Exposure.cc.
|
explicit |
Construct an Exposure from a MaskedImage and an optional SkyWcs.
maskedImage | the MaskedImage |
wcs | the SkyWcs |
Definition at line 67 of file Exposure.cc.
|
explicit |
Construct an Exposure from a MaskedImage and an ExposureInfo.
If the ExposureInfo is an empty pointer then a new empty ExposureInfo is used
maskedImage | the MaskedImage |
info | the ExposureInfo |
Definition at line 72 of file Exposure.cc.
|
explicit |
Construct an Exposure by reading a regular FITS file.
[in] | fileName | File to read. |
[in] | bbox | If non-empty, read only the pixels within the bounding box. |
[in] | origin | Coordinate system of the bounding box; if PARENT, the bounding box should take into account the xy0 saved with the image. |
[in] | conformMasks | If true, make Mask conform to the mask layout in the file. |
[in] | allowUnsafe | Permit reading into the requested pixel type even when on-disk values may overflow or truncate. |
Definition at line 94 of file Exposure.cc.
|
explicit |
Construct an Exposure by reading a FITS image in memory.
[in] | manager | An object that manages the memory buffer to read. |
[in] | bbox | If non-empty, read only the pixels within the bounding box. |
[in] | origin | Coordinate system of the bounding box; if PARENT, the bounding box should take into account the xy0 saved with the image. |
[in] | conformMasks | If true, make Mask conform to the mask layout in the file. |
[in] | allowUnsafe | Permit reading into the requested pixel type even when on-disk values may overflow or truncate. |
Definition at line 102 of file Exposure.cc.
|
explicit |
Construct an Exposure from an already-open FITS object.
[in] | fitsfile | A FITS object to read from. Current HDU is ignored. |
[in] | bbox | If non-empty, read only the pixels within the bounding box. |
[in] | origin | Coordinate system of the bounding box; if PARENT, the bounding box should take into account the xy0 saved with the image. |
[in] | conformMasks | If true, make Mask conform to the mask layout in the file. |
[in] | allowUnsafe | Permit reading into the requested pixel type even when on-disk values may overflow or truncate. |
Definition at line 110 of file Exposure.cc.
lsst::afw::image::Exposure< ImageT, MaskT, VarianceT >::Exposure | ( | Exposure< ImageT, MaskT, VarianceT > const & | src, |
bool const | deep = false |
||
) |
Copy an Exposure.
src | Parent Exposure |
deep | Should we copy the pixels? |
Definition at line 78 of file Exposure.cc.
lsst::afw::image::Exposure< ImageT, MaskT, VarianceT >::Exposure | ( | Exposure< ImageT, MaskT, VarianceT > && | src | ) |
Definition at line 84 of file Exposure.cc.
lsst::afw::image::Exposure< ImageT, MaskT, VarianceT >::Exposure | ( | Exposure< ImageT, MaskT, VarianceT > const & | src, |
lsst::geom::Box2I const & | bbox, | ||
ImageOrigin const | origin = PARENT , |
||
bool const | deep = false |
||
) |
Construct a subExposure given an Exposure and a bounding box.
src | Parent Exposure |
bbox | Desired region in Exposure |
origin | Coordinate system for bbox |
deep | Should we copy the pixels? |
lsst::pex::exceptions::InvalidParameterError | if the requested subRegion is not fully contained by the original MaskedImage BBox. |
Definition at line 87 of file Exposure.cc.
|
inline |
generalised copy constructor; defined here in the header so that the compiler can instantiate N(N-1)/2 conversions between N ImageBase types.
We only support converting the Image part
rhs | Input Exposure |
deep | Must be true; needed to disambiguate |
Definition at line 189 of file Exposure.h.
|
virtualdefault |
Destructor.
|
staticinherited |
How many active Citizens are there?
startingMemId | Don't print Citizens with lower IDs |
Definition at line 238 of file Citizen.cc.
|
staticinherited |
Print a list of all active Citizens to stream, sorted by ID.
stream | stream to print to |
startingMemId | Don't print Citizens with lower IDs |
Definition at line 259 of file Citizen.cc.
|
staticinherited |
Return a (newly allocated) std::vector of active Citizens sorted by ID.
You are responsible for deleting it; or you can say std::unique_ptr<std::vector<Citizen const*> const> leaks(Citizen::census()); and not bother (that becomes std::unique_ptr in C++11)
Definition at line 287 of file Citizen.cc.
|
inline |
Definition at line 275 of file Exposure.h.
|
inline |
Return the Exposure's Calib object.
Definition at line 312 of file Exposure.h.
Exposure< ImageT, MaskT, VarianceT > lsst::afw::image::Exposure< ImageT, MaskT, VarianceT >::getCutout | ( | lsst::geom::SpherePoint const & | center, |
lsst::geom::Extent2I const & | size | ||
) | const |
Return an Exposure that is a small cutout of the original.
center | desired center of cutout (in RA and Dec) |
size | width and height (in that order) of cutout in pixels |
center
to within half a pixel in either dimension. Pixels past the edge of the original exposure will equal math::edgePixel<MaskedImageT>.lsst::pex::exceptions::LogicError | Thrown if this Exposure does not have a WCS. |
lsst::pex::exceptions::InvalidParameterError | Thrown if center falls outside this Exposure or if size is not a valid size. |
Definition at line 216 of file Exposure.cc.
|
inline |
Return the Exposure's Detector information.
Definition at line 237 of file Exposure.h.
|
inline |
Return the Exposure's size.
Definition at line 251 of file Exposure.h.
|
inline |
Return the Exposure's filter.
Definition at line 241 of file Exposure.h.
|
inline |
Return the Exposure's height.
Definition at line 249 of file Exposure.h.
|
inherited |
|
inline |
Get the ExposureInfo that aggregates all the non-image components. Never null.
Definition at line 331 of file Exposure.h.
|
inline |
Get the ExposureInfo that aggregates all the non-image components. Never null.
Definition at line 334 of file Exposure.h.
|
inline |
|
inline |
|
inline |
Return flexible metadata.
Definition at line 243 of file Exposure.h.
|
staticinherited |
Return the memId of the next object to be allocated.
Definition at line 209 of file Citizen.cc.
|
inline |
Return the Exposure's PhotoCalib object.
Definition at line 303 of file Exposure.h.
|
inline |
Return the Exposure's Psf object.
Definition at line 320 of file Exposure.h.
|
inline |
Return the Exposure's Psf object.
Definition at line 322 of file Exposure.h.
|
inline |
Definition at line 234 of file Exposure.h.
|
inline |
Return the Exposure's width.
Definition at line 247 of file Exposure.h.
|
inline |
Return the Exposure's column-origin.
Definition at line 258 of file Exposure.h.
|
inline |
Return the Exposure's origin.
This will usually be (0, 0) except for images created using the Exposure(fileName, hdu, BBox, mode)
ctor or Exposure(Exposure, BBox)
cctor The origin can be reset with setXY0
Definition at line 273 of file Exposure.h.
|
inline |
Return the Exposure's row-origin.
Definition at line 264 of file Exposure.h.
|
staticinherited |
Check all allocated blocks for corruption.
Definition at line 316 of file Citizen.cc.
|
inline |
Does this Exposure have a Psf?
Definition at line 325 of file Exposure.h.
|
inline |
Does this Exposure have a Wcs?
Definition at line 328 of file Exposure.h.
|
staticinherited |
Called once when the memory system is being initialised.
Definition at line 196 of file Citizen.cc.
|
inherited |
Mark a Citizen as persistent and not destroyed until process end.
Definition at line 225 of file Citizen.cc.
|
default |
|
default |
|
inline |
Return a subimage corresponding to the given box (interpreted as PARENT coordinates).
Definition at line 222 of file Exposure.h.
|
inlinestatic |
Read an Exposure from a regular FITS file.
[in] | filename | Name of the file to read. |
Definition at line 414 of file Exposure.h.
|
inlinestatic |
Read an Exposure from a FITS RAM file.
[in] | manager | Object that manages the memory to be read. |
Definition at line 423 of file Exposure.h.
|
inherited |
Return a string representation of a Citizen.
Definition at line 219 of file Citizen.cc.
|
inline |
Set the Exposure's Calib object.
Definition at line 306 of file Exposure.h.
|
staticinherited |
Set the CorruptionCallback function.
func | function be called when block is found to be corrupted |
Definition at line 391 of file Citizen.cc.
|
staticinherited |
Set the DeleteCallback function.
func | function be called when desired block is deleted |
Definition at line 381 of file Citizen.cc.
|
staticinherited |
Call the current DeleteCallback when block is deleted.
id | Desired ID |
Definition at line 347 of file Citizen.cc.
|
inline |
Set the Exposure's Detector information.
Definition at line 294 of file Exposure.h.
|
inline |
Set the Exposure's filter.
Definition at line 298 of file Exposure.h.
|
inline |
Set the ExposureInfo that aggregates all the non-image components.
Definition at line 337 of file Exposure.h.
void lsst::afw::image::Exposure< ImageT, MaskT, VarianceT >::setMaskedImage | ( | MaskedImageT & | maskedImage | ) |
Set the MaskedImage of the Exposure.
Definition at line 123 of file Exposure.cc.
|
inline |
Definition at line 244 of file Exposure.h.
|
staticinherited |
Set the NewCallback function.
func | The new function to be called when a designated block is allocated |
Definition at line 371 of file Citizen.cc.
|
staticinherited |
Call the NewCallback when block is allocated.
id | Desired ID |
Definition at line 337 of file Citizen.cc.
|
inline |
Set the Exposure's PhotoCalib object.
Definition at line 301 of file Exposure.h.
|
inline |
|
inline |
Definition at line 292 of file Exposure.h.
void lsst::afw::image::Exposure< ImageT, MaskT, VarianceT >::setXY0 | ( | lsst::geom::Point2I const & | origin | ) |
Set the Exposure's origin (including correcting the Wcs)
The origin is usually set by the constructor, so you shouldn't need this function
Definition at line 128 of file Exposure.cc.
|
inline |
Return a subimage corresponding to the given box.
bbox | Bounding box of the subimage returned. |
origin | Origin bbox is rleative to; PARENT accounts for xy0, LOCAL does not. |
This method is wrapped as getitem in Python.
Definition at line 217 of file Exposure.h.
void lsst::afw::image::Exposure< ImageT, MaskT, VarianceT >::writeFits | ( | std::string const & | fileName | ) | const |
Write an Exposure to a regular multi-extension FITS file.
[in] | fileName | Name of the file to write. |
As with MaskedImage persistence, an empty primary HDU will be created and all images planes will be saved to extension HDUs. Most metadata will be saved only to the header of the main image HDU, but the WCS will be saved to the header of the mask and variance as well. If present, the Psf will be written to one or more additional HDUs.
Note that the LSST pixel origin differs from the FITS convention by one, so the values of CRPIX and LTV saved in the file are not the same as those in the C++ objects in memory, but are rather modified so they are interpreted by external tools (like ds9).
Definition at line 146 of file Exposure.cc.
void lsst::afw::image::Exposure< ImageT, MaskT, VarianceT >::writeFits | ( | fits::MemFileManager & | manager | ) | const |
Write an Exposure to a multi-extension FITS file in memory.
[in] | manager | Manager for the memory to write to. |
Definition at line 152 of file Exposure.cc.
void lsst::afw::image::Exposure< ImageT, MaskT, VarianceT >::writeFits | ( | fits::Fits & | fitsfile | ) | const |
Write an Exposure to an already-open FITS file object.
[in] | fitsfile | FITS object to write. |
Definition at line 158 of file Exposure.cc.
void lsst::afw::image::Exposure< ImageT, MaskT, VarianceT >::writeFits | ( | std::string const & | fileName, |
fits::ImageWriteOptions const & | imageOptions, | ||
fits::ImageWriteOptions const & | maskOptions, | ||
fits::ImageWriteOptions const & | varianceOptions | ||
) | const |
Write an Exposure to a regular multi-extension FITS file.
[in] | fileName | Name of the file to write. |
[in] | imageOptions | Options controlling writing of image as FITS. |
[in] | maskOptions | Options controlling writing of mask as FITS. |
[in] | varianceOptions | Options controlling writing of variance as FITS. |
Definition at line 165 of file Exposure.cc.
void lsst::afw::image::Exposure< ImageT, MaskT, VarianceT >::writeFits | ( | fits::MemFileManager & | manager, |
fits::ImageWriteOptions const & | imageOptions, | ||
fits::ImageWriteOptions const & | maskOptions, | ||
fits::ImageWriteOptions const & | varianceOptions | ||
) | const |
Write an Exposure to a regular multi-extension FITS file.
[in] | manager | Manager for the memory to write to. |
[in] | imageOptions | Options controlling writing of image as FITS. |
[in] | maskOptions | Options controlling writing of mask as FITS. |
[in] | varianceOptions | Options controlling writing of variance as FITS. |
Definition at line 174 of file Exposure.cc.
void lsst::afw::image::Exposure< ImageT, MaskT, VarianceT >::writeFits | ( | fits::Fits & | fitsfile, |
fits::ImageWriteOptions const & | imageOptions, | ||
fits::ImageWriteOptions const & | maskOptions, | ||
fits::ImageWriteOptions const & | varianceOptions | ||
) | const |
Write an Exposure to a regular multi-extension FITS file.
[in] | fitsfile | FITS object to which to write. |
[in] | imageOptions | Options controlling writing of image as FITS. |
[in] | maskOptions | Options controlling writing of mask as FITS. |
[in] | varianceOptions | Options controlling writing of variance as FITS. |
Definition at line 183 of file Exposure.cc.