Skip to content

Releases: renecotyfanboy/jaxspec

v0.2.1

23 Jan 12:27
4de87ff
Compare
Choose a tag to compare

Upgrades

  • Better documentation on how to mock data without explicit observation
  • fakeit_for_multiple_parameters has been optimized to explicitly prevent the replication of response matrix, easing folding for multiple parameters at once without blowing up memory
  • prior_predictive_coverage should use multiple cores now
  • Internal cleaning : we do not depend explicitly on the Heacit dataset but rather download what is needed on the fly

Bug Fixes

  • Fix tbpcf and FDcut models that were not fully ported after the internal rework of jaxspec
  • Fix Agauss, Zagauss, Zgauss which were in a similar situation

Full Changelog: v0.2.0...v0.2.1

v0.2.0

13 Jan 11:03
4301c15
Compare
Choose a tag to compare

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 change N_H to nh
  • Custom model components should be built using nnx. It changes a bit when compared to haiku, and has been updated accordingly in the documentation

What's Changed

New Contributors

Full Changelog: v0.1.4...v0.2.0

v0.1.4

30 Oct 12:44
50e32c4
Compare
Choose a tag to compare

What's new ?

  • Fixed a bug where subtracting background had no effect
  • Add the possibility to use a spectral model as the background
  • Luminosity can be computed using either distance or redshift
  • Prior predicting coverage is clearer

Full Changelog: v0.1.3...v0.1.4

v0.1.3

25 Sep 17:18
58d3be9
Compare
Choose a tag to compare

Just fix a silent issue in the previous release

v0.1.2

25 Sep 15:51
6e71054
Compare
Choose a tag to compare
  • Prior predictive coverage using the BayesianFitter
  • Internal fixings
  • Pretty representation for SpectralModel

v0.1.1

09 Sep 20:26
dfc2855
Compare
Choose a tag to compare

This is our first release after the article acceptance.

  • All the numpyro's MCMC are now gathered within our MCMCFitter class, where the user can switch using the sampler parameter
  • Priors can now be passed as a flat dictionary instead of the nested dictionary from haiku. We want it to be the main way to pass prior in the future releases.
  • Changes in the inner workings of the fitter for future features.

v0.1.0

16 Aug 16:03
871baa8
Compare
Choose a tag to compare

That's it, we are now entering the beta release of jaxspec! You can expect bugs and changing APIs as always, but now, the project starts to be mature enough so that anyone can use it. You are welcome to give it a try!

Full Changelog: v0.0.8...v0.1.0

v0.0.8

02 Aug 09:38
Compare
Choose a tag to compare

New features

  • The best-fit model photon flux, energy flux and luminosity can be computed using the FitResult new methods
  • Introduction of NestedSamplingFitter which is still in beta status
  • Large data tables and others are now downloaded at runtime using the pooch package

Breaking changes

  • Prior distribution must now be passed when building the fitter object instead of using the .fit method
  • BayesianFitter is renamed to NUTSFitter

Full Changelog: v0.0.7...v0.0.8

v0.0.7

26 Jun 14:34
6ca0108
Compare
Choose a tag to compare

New features

  • Users can now compute the photon flux, energy flux and luminosity using the related methods from the FitResult class. These values can be registered so that comparison with the model parameters can be shown in the corner plots.
  • A subset of parameters can be plotted in the FitResult.plot_corner by passing the columns parameter, which should be the list of parameters to display
  • The cstat is accessible using FitResult.c_stat
  • The plot_ppc has been slightly reworked, more upgrades to come in the future

v0.0.6

22 Apr 09:54
50c48f0
Compare
Choose a tag to compare

Major bugfixes related to the import of APEC tables. jaxspec should now automatically release for each new vX.X.X tag