CCfits - HEASARC - NASA
CCfits - HEASARC - NASA
CCfits - HEASARC - NASA
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
24.39 <strong>CCfits</strong>::PHDU Class Reference 129<br />
dummy header. PHDU instances are only created by FITS ctors. In the first release of<br />
<strong>CCfits</strong>, the Primary cannot be changed once declared.<br />
PHDU and ExtHDU provide the same interface to writing images: multiple overloads<br />
of the templated PHDU::read and PHDU::write operations provide for (a) writing image<br />
data specified in a number of ways [C-array, std::vector, std::valarray] and with input<br />
location specified by initial pixel, by n-tuple, and by rectangular subset [generalized<br />
slice]; (b) reading image data specified similarly to the write options into a std::valarray.<br />
Todo Implement functions that allow replacement of the primary image<br />
24.39.2 Constructor & Destructor Documentation<br />
24.39.2.1 <strong>CCfits</strong>::PHDU::∼PHDU ( ) [virtual]<br />
destructor<br />
Destructor<br />
24.39.2.2 <strong>CCfits</strong>::PHDU::PHDU ( const PHDU & right ) [protected]<br />
copy constructor<br />
required for cloning primary HDUs when copying FITS files.<br />
24.39.2.3 <strong>CCfits</strong>::PHDU::PHDU ( FITSBase ∗ p, int bpix, int naxis, const std::vector< long > &<br />
axes ) [protected]<br />
Writing Primary HDU constructor, called by PrimaryHDU class.<br />
Constructor used for creating new PHDU (i.e. for writing data to FITS). also doubles<br />
as default constructor since all arguments have default values, which are passed to the<br />
HDU constructor<br />
24.39.2.4 <strong>CCfits</strong>::PHDU::PHDU ( FITSBase ∗ p = 0 ) [protected]<br />
Reading Primary HDU constructor.<br />
Constructor used when reading the primary HDU from an existing file. Does nothing<br />
except initialize, with the real work done by the subclass PrimaryHDU.<br />
24.39.3 Member Function Documentation<br />
24.39.3.1 void <strong>CCfits</strong>::PHDU::initRead ( ) [protected, virtual]<br />
Read image header and update fits pointer accordingly.<br />
Private: called by ctor.<br />
Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen