Releases: dmentipl/plonk
Releases · dmentipl/plonk
v0.5.1
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
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
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.