@apontzen apontzen released this Aug 29, 2018 · 59 commits to master since this release

Assets 3


  • Add default mapping for black holes in GadgetHDF snapshots
  • Better dependency specification in setup.py for automated installation (@rokroskar)
  • Handles Eagle-like GadgetHDF snapshots which store their halo/group catalogue as two arrays (specifying the group and subgroup number)
  • Add ability to save back individual arrays in GadgetHDF format using snap['arname'].write() or snap.family['arname'].write() syntax
  • Performance enhancements to GadgetHDF implementation

Bug fixes:

  • Fixed an issue where mu (relative atomic mass) was defined incorrectly in some cases (@mtremmel / @trquinn)
  • Fixed an issue in IndexedSubSnap, where an entire family array could be incorrectly returned instead of an empty array when no family members were present in the IndexedSubSnap
  • Fixed an issue where inconsistent smoothing information would prevent a KDTree from generating density estimates; now KDTree insists on using its own smoothing lengths to prevent this occurring.

@apontzen apontzen released this Jun 24, 2018 · 80 commits to master since this release

Assets 3

Bug fixes

  • Fixed RGB star rendering on Python 3
  • Fixed bugs affecting isolated runs with Gadget


  • Better handling of how "eps" (softening) is passed to gravity routines to avoid dtype mismatches
  • Introduced option to use a .units file to override the default inferred units of a file (Michele Mastropietro)
  • Made improved error message for when a multi-threaded image rendering goes wrong on one or more threads

New features

  • NFW profile fitting, with a framework for fitting other generic profiles (by Martin Rey)
  • Halo shape fitting (by Matt Orkney)

@apontzen apontzen released this Mar 30, 2018 · 125 commits to master since this release

Assets 3
  • Reads Rockstar catalogues
  • Refactors halo module into a subpackage for better readability and maintainability
  • Improved GadgetHDF versatility

@apontzen apontzen released this Feb 17, 2018 · 159 commits to master since this release

Assets 3

Adds support for new Ramses format, and fix bugs with HOP catalogue implementation

@apontzen apontzen released this Dec 22, 2017 · 183 commits to master since this release

Assets 3
Merge pull request #429 from pynbody/rel-0.42

Stamp version 0.42

@apontzen apontzen released this Jun 14, 2016 · 266 commits to master since this release

Assets 3

Bug-fix release addresses inappropriate default colour scaling in pynbody.plot.sph.image and related functions.

@apontzen apontzen released this Jun 2, 2016 · 268 commits to master since this release

Assets 3

Plotting enhancements

  • Adds an ability to use vector fields other than vel in plot.sph.velocity_image
  • Vector fields are now correctly depth-averaged in plot.sph.velocity_image if the main image is depth-averaged or integrated
  • A mag/arcsec^2 range can now be specified to plot.stars.render

Bug fixes and miscellaneous enhancements

  • Now loads RAMSES-RT radiation information
  • Resolves an issue where a fraction of ramses cells at levelmax could go missing
  • SubFind is now supported
  • Removes the warning about logging which is now 2 years old
  • Resolves a datatype issue when loading gadget files written by L-PICOLA and related codes
  • Fixes an issue with plot.sph.image where vmin was not respected when negative values were present and log scaling selected
  • Increases speed of loading large gadget files
  • Resolves issues with numpy 1.10.x
  • Fixes an issue with dimensionless arrays raising errors during unit conversions
  • Added a new fuzzy_match_catalog to the bridge module, allowing identifications for halos to return confidence levels and alternative matches
  • Fixes error loading AHF catalogs in python 3
  • Documentation can now be built with python 3

@rokroskar rokroskar released this Sep 3, 2015 · 410 commits to master since this release

Assets 3

Updates in pynbody 0.3 include:

  • transformation tracking
  • updated, faster sph rendering
  • bug fixes to the profile class
  • support for producing vector field image overlays
  • improved tutorials and documentation
  • new documentation look
  • SubFind HDF support
  • python 3 compatibility fixes
  • support for logging