Skip to content

Releases: PyAutoLabs/PyAutoFit

January 2024 (2024.1.27.4)

27 Jan 20:05

Choose a tag to compare

  • Stability upgrades for change from .pickle to .json files.
  • JAX implementation improved, still in development.
  • Sensitivity mapping improvements.

October 2023 (2023.10.23.3)

23 Oct 13:07

Choose a tag to compare

  • Support for Python 3.11 by updating requirement on core libraries (e.g. numpy, scipy, scikit-learn).
  • Fix issues with sqlite database following switch from .pickle outputs to .json / .fits / .csv.
  • Database use of Samples object much more efficient.
  • Fix bug where nautilus parallel fits sometimes crashed.
  • Fix bug where nautilus single CPU fits did not work.

September (v2023.9.18.4)

18 Sep 13:16

Choose a tag to compare

This release implements two major changes to PyAutoFit:

Results Output

Result metadata was previously output as .pickle files, which were not human readable and depended on project imports, hurting backwards compatibility.

All metadata is now output as human readable .json files and dataset as .fits files, making it a lot more straight forward for a user to interpret how data is stored internally within PyAutoFit:

image

Here is an example of the search.json file:

image

All internal functionality (e.g. the sqlite database) has been updated to use these files.

All workspace documentation has been updated accordingly.

Nautilus

Recently, a new nested sampler, Nautilus (https://nautilus-sampler.readthedocs.io/en/stable/), was released, which uses machine-learning based techniques to improve sampling.

This release implements this.

July (2023.5.7.2)

05 Jul 15:32

Choose a tag to compare

Bug fixes for new MacOS parallelization.

No new features.

June 2023 (2023.6.12.5)

07 Jun 10:18

Choose a tag to compare

  • Improvements to combined analyses (e.g. summed Analysis objects to fit multipole datasets), for example better output paths for visualization, options to visualize before a fit and making combined figures across analyses:

#715
#703
#701
#696

  • Database support for combined analyses:

#708

  • Sensitivity mapping visualization improvements:

#711

  • Improvements to graphical models:

#712
#709

March 2023 (2023.3.27.1)

28 Mar 19:03
da75235

Choose a tag to compare

March 2023 (2023.3.21.5)

21 Mar 18:50
da75235

Choose a tag to compare

This is the latest version, which primarily brings in stability upgrades and fixes bugs.

July 11 2022 Release

10 Jul 21:53

Choose a tag to compare

  • Starting point API for starting an MCMC fit with walkers in certain positions or maximum likelihood estimator fit with a start point implemented (#562). The example tutorial script for this feature is not written yet.

  • Dynamic delta scaling in expectation propagation fits, which prevent over confident result due to error underestimation (#559). The example tutorial script for this feature is not written yet.

  • Faster generation of models by sampling better within the prior limits (#558).

2022.05.02.1

03 May 10:20

Choose a tag to compare

  • Can make a parameter free across al combined analysis objects (docs / cookbook to be written):
analysis = sum(analysis_list)
analysis = analysis.with_free_parameters(
    model.parameter, 
)
  • Model composition using relations (cookbook to be written):
x_list = [464, 658, 806]

m = af.UniformPrior(lower_limit=-0.1, upper_limit=0.1)
c = af.UniformPrior(lower_limit=-10.0, upper_limit=10.0)

analysis_list = []

for x, imaging in zip(x_list, imaging_list):

    y = af.Add(af.Multiply(x, m), c)

    analysis_list.append(
        al.AnalysisImaging(dataset=imaging).with_model(
            model.replacing(
                {
                    model.gaussian.x: gaussian.x,
                }
            )
        )
    )
  • Tutorials for fitting a hierarchical model outside of EP.

https://github.com/Jammy2211/autofit_workspace/tree/release/notebooks/howtofit/chapter_graphical_models

  • Stability upgrades to EP framework.

March 30 2022

30 Mar 16:04
86be9ec

Choose a tag to compare

  • Support for Python 3.9, 3.10.
  • LogGaussianPrior implemented.
  • Simultaneous fitting of hieraerchical models (E.g. not just via EP) supported.
  • Minor updates to graphical model API.