Skip to content

Releases: dmentipl/plonk

v0.5.1

11 Jul 04:58
Compare
Choose a tag to compare

Added

  • Analysis functions for sink particles.
  • Function to animate particle plots.
  • Different colours per particle type in particle plots.
  • Tqdm progress bar for animation.

Changed

  • Use Matplotlib consistent argument names in particle_plot.

Fixed

  • Fix bug in standard deviation shading in Profile.

v0.5.0

20 Apr 06:40
Compare
Choose a tag to compare

Added

  • Neighbour finding via kd-tree.
  • Compute SPH derivatives using kd-tree.
  • IPython tab completion for Snap arrays and Profile profiles.
  • Profile can have ndim==1 which gives a linear profile, useful for box calculations.
  • Option to turn off caching of particle arrays, so that they are always read from file.
  • Write derived arrays to HDF5 file, and read arrays from that file onto a Snap.
  • Added logging of warning and other information messages.

Changed

  • Generalize sub-types: dust_type → sub_type: this allows for Phantom boundary particle sub-types.

Removed

  • Remove Visualization class in favour of just returning matplotlib's Axes and Figure objects.

v0.4.1

24 Mar 06:04
Compare
Choose a tag to compare

Added

  • Add scatter plots, i.e. particle plots with variable color and size markers.
  • Add extra_quantities method to easily calculate extra quantities on the snapshot.
  • Allow for setting array units, whether the array is rotatable, and whether it is a dust on derived arrays.
  • Profiles are automatically generated from any 1d Snap quantity.
  • Access individual dust quantities on profiles via '_001', etc.
  • Read Phantom equation of state information to get pressure, sound speed, temperature.
  • Add extra Snap quantities, e.g. Stokes number.
  • Add extra profiles, e.g. Toomre Q.
  • Allow accessing components of Snap quantities via '_x', etc.
  • Calculate standard deviation on profiles.

Changed

  • Use verbose names for all snapshot quantities, e.g. 'dust_fraction' not 'dustfrac' and 'velocity_divergence' not 'divv'.

Removed

  • Remove Evolution object in favour of pandas DataFrame.

v0.4.0

14 Mar 23:54
Compare
Choose a tag to compare

Added

  • Add physical units on the Snap object.
  • Physical units are compatible with all visualization and analysis modules.

v0.3.1

06 Mar 04:42
Compare
Choose a tag to compare

Added

  • Add many analysis functions.
  • Animations of visualizations.

Changed

  • Make it easier to add profiles to Profile
  • Make plonk.visualize.plot easier to use.

Fixed

  • Fix bug in Snap.rotate not rotating sink particles.

v0.3.0

07 Dec 08:16
Compare
Choose a tag to compare

Changed

  • Interpolation functions are now written in Python and JIT-compiled with Numba.

v.0.2.1

26 Nov 23:52
Compare
Choose a tag to compare

Added

  • Add the JOSS paper describing the code.

v0.2.0

15 Aug 10:41
Compare
Choose a tag to compare

Changed

  • Use KDEpy for interpolation.

v0.1.0

15 Aug 10:42
Compare
Choose a tag to compare

Initial release.