EleFits  5.3.1
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches

◆ append_null_bintable()

const BintableHdu & append_null_bintable ( const std::string name,
const RecordSeq records,
long  row_count,
const TInfos &...  infos 
)

Append a binary table extension and fill it with null values.

The null value is defined as follows:

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