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.12 <strong>CCfits</strong>::ExtHDU Class Reference 80<br />
nElements number of pixels to be written<br />
data array of data to be written<br />
nullValue pointer to null value (data with this value written as undefined; needs<br />
the BLANK keyword to have been specified).<br />
24.12.3.17 template void <strong>CCfits</strong>::ExtHDU::write ( long first, long nElements,<br />
const std::valarray< S > & data, S ∗ nullValue )<br />
write array to image starting with a specified pixel and allowing undefined data to be<br />
processed<br />
parameters after the first are as for version with n-tuple specifying first element. these<br />
two version are equivalent, except that it is possible for the first pixel number to exceed<br />
the range of 32-bit integers, which is how long datatype is commonly implemented.<br />
24.12.3.18 template void <strong>CCfits</strong>::ExtHDU::write ( const std::vector< long > &<br />
firstVertex, const std::vector< long > & lastVertex, const std::valarray< S > &<br />
data )<br />
write a subset (generalize slice) of data to the image<br />
A generalized slice/subset is a subset of the image (e.g. one plane of a data cube of size<br />