January 2023 (JOSS)
This is a major release, which is tied to the publication of PyAutoGalaxy in the Journal of Open Source software (JOSS).
This release updates many aspects of the API, switches configuration files to YAML, updates library requirements and adds new functionality.
API Changes:
- All elliptical light profiles and mass profiles no longer prefix with the
Ell
tag, for conciseness / readability. For example,EllSersic
is now justSersic
, andEllIsothermal
is nowIsothermal
. - The
Sph
prefix is now a suffix, for exampleSphSersic
is nowSersicSph
andSphIsothermal
is nowIsothermal
. - The ``elliptical_components
parameter has been shorted to
ell_comps`. - The
ExternalShear
input has been changed fromelliptical_components
togamma_1
andgamma_2
(the shear is still defined the same, where in the olversion versionelliptical_components[0] = gamma_2
andelliptical_components[1] = gamma_1
. - The
manual_
API for data structures (e.g.Array2D
,Grid2D
) has been removed.
Yaml Configs
- Configuration files now support
.yaml
, which is provided with the autolens_workspace (https://github.com/Jammy2211/autogalaxy_workspace/tree/release/config). - The workspace configuration files are now fully documented,.
Linear Light Profiles / Basis / Multi Gaussian Expansion
Linear light profiles are now supported, which are identical to ordinary light profiles but the intensity
parameter is solved for via linear algebra. This means lower dimensionality models can be fitted, making dynesty converge more reliably:
Fits use a Basis
object composed of many linear light profiles are supports, for example using a Multi Gaussian Expansion of 20+ Gaussians to fit the lens's light:
These features are described fully in the following HowToGalaxy
tutorial:
API Documentation
API documentation on readthedocs is now being written, which is still a work in progress but more useable than it was previously (https://pyautogalaxy.readthedocs.io/en/latest/api/data.html).
Requirements
The requirements of many projects have been updated to their latest versions, most notably dynesty v2.0.2
.