Skip to content

Post-processing tools for plotting results from Dedalus simulations.

License

Notifications You must be signed in to change notification settings

evanhanders/plotpal

Repository files navigation

plotpal

Post-processing tools for plotting results from Dedalus simulations. The code in this repository is backed up on Zenodo, and is citeable at: DOI

For more information on the kinds of plots plotpal can make, refer to the examples/ folder and see the README files for specific examples.

Installation

To install plotpal on your local machine, first ensure that you have openssl installed and then install Dedalus in a conda environment according to the instructions provided in the dedalus docs.

Check that your dedalus installation with ssl was successful by running the following:

conda activate your-dedalus-environment
python3
>>> import ssl
>>> import dedalus.public as d3

Then, follow the steps below:

  1. Clone the repository:

    git clone https://github.com/evanhanders/plotpal.git
    cd plotpal
  2. Install the package and dependencies:

    pip install --use-pep517 -e .

Usage

  1. Copy one of the python scripts from the example/ directory somewhere closer to where you're running dedalus simulations (or just modify one of your local files there).
  2. Put in the fields you care about plotting.
  3. Make some plots!

By default, plots will be located within the parent directory of your Dedalus simulation, in a new folder.

About

Post-processing tools for plotting results from Dedalus simulations.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages