Gala

Latest version: v1.9.1

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

Scan your dependencies

Page 1 of 4

1.9.2

==================

New Features
------------

Bug fixes
---------

API changes
-----------

1.9.1

==================

- This release fixes the wheel builds for linux and mac and no new features or bug fixes
are included.

1.9.0

==================

New Features
------------

- Added an option to specify a multiprocessing or parallel processing pool when
computing basis function coefficients for the SCF potential from discrete particles.

- Added the Burkert potential as a built-in cpotential.

- Added a method to generate the Burkert potential with just r0 as an input

- Added new particle spray method by Chen et al. (2024).

Bug fixes
---------

- Fixed the parameter values in the ``FardalStreamDF`` class to be consistent with
the values used in Fardal et al. (2015). Added an option ``gala_modified`` to the
class to enable using the new (correct) parameter values, but the default will
continue to use the Gala modified values (for backwards compatibility).

- Improved internal efficiency of ``DirectNBody``.

- Fixed a bug in which passing a ``DirectNBody`` instance to the ``MockStreamGenerator.
run()`` would fail if ``save_all=False`` in the nbody instance.

- Fixed an incompatibility with Astropy v6.1 and above where ``_make_getter`` was
removed.


API changes
-----------

- Deprecated ``gala.integrate.Integrator.run`` for
``gala.integrate.Integrator.__call__``. The old method will raise a warning
and will be removed in a future release.

1.8.1

==================

- New release to fix upload to PyPI from GitHub Actions and invalid pin in pyia
dependency.

1.8

================

New Features
------------

- Added a ``.guiding_center()`` method to ``PhaseSpacePosition`` and ``Orbit`` to
compute the guiding center radius.

- Added a way to convert Gala potential instances to Agama potential instances.

Bug fixes
---------

- Fixed a bug with the ``plot_contours()`` and ``plot_density_contours()`` methods so
that times specified are now passed through correctly to the potential methods.

- Fixed the YAML output to use ``default_flow_style=None`` for serializing potential
objects, which leads to a more efficient array output.

- ``scf.compute_coeffs_discrete`` now raises an error if GSL is not enabled rather than
silently returning zeros

- ``SCFPotential`` will now work with IO functions (``save`` & ``load``)

- Fixes compatibility with Astropy v6.0

API changes
-----------

- Changed the way potential interoperability is done with other Galactic dynamics
packages (Agama, galpy, etc.). It is now handled by the ``Potential.as_interop()``
method on all potential class instances.

1.7.1

==================

- Switched build system to use pyproject.toml instead of setup.cfg

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.