EleFits  5.0.0
A modern C++ API on top of CFITSIO
Classes
Image data unit handlers

Detailed Description

Read and write image data units.

There are two main classes to perform image HDU I/Os:

In addition, FileMemRegions is a helper class to specify which regions to consider, both in the FITS file and in the Raster object, when reading or writing the data unit region-wise.

For example, here is how to write the 2D region of a raster spanning from (8, 16) to (32, 48) into the HDU at position (144, 36):

hdu.raster().writeRegion<2>({ { 144, 36 }, { { 8, 16 }, { 32, 48 } } }, data);

where:

See also
Hdu

Classes

class  FileMemRegions< n >
 Mapping between an in-file (FITS image data unit) region and an in-memory (raster) region for reading and writing image regions. More...
 
class  ImageHdu
 Image HDU reader-writer. More...
 
class  ImageRaster
 Reader-writer for the image data unit. More...