Utilities to plot dispersion relations and fit modes in simulations that use the Pencil code (https://github.com/pencil-code/pencil-code).
power.cachedcontains a replacement forpc.read.powerthat caches the results in a HDF5 file (allows faster reads and loading only a part of the array into memory)power.decimate.make_decimated_powerallows to take the output of Pencil'spower_xysubroutine and save only a subset of it into a HDF5 file.power.decimate.m_pxy_decimatedis a mixin that allows the classes inreadto use the decimated HDF5 output.power.dat2h5converts the text files generated by Pencil'spower_xysubroutine into HDF5 files.powerxy_to_hdf5: convertspower*_xy.datto HDF5 files.read_power: replacement forpc.read.powers.Powerthat uses the files generated bypowerxy_to_hdf5
Repository: https://bitbucket.org/kishore-phy/pc_komega_utils/
- numpy
- scipy
- matplotlib
- pencil
- h5py
- Using
dillto save dr_base instances is sometimes prevented by the following bug: uqfoundation/dill#332 (fixed in dill 0.3.8)