Autolens

Latest version: v2024.5.16.0

Safety actively analyzes 630328 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

2023.6.12.5

- Visualization now outputs publication quality plots by default (e.g. less whitespace, bigger tick labels, units):

https://github.com/Jammy2211/PyAutoGalaxy/pull/96
https://github.com/Jammy2211/PyAutoLens/pull/216

- Improved visualization of `FitImaging` and `FitInterferometer` subpots:

https://github.com/Jammy2211/PyAutoGalaxy/pull/96

- Profiling tools implemented, with documentation and examples added to workspace:

https://github.com/Jammy2211/PyAutoGalaxy/pull/110

- `PowerLawMultipole` method generalized to all multipoles:

https://github.com/Jammy2211/PyAutoGalaxy/pull/103

- Critical Curves / Caustic plotter separating if there are more than one, and options to customize tangential and radial separately:

https://github.com/Jammy2211/PyAutoGalaxy/pull/92

- `SMBH` and `SMBHBinary` super massive black hole mass profiles implemented:

https://github.com/Jammy2211/PyAutoGalaxy/pull/98
https://github.com/Jammy2211/PyAutoGalaxy/pull/99

- Fix issues associated with visualization of linear light profiles and `Basis` objects:

https://github.com/Jammy2211/PyAutoGalaxy/pull/102
https://github.com/Jammy2211/PyAutoLens/pull/217

- `PowerLaw` `potential_2d_from` method faster:

https://github.com/Jammy2211/PyAutoGalaxy/pull/108

- `ExternalShear` now has `potential_2d_from` method implemented:

https://github.com/Jammy2211/PyAutoGalaxy/pull/109

- Removal of a number of unused legacy features (e.g. hyper galaxy noise scaling).

https://github.com/Jammy2211/PyAutoLens/pull/219

2023.3.27.1

- [Shapelets basis functions for representing the emission of a lens or source galaxy implemented](https://github.com/Jammy2211/PyAutoGalaxy/pull/91) (see also https://github.com/Jammy2211/autolens_workspace/blob/release/notebooks/imaging/modeling/features/shapelets.ipynb)

- [Critical curves and caustics of mass profile projects are now computed such that if there are multiple curves, all are computed and returned as a list.](https://github.com/Jammy2211/PyAutoGalaxy/pull/92)

- [Updated critical curve calculations also mean Einstein Radii, Einstein Masses are other related quantities can be returned as a list of values (one for each curve) or an average](https://github.com/Jammy2211/PyAutoGalaxy/pull/92)

- [Added `matplotlib` wrapper to the `annotate` function.](https://github.com/Jammy2211/PyAutoGalaxy/pull/89)

2023.3.21.5

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

2023.1.15.1

This is a major release, which updates many aspects of the API, switches configuration files to YAML, requirements, etc.


**API Changes:**

- All elliptical light profiles and mass profiles no longer prefix with the `Ell` tag, for conciseness / readability. For example, `EllSersic` is now just `Sersic`, and `EllIsothermal` is now `Isothermal`.
- The `Sph` prefix is now a suffix, for example `SphSersic` is now `SersicSph` and `SphIsothermal` is now `Isothermal`.
- The ``elliptical_components` parameter has been shorted to `ell_comps`.
- The `ExternalShear` input has been changed from `elliptical_components` to `gamma_1` and `gamma_2` (the shear is still defined the same, where in the olversion version `elliptical_components[0] = gamma_2` and ` elliptical_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/autolens_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:

https://github.com/Jammy2211/autolens_workspace/blob/release/scripts/imaging/modeling/light_parametric_linear__mass_total__source_parametric_linear.py

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:

https://github.com/Jammy2211/autolens_workspace/blob/release/scripts/imaging/modeling/light_parametric_linear__mass_total__source_parametric_linear.py

These features are described fully in the following `HowToLens` tutorial:

https://github.com/Jammy2211/autolens_workspace/blob/release/scripts/howtolens/chapter_2_lens_modeling/tutorial_5_linear_profiles.py


**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://pyautolens.readthedocs.io/en/latest/api/data.html).


**SLaM V2**

The Source, Light and Mass (SLaM) pipelines have been updated to a version 2, which simplifies the pipelines and makes the API more concise (https://github.com/Jammy2211/autolens_workspace/tree/release/slam).


**Requirements**

The requirements of many projects have been updated to their latest versions, most notably `dynesty v2.0.2`.

2022.07.11.1

- autolens_workspace now has `advanced` packages which make navigation simpler for new users to find beginner scritps.

- Redesign of position based lens mass model resampling. This feature now uses a likelihood penalty term based API, which includes a new default approach which traces (y,x) coordinates of multiple images from the image plane to the source plane and decreases the likelihood based on how far part in the source-plane they are (as opposed to resampling the mass model). See this doc for a full descritipon (https://pyautolens.readthedocs.io/en/latest/general/demagnified_solutions.html).

- If the position-based likelihood penalty term is not included in a fit using an `Inversion` (e.g. pixelized source reconstruction) an exception is raised, because the fit will likely cause a demagnified solution. This can be disabled manually (see https://pyautolens.readthedocs.io/en/latest/general/demagnified_solutions.html).

- LightProfileOperated objects implemented, which are already convolved with the imaging dataset's PSF for modeling point source components in a galaxy (see https://github.com/Jammy2211/autolens_workspace/blob/release/scripts/imaging/modeling/advanced/light_parametric_operated__mass_total__source_parametric.py).

- Numba is now an optional installation, see this doc page for a full description (https://pyautolens.readthedocs.io/en/latest/installation/numba.html).

- Starting point API for starting an MCMC fit with walkers in certain positions or maximum likelihood estimator fit with a start point implemented (https://github.com/rhayes777/PyAutoFit/pull/562). The example tutorial script for this feature is not written yet.

2022.05.02.1

Multiwavelength lens modeling:

- https://pyautolens.readthedocs.io/en/latest/overview/overview_7_multi_wavelength.html
- https://github.com/Jammy2211/autolens_workspace/tree/release/notebooks/multi

Full Likelihood description notebook:

- https://github.com/Jammy2211/autolens_likelihood_function

**PyAutoGalaxy** full release:

- https://github.com/Jammy2211/PyAutoGalaxy

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.