Skip to content

oda-hub/ogip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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')