LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Attributes | List of all members
lsst::afw::image::ExposureInfo::FitsWriteData Struct Reference

A struct passed back and forth between Exposure and ExposureInfo when writing FITS files. More...

Public Attributes

boost::shared_ptr
< daf::base::PropertyList
metadata
 
boost::shared_ptr
< daf::base::PropertyList
imageMetadata
 
boost::shared_ptr
< daf::base::PropertyList
maskMetadata
 
boost::shared_ptr
< daf::base::PropertyList
varianceMetadata
 
table::io::OutputArchive archive
 

Detailed Description

A struct passed back and forth between Exposure and ExposureInfo when writing FITS files.

An ExposureInfo is generally held by an Exposure, and we implement much of Exposure persistence here in ExposureInfo. FITS writing needs to take place in three steps:

  1. Exposure calls ExposureInfo::_startWriteFits to generate the image headers in the form of PropertyLists. The headers include archive IDs for the components of ExposureInfo, so we have to put those in the archive at this time, and transfer the PropertyLists and archive to the Exposure for the next step.
  2. Exposure calls MaskedImage::writeFits to save the Image, Mask, and Variance HDUs along with the headers.
  3. Exposure calls ExposureInfo::_finishWriteFits to save the archive to additional table HDUs.

Definition at line 227 of file ExposureInfo.h.

Member Data Documentation

table::io::OutputArchive lsst::afw::image::ExposureInfo::FitsWriteData::archive

Definition at line 232 of file ExposureInfo.h.

boost::shared_ptr< daf::base::PropertyList > lsst::afw::image::ExposureInfo::FitsWriteData::imageMetadata

Definition at line 229 of file ExposureInfo.h.

boost::shared_ptr< daf::base::PropertyList > lsst::afw::image::ExposureInfo::FitsWriteData::maskMetadata

Definition at line 230 of file ExposureInfo.h.

boost::shared_ptr< daf::base::PropertyList > lsst::afw::image::ExposureInfo::FitsWriteData::metadata

Definition at line 228 of file ExposureInfo.h.

boost::shared_ptr< daf::base::PropertyList > lsst::afw::image::ExposureInfo::FitsWriteData::varianceMetadata

Definition at line 231 of file ExposureInfo.h.


The documentation for this struct was generated from the following file: