Galpy

Latest version: v1.10.1

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

Scan your dependencies

Page 1 of 4

1.10.1

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

- Propagate general plotting keywords in Potential.plot/plotPotentials. Also allow
plotting potentials on physical axes.

- Added the generalized particle-spray model as galpy.df.basestreamspraydf with two
subclasses: chen24spraydf and fadal15spraydf. Enabled integrating orbits of stream
particles with the progenitor's potential. Deprecating the old particle-spray
model galpy.df.streamspraydf.

1.10.0

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

- Increased support for using OpenMP with clang and, in particular, added OpenMP support
in the released Mac wheels.

- Removed explicit support for using Intel compilers.

- Switch to using Ruff as the code formatter.

1.9.2

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

- Added KuzminLikeWrapperPotential, a potential wrapper that allows
one to make a Kuzmin-like or Miyamoto-Nagai-like potential out of any
spherical or axisymmetric potential (evaluated in the plane, i.e.,
treated as a spherical potential). Kuzmin-like potentials are obtained by
replacing the spherical radius r with \sqrt(R^2 + (a + |z|^2)), while
Miyamoto-Nagai-like potentials are obtained by replacing the spherical
radius with \sqrt(R^2 + (a + \sqrt(z^2 + b^2))^2). The standard KuzminDiskPotential
and MiyamotoNagaiPotential are obtained by applying this procedure to a point-mass
potential and the Kuzmin/Miyamoto-Nagai-like potentials generalize this to any
spherical potential.

1.9.1

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

- Allow vector inputs of solar parameters to Orbit initialization: ro, zo, vo,
and solarmotion (595). Useful when sampling over the uncertainty in the solar
parameters.

- Converted all docstrings to numpy-style format with the help of GitHub Copilot.

1.9.0

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

- Add specialized integration method to determine surfaces of sections of orbits and
add Orbit.SOS and Orbit.plotSOS methods to compute and plot the surface of section
of an orbit.

- Also added a brute-force method to determine surfaces of sections and plotting them
for force fields for which the specialized method does not work (e.g., orbits in a
non-inertial bar frame). Methods Orbit.bruteSOS and Orbit.plotBruteSOS have similar
interfaces as Orbit.SOS and Orbit.plotSOS.

- Added a method, dMdE, to calculate the differential energy distribution of
spherical distribution functions.

- Added general support for DissipativeForce instances in 2D.

- Implemented NonInertialFrameForce in 2D.

- Started using black for code formatting.

- Allow potentials' density and surface density to be plotted on physical axes.

- Don't fail when writing a (fixed) configuration file, instead just warn.

- Removed the deprecated galpy.util.bovy_coords, galpy.util.bovy_plot, and
galpy.util.bovy_conversion modules. These were replaced by galpy.util.coords,
galpy.util.plot, and galpy.util.conversion in v1.7.

- Removed the deprecated phiforce method from potentials and the accompanying
evaluatephiforces and evaluateplanarphiforces potential functions. These were replaced
by phitorque, evaluatephitorques, and evaluateplanarphitorques in v1.8.0.

- Switched to using Python 3.11 as the default Python version in the test suite.

1.8.3

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

- Fixed issue in Linux wheels where the OpenMP library wasn't properly
linked to (also fixed the setup.py script for the underlying issue).

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.