X-ray: Generate and Analyse is a module designed to make the analysis of XMM observations simple and efficient. It provides an interface with SAS for the creation of XMM data products, as well as a way to easily perform fits (scalable for multiple observations) and retrieve information about an object, all within a Python package.
BSD 3-Clause "New" or "Revised" License
30
stars
3
forks
source link
Add a check for CIAO to utils.py - this will let any Chandra product generation calls check that CIAO exists on the system before trying #1242
We're doing it this way rather than just trying to import the CIAO python wrapper because this means we should be able to support systems where CIAO has been installed globally and not to a specific Python environment.
It should be added to the utils file as well (forgot about that earlier, my apologies) - you can put it just after the ESASS_VERSION definition, and then the tele_software_map variable can have the CIAO version added.
This can be based on the check that you started (and I finished) for DAXA:
https://github.com/DavidT3/DAXA/blob/3834f41c37fe46454bf1db7719f2ecb6c4c3ba2e/daxa/process/_backend_check.py#L133
We're doing it this way rather than just trying to import the CIAO python wrapper because this means we should be able to support systems where CIAO has been installed globally and not to a specific Python environment.
It should be added to the utils file as well (forgot about that earlier, my apologies) - you can put it just after the ESASS_VERSION definition, and then the tele_software_map variable can have the CIAO version added.