Releases: pynbody/pynbody
Version 2.0.0-beta10
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
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
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
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
What's Changed
Full Changelog: v2.0.0-beta.4...v2.0.0-beta.5
v2.0.0-beta.4
Version 2.0.0-beta.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: v2.0.0-beta.2...v2.0.0-beta.3
Version 2.0.0-beta.2
Bug fix
Fixes getting halo properties in physical units (#775)
Version 2.0.0-beta
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 toSimSnap.halos()
HaloCatalogue.precalculate()
has been renamed toHaloCatalogue.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 allHaloCatalogue
subclasses GrpCatalogue
has been renamed toHaloNumberCatalogue
to better reflect its meaningAHFCatalogue
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 passhalo_numbers='v1'
tohalos()
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
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()
beforef[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