matteolucchini1 / nDspec

A modular X-ray spectral-timing astronomy modelling package
MIT License
4 stars 0 forks source link

Improving Response rebinning #7

Closed matteolucchini1 closed 3 months ago

matteolucchini1 commented 5 months ago

Formally the software allows both channel and energy rebinning of the response to an arbitrary grid. This is terrible; instead, ResponseMatrix should have methods that rebin channels the normal way, and rebin energy ONLY using the methods allowed by the ftools (https://heasarc.gsfc.nasa.gov/docs/software/ftools/headas/ftrbnrmf.html)

matteolucchini1 commented 4 months ago

Also the way the low/high arrays/bounds are handled is disgusting and I need to fix it.

matteolucchini1 commented 3 months ago

Done per the last pull request