You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 27, 2025. It is now read-only.
Could you write up some info (maybe with a code example) how this works?
I.e. show the attributes and structure of the models on each side with an example and explain how the (fully auto?) translation works?
Some background: In Gammapy we currently have a mix of models that are Astropy, Sherpa and independent, and some code to translate to Sherpa to fit them, e.g. here: https://github.com/gammapy/gammapy/blob/master/gammapy/spectrum/models.py#L246
It's a bit of a mess and the implementation isn't good.
One option would be that we implement all models using Astropy (mainly because it's a core dependency of Gammapy, not everyone has Sherpa) and use your bridge for fitting with Sherpa.
I plan to look at what you've built here and try it out in the coming days / weeks.