This new version brings a brand-new backend for the jaxspec
model building tool. We are switching from haiku
(which is now in maintenance mode) to nnx
to handle the parameters in JAX
. It brings some new breaking changes, but will help a lot for future maintenance.
Upgrades
- Background model scaling has been fixed, there was an issue because the scaling factor was applied after folding while it should be before.
plot_ppc
can now display multiple components in the model, see here- Codebase and documentation were cleaned a bit
Breaking changes
- Model parameters are now all lower case and underscore use is forbidden for now. If you used components such as
tbabs
, be sure to changeN_H
tonh
- Custom model components should be built using
nnx
. It changes a bit when compared tohaiku
, and has been updated accordingly in the documentation
What's Changed
- Update pytest-cov requirement from >=4.1,<6.0 to >=4.1,<7.0 by @dependabot in #202
- Factor ARF from RSP by @lmauviard in #205
- switching to nnx by @renecotyfanboy in #203
- Update mendeleev requirement from >=0.15,<0.19 to >=0.15,<0.20 by @dependabot in #207
- Update mkdocstrings requirement from >=0.24,<0.27 to >=0.24,<0.28 by @dependabot in #206
- updating dependencies by @renecotyfanboy in #208
- Update numpyro requirement from ^0.15.3 to >=0.15.3,<0.17.0 by @dependabot in #211
- Update ruff requirement from >=0.2.1,<0.8.0 to >=0.2.1,<0.9.0 by @dependabot in #210
- update documentation by @renecotyfanboy in #209
New Contributors
- @lmauviard made their first contribution in #205
Full Changelog: v0.1.4...v0.2.0