Archived non-linear search implementations removed from PyAutoFit. These searches are preserved here so they are not lost and can still be used by advanced users.
Reactive nested sampling via UltraNest.
- Source:
searches/ultranest/search.py - Example:
searches/ultranest/example.py
Particle swarm optimisation via PySwarms. Includes global-best and local-best variants.
- Source:
searches/pyswarms/abstract.py,globe.py,local.py - Example:
searches/pyswarms/example.py
These searches require autofit to be installed. They import from
autofit.non_linear.search base classes.
pip install autofit
pip install ultranest # for UltraNest
pip install pyswarms # for PySwarmsPyAutoFit at commit on main branch, April 2026.