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 91<br />
versions already added to the FITS object (although cfitsio doesn’t do this either).<br />
24.14.3.3 void <strong>CCfits</strong>::FITS::copy ( const HDU & source )<br />
copy the HDU source into the FITS object.<br />
This function adds a copy of an HDU from another file into ∗this. It does not create a<br />
duplicate of an HDU in the file associated with ∗this.<br />
24.14.3.4 const String & <strong>CCfits</strong>::FITS::currentExtensionName ( ) const<br />
return the name of the extension that the fitsfile is currently addressing.<br />
If the extension in question does not have an EXTNAME or HDUNAME keyword,<br />
then the function returns $HDU$n, where n is the sequential HDU index number (primary<br />
HDU = 0).<br />
24.14.3.5 void <strong>CCfits</strong>::FITS::deleteExtension ( const String & doomed, int version = 1 )<br />
Delete extension specified by name and version number.<br />
Removes extension from FITS object and memory copy. The index numbers of all<br />
HDU objects which follow this in the file will be decremented by 1.<br />
Parameters<br />
doomed the name of the extension to be deleted<br />
version an optional version number, the EXTVER keyword, defaults to 1<br />
Exceptions<br />
NoSuchHDU Thrown if there is no extension with the specified version number<br />
FitsError Thrown if there is a non-zero status code from cfitsio, e.g. if the<br />
delete operation is applied to a FITS file opened for read only access.<br />
24.14.3.6 void <strong>CCfits</strong>::FITS::deleteExtension ( int doomed )<br />
Delete extension specified by extension number.<br />
The index numbers of all HDU objects which follow this in the file will be decremented<br />
by 1.<br />
24.14.3.7 void <strong>CCfits</strong>::FITS::destroy ( ) throw ()<br />
Erase FITS object and close corresponding file.<br />
Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen