Utilities to plot dispersion relations and fit modes in simulations that use the Pencil code (https://github.com/pencil-code/pencil-code).
power.cached
contains a replacement forpc.read.power
that caches the results in a HDF5 file (allows faster reads and loading only a part of the array into memory)power.decimate.make_decimated_power
allows to take the output of Pencil'spower_xy
subroutine and save only a subset of it into a HDF5 file.power.decimate.m_pxy_decimated
is a mixin that allows the classes inread
to use the decimated HDF5 output.
- numpy
- scipy
- matplotlib
- pencil
- h5py
- Using
dill
to save dr_base instances is sometimes prevented by the following bug: uqfoundation/dill#332 (fixed in dill 0.3.8)