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.3 <strong>CCfits</strong>::Column Class Reference 59<br />
24.3.3.18 template void <strong>CCfits</strong>::Column::write ( const std::valarray< S > &<br />
indata, long firstRow )<br />
write a valarray of values into a scalar column starting with firstRow<br />
Parameters<br />
indata The data to be written.<br />
firstRow The first row to be written<br />
24.3.3.19 template void <strong>CCfits</strong>::Column::write ( S ∗ indata, long nRows, long<br />
firstRow )<br />
write a C array of size nRows into a scalar Column starting with row firstRow.<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 />
24.3.3.20 template void <strong>CCfits</strong>::Column::write ( const std::vector< S > &<br />
indata, long firstRow, S ∗ nullValue )<br />
write a vector of values into a scalar column starting with firstRow, replacing elements<br />
equal to nullValue with the FITS null value.<br />
If nullValue is not 0, the appropriate FITS null value will be substituted for all elements<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.21 template void <strong>CCfits</strong>::Column::write ( const std::valarray< S > &<br />
indata, long firstRow, S ∗ nullValue )<br />
write a valarray of values into a scalar column starting with firstRow, replacing elements<br />
equal to nullValue with the FITS null value.<br />
If nullValue is not 0, the appropriate FITS null value will be substituted for all elements<br />
Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen