Pynbody

Latest version: v1.6.0.post0

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

Scan your dependencies

Page 5 of 7

1.2.2

Improvements
* Improved compatibility with Gadget4 and its built-in SubFind algorithm https://github.com/pynbody/pynbody/pull/673

Bug fixes
* Fixed deprecation warning from numpy
* Fixed bug where plot.sph.image would pass `vmin`, `vmax` and `norm` simultaneously to `imshow`, causing an exception

**Full Changelog**: https://github.com/pynbody/pynbody/compare/v1.2.1...v1.2.2

1.2.1

Enhancements

* Enhance compatibility with EAGLE files (j-davies-astro in https://github.com/pynbody/pynbody/pull/645)
* Add support for GadgetHDF SIMBA variant (https://github.com/pynbody/pynbody/pull/651)
* Support reading ramses hydro file descriptor blocks (cphyc in https://github.com/pynbody/pynbody/pull/649)
* Auto-convert ramses conformal times (for star birth) to physical time (cphyc in https://github.com/pynbody/pynbody/pull/650)
* Added ability to select between different SPH smoothing kernels when making images, and implement Wendland kernel (j-davies-astro in https://github.com/pynbody/pynbody/pull/648)
* Cache unit conversion, giving 13× speedup in halo catalogue access (cphyc in https://github.com/pynbody/pynbody/pull/635)


Bug fixes

* Fix bug in theta velocity and adding tests on spherical derivations (Martin-Rey in https://github.com/pynbody/pynbody/pull/637)
* Fix a bug where one-indexed halo catalogues would not iterate correctly (cphyc in https://github.com/pynbody/pynbody/pull/643)
* Fixed issue where velocity images would sometimes fail to plot due to incorrect indexing (j-davies-astro in https://github.com/pynbody/pynbody/pull/647)
* Fix selecting SUBFIND haloes with precalculated indices (j-davies-astro in https://github.com/pynbody/pynbody/pull/646)

Other

* Modernize the codebase with pyupgrade (cphyc in https://github.com/pynbody/pynbody/pull/653)
* Modernize the installation somewhat, removing support for using non-OpenMP compilers since this was anyway _broken_!
* Start supporting Apple Silicon; this will be experimental until GitHub provide arm64-hosted MacOS runners
* Switch to pytests since nose is no longer supported
* Note that version 1.2.0 was not released due to a problem building the wheels, which is resolved in 1.2.1

**Full Changelog**: https://github.com/pynbody/pynbody/compare/v1.1.0...v1.2.1

1.1.0

Enhancements
---------------

* Units of all halos in a catalog can now be converted to physical units using `catalog.physical_units()` (cphyc)
* Improved support for Gadget4 and AREPO HDF outputs (lluciesmith)
* Improved support for AdaptaHOP (cphyc)
* Support for Python 3.10 (cphyc)
* Tests migrated to pytest (cphyc)

Bug fixes
---------

* Fixes an issue where the `.sim` attribute of some family arrays would incorrectly return the base simulation (623)
* Fixes an issue with some NChilada files where units were not set correctly (trquinn, 628)

1.0.4

Enhancements
===========

Pynbody can now be installed on linux or macOS as binary wheels from PyPI. Simply use:


pip install pynbody


Module versioning in `setup.py` has been updated as part of this development.

Bug fixes
=======

Fixes a bug triggered when loading some big gadget files

1.0.3

Bug fixes
=======

* Resolve an incompatibility with python 3.9 in the PyPI source distribution (due to historical Cython incompatibility)
* Fix bug with GadgetHDF where incorrect units could be inferred in some circumstances
* Fix bug in the integration limits for 2D projected density maps (elehcim)
* Correct definition of 'dyn' unit

Enhancements
===========

* Add ability to read starlog meta-data as written by recent versions of Changa (emapple)
* Automatically wrap/tile particles over the simulation box size when using `sph.to_3d_grid` (as previously implemented for `sph.image`)
* Add support for adaptahop catalogues (cphyc)
* Improve support for storing profiles (Martin-Rey)
* Add ability to calculate SPH curl and divergence (elehcim)
* Add support to read tracer particles from ramses snapshots (cphyc)

1.0.2

This fixes a bug in the initial pip release of 1.0.1, where the README file was not included in the package, leading to an error on executing setup.py (575).

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.