Pynbody

Latest version: v1.6.0

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

Scan your dependencies

Page 4 of 7

1.3.0

Enhancements
* Added support for Wendland C2 kernel by Evafranck in https://github.com/pynbody/pynbody/pull/692
* Support RAMSES/AHF combination by cphyc in https://github.com/pynbody/pynbody/pull/661

Bug fixes
* Compatibility fix for numpy 1.20+ in https://github.com/pynbody/pynbody/pull/698
* Fixes and test the conversion from Ramses to Tipsy by Martin-Rey in https://github.com/pynbody/pynbody/pull/696
* Fix family mapping for AHF halos by Martin-Rey in https://github.com/pynbody/pynbody/pull/697
* Fix Ramses loader to only attempt to access metal and tform fields if they are actually on disc by Martin-Rey in https://github.com/pynbody/pynbody/pull/695
* Small fixes when dealing with AHF files by Martin-Rey in https://github.com/pynbody/pynbody/pull/688
* Reading AREPO units issue solved by thanatom in https://github.com/pynbody/pynbody/pull/672
* Fix bug in indexing of AHF substructure by EthTay in https://github.com/pynbody/pynbody/pull/681
* Fix bug where comparing a unit to zero could cause a zero-division exception in https://github.com/pynbody/pynbody/pull/683


**Full Changelog**: https://github.com/pynbody/pynbody/compare/v1.2.3...v1.3.0

1.2.3

Enhancements

* When loading Subfind catalogues for Gadget-4 simulations, the merger tree information is automatically now imported into the halo properties despite residing in separate files
* Added 'children' property to SubfindHDF groups, just as non-HDF subfind already has
* Add ability to get a group array to SubfindHDF
* Added tests for Subfind (non-HDF variant)

Bug fixes

* Fixed a bug in the Subfind implementation regarding subhalos-of-subhalos; the 'children' array assigned these incorrectly


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

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

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.