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

◆ writeRaster()

void writeRaster ( const TRaster &  raster) const

Write the raster (resize the data unit if empty).

This is a shortcut for:

  • Accessing the data unit;
  • Resizing it;
  • Writing the raster.

Anything more complex (e.g. region-wise writing) can be done via raster().