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.3 <strong>CCfits</strong>::Column Class Reference 60<br />
of indata equal to ∗nullValue. For integer type columns there must be a pre-existing<br />
TNULLn keyword to define the FITS null value, otherwise a FitsError exception is<br />
thrown. For floating point columns, the FITS null is the IEEE NaN (Not-a-Number)<br />
value. See the cfitsio fits_write_colnull function documentation for more details.<br />
Parameters<br />
indata The data to be written.<br />
firstRow The first row to be written<br />
nullValue Pointer to the value for which equivalent indata elements will be replaced<br />
in the file with the appropriate FITS null value.<br />
24.3.3.22 template void <strong>CCfits</strong>::Column::write ( S ∗ indata, long nRows, long<br />
firstRow, S ∗ nullValue )<br />
write a C array into a scalar Column, processing undefined values.<br />
Parameters<br />
indata The data to be written.<br />
nRows The size of the data array to be written<br />
firstRow The first row to be written<br />
nullValue Pointer to the value in the input array to be set to undefined values<br />
24.3.3.23 template void <strong>CCfits</strong>::Column::write ( const std::valarray< S > &<br />
indata, long nRows, long firstRow )<br />
write a valarray of values into a range of rows of a vector column.<br />
The primary use of this is for fixed width columns, in which case Column’s repeat<br />
attribute is used to determine how many elements are written to each row; if indata.-<br />
size() is too small an exception will be thrown. If the column is variable width, the call<br />
will write indata.size()/nRows elements to each row.<br />
Parameters<br />
indata The data to be written.<br />
nRows the number of rows to which to write the data.<br />
firstRow The first row to be written<br />
24.3.3.24 template void <strong>CCfits</strong>::Column::write ( const std::vector< S > &<br />
indata, long nRows, long firstRow )<br />
write a vector of values into a range of rows of a vector column<br />
The primary use of this is for fixed width columns, in which case Column’s repeat<br />
Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen