Open KriSun95 opened 3 months ago
Attention: Patch coverage is 44.73684%
with 21 lines
in your changes missing coverage. Please review.
Please upload report for BASE (
main@eb860e9
). Learn more about missing BASE report.
Files | Patch % | Lines |
---|---|---|
sunkit_spex/fitting_legacy/fitter.py | 44.73% | 21 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
PR Description
As described in #147 , this draft shows how the gain can be applied in
sunkit-spex
as it is applied in XSPEC. More discussion is needed but this should be somewhere to comment on.We change the gain correction being applied to edit the photon axis grid of the SRM before the total count model calculation as opposed to the current behaviour where the gain is applied after the photon model is folded through the response.