Skip to content

Releases: pynbody/pynbody

Version 2.0.0-beta10

06 May 10:32
8ebcd67
Compare
Choose a tag to compare
Version 2.0.0-beta10 Pre-release
Pre-release

What's Changed

Another quick release to fix a significant bug in get_group_array with use_index=True, #814

Full Changelog: v2.0.0-beta.9...v2.0.0-beta.10

Version 2.0.0-beta.9

04 May 19:39
e1a48d1
Compare
Choose a tag to compare
Version 2.0.0-beta.9 Pre-release
Pre-release

What's Changed

An emergency fix to address a race issue with getting halos on multiple threads at once #813

Full Changelog: v2.0.0-beta.8...v2.0.0-beta.9

v2.0.0-beta.8

04 May 10:18
886e15c
Compare
Choose a tag to compare
v2.0.0-beta.8 Pre-release
Pre-release

What's Changed

This release gathers together the latest work towards a release of pynbody v2:

  • Update all units to more modern values, and fix swift scalefactor dependencies. Note that the update to units is a breaking change. #801
  • Updating/modernising large parts of the documentation and streamlining interface elements, which includes updating the names of some parameters #785, #805, #806, #807, #808, #809, #810, #811
  • Add underlying functionality for improved quiver key in velocity plots #804
  • Fix a bug with shared memory arrays being deleted too soon #812

Full Changelog: v2.0.0-beta.7...v2.0.0-beta.8

Version 2.0.0-beta.7

17 Apr 19:05
91b30ca
Compare
Choose a tag to compare
Version 2.0.0-beta.7 Pre-release
Pre-release

Enhancements

  • HBT+ multiple files implementation in #787
  • Enable smoothing at double precision, #795
  • Update KDTree to warn / disable periodicity when an issue occurs, instead of refusing to build, #798

Bug fixes

  • Allow loading adaptahop halos even if DM is not the first particle family, #784
  • Fix bug where HaloCatalogue.load_copy would not work, #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. #800

Miscellaneous

  • Revert back to using posix_ipc module for shared memory support in #790

Full Changelog: v2.0.0-beta.5...v2.0.0-beta.7

v2.0.0-beta.5

16 Mar 14:52
c951b26
Compare
Choose a tag to compare
v2.0.0-beta.5 Pre-release
Pre-release

What's Changed

  • Return children from SubfindHDF get_properties_all_halos by @apontzen in #783

Full Changelog: v2.0.0-beta.4...v2.0.0-beta.5

v2.0.0-beta.4

15 Mar 10:01
7b04e53
Compare
Choose a tag to compare
v2.0.0-beta.4 Pre-release
Pre-release

What's Changed

  • Support for swift, velociraptor and HBT+ (#757, #779, #780)
  • Add standardised mechanism for getting all halo properties by @apontzen in #777
  • Make cuboid filters wrap around the box and improve implementation (#780)

Full Changelog: v2.0.0-beta.3...v2.0.0-beta.4

Version 2.0.0-beta.3

10 Mar 09:03
f72eece
Compare
Choose a tag to compare
Version 2.0.0-beta.3 Pre-release
Pre-release

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: v2.0.0-beta.2...v2.0.0-beta.3

Version 2.0.0-beta.2

05 Mar 12:40
dd3e9d6
Compare
Choose a tag to compare
Version 2.0.0-beta.2 Pre-release
Pre-release

Bug fix

Fixes getting halo properties in physical units (#775)

Version 2.0.0-beta

29 Feb 13:24
0d3d274
Compare
Choose a tag to compare
Version 2.0.0-beta Pre-release
Pre-release

What's Changed

Near complete re-implementation of the halo catalogue class hierarchy (#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: v1.6.0...v2.0.0-beta

Version 1.6.0

19 Feb 14:43
724076d
Compare
Choose a tag to compare

What's Changed

Significant enhancements to the KDTree (#769):

  • pynbody's sphere filters now make use of the KDTree to greatly enhance extracting spheres from large simulations.
  • KDTrees will not automatically be built, so you should call f.build_tree() before f[pynbody.filt.Sphere(...)] to obtain the speed-up. Building the tree takes a while, so this is only worth doing if a large number of spheres will be extracted.
  • KDTrees are now built in parallel, significantly speeding up operations that need them (such as SPH smoothing)
  • KDTree data is now stored in numpy arrays, so it can be inspected from python and also can be stored in shared memory

Full Changelog: v1.5.2...v1.6.0