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

CFITSIO features not supported by EleFits

File:

  • Input files as URL paths
  • Hierarchical grouping

Header:

  • Date records
  • Record renaming

Table:

  • ASCII tables
  • Column type reading
  • Rows deletion
  • Rows copy
  • Rows selection
  • Row-wise expressions evaluation
  • Histograms
  • Row iterator

EleFits features not supported by CFITSIO

Interface:

  • No pointers!
  • Const-correctness
  • Consistent type management (not mixing C types and FITS types)
  • Exceptions
  • Structured bindings, e.g.: auto [ra, dec] = h.parse_n<float>("RA", "DEC");
  • Data classes: Record, Raster, Column...
  • Structured handlers: MefFile, ImageHdu, Header...

File:

  • HDU counting (CFITSIO counting excludes empty or incomplete HDUs)
  • Primary deletion (if followed by an image extension)
  • HDU selection and iteration
  • Strategies: pre-registed actions to be performed automatically

Header:

  • Record parsing with fallback
  • Multiple records selection and parsing

Image:

  • Reading/writing of non-contiguous in-memory image regions
  • Parsing of compression parameters
  • Compression strategies

Table:

  • Reading/writing of multiple columns at once (with optimal usage of CFITSIO buffer: boosts I/Os)