Open israelmcmc opened 9 months ago
Cool! Looks much better! Thanks
It seems that there are still some function in astromodels that do not have an explicit normalization parameter, so the current solution, while it's progress, doesn't work on all cases. I'll leave this issue open in the meanwhile.
Right now we need a switch that looks for the specific spectrum type. There should be a better way that works with all functions, including new ones in the future.
@lommler improved on the previous version, see #28
However, as it turned out during PR #78, other functions still need customized if statements https://github.com/cositools/cosipy/pull/78#discussion_r1337786622_