There is a newer version of the record available.

Published February 29, 2024 | Version v2.0.0-beta
Software Open

pynbody/pynbody: Version 2.0.0-beta

  • 1. @SwissDataScienceCenter
  • 2. Lund University
  • 3. INAF
  • 4. University of Memphis
  • 5. Swinburne University of Technology
  • 6. University of Washington
  • 7. IRIDIUM
  • 8. University of Toronto
  • 9. University of Zurich
  • 10. MPIA
  • 11. Preteckt
  • 12. https://www.tempus.com/
  • 13. Department of Physics and Astronomy, University of British Columbia

Description

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

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

Files

pynbody/pynbody-v2.0.0-beta.zip

Files (6.3 MB)

Name Size Download all
md5:e7a17c8af401808b7e36c8968ea84711
6.3 MB Preview Download

Additional details

Related works