Skip to main content

A Python package for creating plots of OpenMC regular mesh tallies with the underlying geometry

Project description

N|Python

CI with install

PyPI

A minimal Python package that plots slices of OpenMC regular mesh tallies with the model geometry.

Features

:straight_ruler: Axis units in in helpful units mm, cm, m, km

:eyes: Supports all 3 viewing basis (xy, xz, yz)

:hocho: Automaticly finds central slice or allows user specified slice index

:dart: Supports all values (mean, std_dev etc)

:black_square_button: Adds outlines for geometry cells or material at different pixel resolution

:arrow_right_hook: Customisable by passing keywords to underlying matplotlib functions colorbar, contour and imshow

:arrow_right_hook: supports further customisations throught matplotlib.rc()

:heavy_plus_sign: Add tally results together to get combined plot.

|drawing|drawing|

Local install

First you will need openmc installed, then you can install this package with pip

pip install openmc_regular_mesh_plotter

Usage

See the examples folder for example scripts

Web App

This package is deployed on xsplot.com as part of the openmc_plot suite of plotting apps

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openmc_regular_mesh_plotter-1.2.1.tar.gz (18.0 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page