Skip to content

Releases: jobovy/galpy

Version 1.10.2

03 Mar 16:08
Compare
Choose a tag to compare

This release contains one significant new addition and otherwise many bug fixes and dependency/project maintenance.

New features

Bug fixes and minor tweaks

  • Improve Python leapfrog integration performance by @jamesgrimmett in #690
  • Support new astroquery Simbad API in Orbit.from_name by @jobovy in #697
  • Fix scipy 1.15 deprecations: removal of vectorize1 and lpmn --> assoc_legendre_p_all by @jobovy in #703
  • Swap gsl_gamma_inc with gsl_gamma_inc_P for mass calculation by @jamesgrimmett in #706
  • Clarify use of non-equispaced time arrays in orbit integration by @jobovy in #711
  • Fix handling of unbound orbits in the action-angle orbit interface. by @jobovy in #712
  • Print warning when initializing an Orbit with a SkyCoord that does not have the Sun's positional and velocity parameters set by @jobovy in #715
  • Update potential.rst for changes in pynbody docs/data by @apontzen in #698
  • Switch to using check_integrator in Orbit.integrate_dxdv by @jobovy in #707
  • Upgrade stream simulation movies to mp4 so they play in the browser again by @jobovy in #696
  • Remove mentions of odeint integrator in docs by @jobovy in #695

Dependencies / maintenance

New Contributors

Full Changelog: v1.10.1...v1.10.2

Version 1.10.1

01 Nov 16:34
5509e26
Compare
Choose a tag to compare

This release contains one significant new addition and otherwise many bug fixes and dependency/project maintenance

New features

  • Implement the new particle spray model by Chen+24 by @ybillchen in #670

Bug fixes and minor tweaks

  • Propagate plotting keywords in Potential.plot/plotPotentials by @jobovy in #663
  • Don't check OpenMP issue for emscripten Python by @jobovy in #665
  • Properly set CPPFLAGS for OpenMP by @jobovy in #669
  • Fix vlos of Vega in from_name test by @jobovy in #671
  • Account for Pynbody 2.0 API change for how to use the direct gravity calculation by @jobovy in #675
  • Allow plotting of potentials on physical axes by @jobovy in #679
  • Correct behaviour of the potential in KingPotential by @jobovy in #681
  • Fix use of jeans.sigmalos for potentials with physical units on by @jobovy in #683
  • Fix units of the phase-space density for spherical DFs by @jobovy in #684
  • Fix small bug in the C implementation of DehnenBarPotential by @jobovy in #685

Dependency / maintenance

New Contributors

Full Changelog: v1.10.0...v1.10.1

Version 1.10.0

07 Jul 20:42
Compare
Choose a tag to compare

This release mainly fixes a few bugs and performs a lot of dependency and project maintenance.

New features

  • Add OpenMP support to Mac builds and wheels by @jobovy in #660

Bug fixes

  • update docs in triaxialNFW by @nstarman in #641
  • Clarify documentation of RotateAndTiltWrapper's use of galaxy/sky PA and inclination by @jobovy in #645
  • Fix output shape for Orbit.theta by @jobovy in #646

Dependency / maintenance

Full Changelog: v1.9.2...v1.10.0

Version 1.9.2

05 Mar 03:00
Compare
Choose a tag to compare

This release adds a new wrapper potential, fixes a few bugs, and performs a lot of dependency and project maintenance.

New features

Bug fixes

  • Fix a bug in streamspraydf to remove the streaks. by @jl3937 in #629
  • Raise RuntimeError when trying to apply a Wrapper to a non-Potential Force by @jobovy in #633

Dependency maintenance

  • Vendor old scipy quadrature routine and use that where integrate.quadrature was used before by @jobovy in #620
  • Vendor scipy.integrate.romberg due to impending deprecation within scipy by @jobovy in #621
  • Fix one more instance of using deprecated scipy romberg by @jobovy in #622

Project maintenance

New Contributors

Full Changelog: v1.9.1...v1.9.2

Version 1.9.1

06 Nov 20:52
Compare
Choose a tag to compare

This release has some minor additions to the code, improves the documentation, and adds Python 3.12 wheels to the release.

New features

  • Allow vector inputs of solar parameters to Orbit initialization: ro, zo, vo, and solarmotion by @jobovy in #595
  • Add Python 3.12 wheels by @jobovy in #601
  • Convert all docstrings to numpy-style format by @jobovy in #608

Maintenance

Full Changelog: v1.9.0...v1.9.1

Version 1.9.0

03 Jul 03:46
Compare
Choose a tag to compare

This is version v1.9.0, which contains the following major improvements:

  • Added a method to Orbit instances to compute and plot surfaces of section: Orbit.SOS and Orbit.plotSOS. This method uses a custom integration routine that exactly resolves surface crossings and applies to most force fields.
  • Also added a brute-force method to compute and plot surfaces of section for use with force fields for which the above method does not work (e.g., in rotating frames)
  • Added a method, dMdE, to calculate the differential energy distribution of spherical distribution functions
  • Added general support for DissipativeForce instances in 2D and implemented NonInertialFrameForce in 2D

as well as minor bug fixes and minor improvements to the code and to galpy's development workflow.

For a full list of changes since v1.8.2, see HISTORY.txt.

Full list of Pull Requests

  • Use tabs for different OSs in installation page by @jobovy in #556
  • Bump pypa/cibuildwheel from 2.12.0 to 2.12.1 by @dependabot in #558
  • Bump actions/stale from 7 to 8 by @dependabot in #559
  • Add surface-of-section methods by @jobovy in #560
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #562
  • Remove externally-hosted diskdf corrections from the tests and docs by @jobovy in #564
  • Apply black formatting by @jobovy in #563
  • Bump pypa/cibuildwheel from 2.12.1 to 2.12.3 by @dependabot in #566
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #567
  • Add Python 3.11 support by @jobovy in #503
  • fix keyword para issue in galpy.orbit.Orbits.Orbit._call_internal by @azz147 in #569
  • Add differential energy distribution for spherical DFs by @jobovy in #573
  • Bump pypa/cibuildwheel from 2.12.3 to 2.13.0 by @dependabot in #574
  • Switch to using setup-micromamba by @jobovy in #576
  • Implement dissipative forces in 2D and use it to implement NonInertialFrameForce in 2D by @jobovy in #578
  • Add a brute-force SOS method and plotting function by @jobovy in #580
  • minor astropy units + mass calc fixes by @jamesmlane in #577
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #581
  • Bump pypa/cibuildwheel from 2.13.0 to 2.13.1 by @dependabot in #582
  • Allow SoftenedNeedleBarPotential to be evaluated properly along the major axis by @jobovy in #583
  • Allow DehnenBarPotential to work with zero pattern speed by @jobovy in #584
  • Remove deprecated features in v1.9 by @jobovy in #585
  • Changes to deal with numpy 1.25 deprecation of treating 1 element arrays as scalars by @jobovy in #586
  • Raise error when plotting a potential with both xy=True and effective=True by @jobovy in #587
  • Allow SteadyLogSpiralPotential to work with zero pattern speed by @jobovy in #588
  • Prepare 1.9.0 release by @jobovy in #591

Full Changelog: v1.8.2...v1.9.0

Version 1.8.3

27 Mar 16:14
Compare
Choose a tag to compare

Patch release to fix an issue with the Linux wheels (which didn't link to the OpenMP library properly) and the underlying setup.py issue. No new functionality was added.

Version 1.8.2

28 Feb 22:54
Compare
Choose a tag to compare

This is version v1.8.2, which contains the following major improvements:

  • actionAngleVertical, an actionAngle class for 1D action-angle calculations
  • actionAngleVerticalInverse, an inverse actionAngle class that allows one to go from (x,v) -> (J,theta,Omega) for 1D potentials
  • interpSphericalPotential can now be used as the potential in spherical distribution functions
  • Orbit.animate3d displays a 3D animation of an integrated orbit

as well as minor bug fixes and minor improvements to the code and to galpy's development workflow.

For a full list of changes since v1.8.1, see HISTORY.txt.

Full detailed changelog: 10cbeec...03cbf9b

Version 1.8.1

31 Oct 16:24
Compare
Choose a tag to compare

This is version v1.8.1, which contains minor bug fixes and (mainly) improvements to galpy's development workflow.

For a full list of changes since v1.8.0, see HISTORY.txt.

Full detailed changelog: 8a8a87f...10cbeec

Version 1.8.0

03 Jul 23:59
Compare
Choose a tag to compare

This is version v1.8.0, with highlights:

  • Addition of galpy.df.streamspraydf, a particle-spray technique for generating mock stellar streams
  • Updated and added phase-space positions for Milky Way satellite galaxies and globular clusters (from Gaia EDR3 work
  • Added a 'Try galpy' interactive session on the documentation's home page powered by new pyodide/emscripten/wasm wheels for galpy.

For a full list of changes since v1.7.2, see HISTORY.txt and the What's New page.

Full detailed changelog: 69cd32b...8a8a87f