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.14 <strong>CCfits</strong>::FITS Class Reference 92<br />
Force deallocation and erase of elements of a FITS memory object. Allows a reset of<br />
everything inside the FITS object, and closes the file. The object is inaccessible after<br />
this call.<br />
destroy is public to allow users to reuse a symbol for a new file, but it is identical in<br />
operation to the destructor.<br />
24.14.3.8 const std::multimap< std::String, ExtHDU ∗ > & <strong>CCfits</strong>::FITS::extension ( ) const<br />
return const reference to the extension container<br />
This is useful for such operations as extension().size() etc.<br />
24.14.3.9 Table & <strong>CCfits</strong>::FITS::filter ( const String & expression, ExtHDU & inputTable,<br />
bool overwrite = true, bool readData = false )<br />
Filter the rows of the inputTable with the condition expression, and return a reference<br />
to the resulting Table.<br />
This function provides an object oriented version of cfitsio’s fits_select_rows call. The<br />
expression string is any boolean expression involving the names of the columns in the<br />
input table (e.g., if there were a column called "density", a valid expression might be<br />
"DENSITY > 3.5": see the cfitsio documentation for further details).<br />
[N.B. the "append" functionality described below does not work when linked with<br />
cfitsio 2.202 or prior because of a known issue with that version of the library. This<br />
causes the output to be a new extension with a correct header copy and version number<br />
but without the filtered data]. If the inputTable is an Extension HDU of this FITS<br />
object, then if overwrite is true the operation will overwrite the inputTable with the<br />
filtered version, otherwise it will append a new HDU with the same extension name<br />
but the next highest version (EXTVER) number available.<br />
24.14.3.10 void <strong>CCfits</strong>::FITS::flush ( )<br />
flush buffer contents to disk<br />
Provides manual control of disk writing operation. Image data are flushed automatically<br />
to disk after the write operation is completed, but not column data.<br />
24.14.3.11 void <strong>CCfits</strong>::FITS::getTileDimensions ( std::vector< long > & tileSizes ) const<br />
Get the current settings of dimension sizes for tiles used in image compression.<br />
Parameters<br />
tileSizes A vector to be filled with cfitsio’s current tile dimension settings. C-<br />
Cfits will resize this vector to contain the proper number of values.<br />
Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen