CCfits - HEASARC - NASA
CCfits - HEASARC - NASA
CCfits - HEASARC - NASA
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
24.37 <strong>CCfits</strong>::ImageExt< T > Class Template Reference 122<br />
return the image data<br />
• virtual void readData (bool readFlag=false, const std::vector< String > &keys=std-<br />
::vector< String >())<br />
read Image extension HDU data<br />
• virtual void scale (double value)<br />
set the BSCALE keyword value for images (see warning for images of int type)<br />
• virtual double scale () const<br />
return the BSCALE keyword value<br />
• virtual void zero (double value)<br />
set the BZERO keyword value for images (see warning for images of int type)<br />
• virtual double zero () const<br />
return the BZERO keyword value<br />
24.37.1 Detailed Description<br />
templateclass <strong>CCfits</strong>::ImageExt< T ><br />
ImageExt is a subclass of ExtHDU that contains image data of type T.<br />
24.37.2 Member Function Documentation<br />
24.37.2.1 template void <strong>CCfits</strong>::ImageExt< T >::readData ( bool readFlag<br />
= false, const std::vector< String > & keys = std::vector()<br />
) [virtual]<br />
read Image extension HDU data<br />
Called by FITS ctor, not intended for general use. parameters control how much gets<br />
read on initialization.<br />
Parameters<br />
readFlag read the image data if true<br />
key a vector of strings of keyword names to be read from the HDU<br />
Implements <strong>CCfits</strong>::ExtHDU.<br />
24.37.2.2 template void <strong>CCfits</strong>::ImageExt< T >::scale ( double value )<br />
[virtual]<br />
set the BSCALE keyword value for images (see warning for images of int type)<br />
For primary HDUs and image extensions, this will add (or update) the BSCALE keyword<br />
in the header. The new setting will affect future image array read/writes as de-<br />
Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen