/ogip

Primary LanguagePythonOtherNOASSERTION

Python library to read, write, and validate "OGIP" files

Build Statuscodecov

Existing alternatives:

  • heasoft contains pyxpec and heasp modules, which read ogip files.
  • sherpa and 3ml can read and write ogip files

The alertnatives share common disadvantage: they are complex and not easily portable packages. Also, they implement different variations of the standards, and we have a different aim here (see above).

Disadvantages:

  • only python, hence slow

Example

# opens a file, detects format, writes
ogip.core.open_something("file.fits").to_fits('output_file.fits')