Pynbody

Latest version: v1.6.0

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

Scan your dependencies

Page 1 of 6

2.0.0beta.7

Enhancements

* HBT+ multiple files implementation in https://github.com/pynbody/pynbody/pull/787
* Enable smoothing at double precision, https://github.com/pynbody/pynbody/pull/795
* Update KDTree to warn / disable periodicity when an issue occurs, instead of refusing to build, https://github.com/pynbody/pynbody/pull/798

Bug fixes
* Allow loading adaptahop halos even if DM is not the first particle family, https://github.com/pynbody/pynbody/pull/784
* Fix bug where HaloCatalogue.load_copy would not work, https://github.com/pynbody/pynbody/pull/796
* Fix bug where Gadget HDF file extensions for spanned files were incorrectly calculated. Furthermore, Gadget HDF files would not load if some particle types were absent from some files. https://github.com/pynbody/pynbody/pull/800

Miscellaneous

* Revert back to using posix_ipc module for shared memory support in https://github.com/pynbody/pynbody/pull/790

**Full Changelog**: https://github.com/pynbody/pynbody/compare/v2.0.0-beta.5...v2.0.0-beta.7

2.0.0beta.5

What's Changed

* Return children from SubfindHDF get_properties_all_halos by apontzen in https://github.com/pynbody/pynbody/pull/783


**Full Changelog**: https://github.com/pynbody/pynbody/compare/v2.0.0-beta.4...v2.0.0-beta.5

2.0.0beta.4

What's Changed
* Support for swift, velociraptor and HBT+ (https://github.com/pynbody/pynbody/pull/757, https://github.com/pynbody/pynbody/pull/779, https://github.com/pynbody/pynbody/pull/780)
* Add standardised mechanism for getting all halo properties by apontzen in https://github.com/pynbody/pynbody/pull/777
* Make cuboid filters wrap around the box and improve implementation (https://github.com/pynbody/pynbody/pull/780)


**Full Changelog**: https://github.com/pynbody/pynbody/compare/v2.0.0-beta.3...v2.0.0-beta.4

2.0.0beta.3

What's Changed
* Fix a bug with reading gadget4-subfind-hdf tree information, which led to silent failures to load subfind catalogues
* Fixes a bug where tipsy files silently didn’t load if warnings were set to raise and there was no paramfile
* Reorganised the test data archive


**Full Changelog**: https://github.com/pynbody/pynbody/compare/v2.0.0-beta.2...v2.0.0-beta.3

2.0.0beta.2

Bug fix

Fixes getting halo properties in physical units (https://github.com/pynbody/pynbody/pull/775)

2.0.0beta

What's Changed

Near complete re-implementation of the halo catalogue class hierarchy (https://github.com/pynbody/pynbody/pull/763)

This is a _breaking change_, and as such the major version number of pynbody has increased. Regular users probably _don't_ want to install a v2 release at this early stage, and as such it has been flagged as a beta.

* Halo classes are no longer imported directly into the `pynbody.halo` namespace.
* Users may now request a particular halo finder, or list of halo finders, by passing a `priority` kwarg to `SimSnap.halos()`
* `HaloCatalogue.precalculate()` has been renamed to `HaloCatalogue.load_all()`
* Halo classes supporting child/parent relationships now expose a `.subhalos` property, in which the child halos are enumerated
* Behind the scenes, the mapping from `iords` to file offsets has been improved and unified across all `HaloCatalogue` subclasses
* `GrpCatalogue` has been renamed to `HaloNumberCatalogue` to better reflect its meaning
* `AHFCatalogue` no longer renumbers the halos using a one-based scheme by default. If AHF has written out halo numbers, these are used by default; if it has not written out halo numbers, a zero-based indexing is used. Users can pass `halo_numbers='v1'` to `halos()` to obtain the old behaviour
* The ability to run halo finders has been removed (it anyway only ever worked for AHF, and even then was a bit flakey)


**Full Changelog**: https://github.com/pynbody/pynbody/compare/v1.6.0...v2.0.0-beta

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.