Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 828 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 828 Bytes

Introduction

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 for pc.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's power_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 in read to use the decimated HDF5 output.

Dependencies

  1. numpy
  2. scipy
  3. matplotlib
  4. pencil
  5. h5py

Known issues

  1. Using dill to save dr_base instances is sometimes prevented by the following bug: uqfoundation/dill#332 (fixed in dill 0.3.8)