27.01.2015 Views

CCfits - HEASARC - NASA

CCfits - HEASARC - NASA

CCfits - HEASARC - NASA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

24.33 <strong>CCfits</strong>::HDU::InvalidExtensionType Class Reference 117<br />

24.32.2.21 void <strong>CCfits</strong>::HDU::writeHistory ( const String & history =<br />

"Generic History String" )<br />

write a history string.<br />

A default value for the string is given ("Generic History String") so users can put a<br />

placeholder call to this function in their code.<br />

24.32.2.22 void <strong>CCfits</strong>::HDU::zero ( double value ) [inline, virtual]<br />

set the BZERO keyword value for images (see warning for images of int type)<br />

For primary HDUs and image extensions, this will add (or update) the BZERO keyword<br />

in the header. The new setting will affect future image array read/writes as described<br />

in section 4.7 Data Scaling of the CFITSIO manual. For table extensions this function<br />

does nothing.<br />

WARNING: If the image contains integer-type data (as indicated by the bitpix() return<br />

value), the new scale and zero value combination must not be such that the scaled<br />

data would require a floating-point type (this uses the CFITSIO function fits_get_img-<br />

_equivtype to make the determination). If this situation occurs, the function will throw<br />

a FitsException.<br />

Reimplemented in <strong>CCfits</strong>::PHDU, and <strong>CCfits</strong>::ImageExt< T >.<br />

The documentation for this class was generated from the following files:<br />

• HDU.h<br />

• HDU.cxx<br />

24.33 <strong>CCfits</strong>::HDU::InvalidExtensionType Class Reference<br />

exception to be thrown if user requests extension type that can not be understood as<br />

ImageExt, AsciiTable or BinTable.<br />

#include <br />

Inheritance diagram for <strong>CCfits</strong>::HDU::InvalidExtensionType:<br />

<strong>CCfits</strong>::FitsException<br />

<strong>CCfits</strong>::HDU::InvalidExtensionType<br />

Public Member Functions<br />

• InvalidExtensionType (const string &diag, bool silent=true)<br />

Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!