DavidT3 / XGA

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
31 stars 3 forks source link

Create a FluxMap product class #1249

Open DavidT3 opened 2 weeks ago

DavidT3 commented 2 weeks ago

Very much motivated by the fact that Chandra's flux_image tool can (as the name suggests) produce maps of flux (in units of photons/s/ $\rm{cm}^2$ ) - we definitely want to be able to read them in if they already exist, and you can be sure we'll be generating them with CIAO.

Should be pretty simple, though should also account for the possibility of a FluxMap being programmatically set up by XGA, rather than being read in from a file (the same 'problem' I'll have to fix for ratemaps).

We'll use Image as a superclass of course, and essentially follow the model of ExpMap or RateMap, changing the output units, and down the line maybe adding some specific tasks that need to be run on a flux map.

DavidT3 commented 2 weeks ago

Note that this isn't set as a 'telescope specific' issue, because product classes are part of the XGA infrastructure shared across different telescopes