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 130<br />
Implements <strong>CCfits</strong>::HDU.<br />
24.39.3.2 template void <strong>CCfits</strong>::PHDU::read ( std::valarray< S > & image, long<br />
first, long nElements, S ∗ nullValue )<br />
read part of an image array, processing null values.<br />
Implicit data conversion is supported (i.e. user does not need to know the type of the<br />
data stored. A WrongExtensionType extension is thrown if ∗this is not an image.<br />
Parameters<br />
image The receiving container, a std::valarray reference<br />
first The first pixel from the array to read [a long value]<br />
nElements The number of values to read<br />
nullValue A pointer containing the value in the table to be considered as undefined.<br />
See cfitsio for details<br />
24.39.3.3 template void <strong>CCfits</strong>::PHDU::read ( std::valarray< S > & image,<br />
const std::vector< long > & first, long nElements, S ∗ nullValue )<br />
read part of an image array, processing null values.<br />
As above except for<br />
Parameters<br />
first a vector representing an n-tuple giving the coordinates in the<br />
image of the first pixel.<br />
24.39.3.4 template void <strong>CCfits</strong>::PHDU::read ( std::valarray< S > & image,<br />
const std::vector< long > & firstVertex, const std::vector< long > & lastVertex,<br />
const std::vector< long > & stride, S ∗ nullValue )<br />
read an image subset into valarray image, processing null values<br />
The image subset is defined by two vertices and a stride indicating the ’denseness’ of<br />
the values to be picked in each dimension (a stride = (1,1,1,...) means picking every<br />
pixel in every dimension, whereas stride = (2,2,2,...) means picking every other value<br />
in each dimension.<br />
24.39.3.5 void <strong>CCfits</strong>::PHDU::readData ( bool readFlag = false, const std::vector< String ><br />
& keys = std::vector() ) [pure virtual]<br />
read primary HDU data<br />
Called by FITS ctor, not intended for general use. parameters control how much gets<br />
read on initialization. An abstract function, implemented in the subclasses.<br />
Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen