EleFits  5.0.0
A modern C++ API on top of CFITSIO

◆ appendNullImage()

const ImageHdu & appendNullImage ( const std::string name,
const RecordSeq records,
const Position< N > &  shape 
)

Append and new image extension and fill the data unit with null values.

The null value is defined as follows:

  • For integer images, if the BLANK record is among the provided ones, then its value is used unscaled (BZERO is not taken into account); Otherwise, the data unit is filled with zeros.
  • For real images, the data unit is filled with NaNs.