Name | openmc-regular-mesh-plotter JSON |
Version |
1.2.2
JSON |
| download |
home_page | None |
Summary | A Python package for creating plots of OpenMC regular mesh tallies with the underlying geometry |
upload_time | 2024-05-09 09:55:43 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | MIT License Copyright (c) 2021 Fusion Energy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
regular
mesh
openmc
tally
plot
slice
geometry
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
[![N|Python](https://www.python.org/static/community_logos/python-powered-w-100x40.png)](https://www.python.org)
[![CI with install](https://github.com/fusion-energy/openmc_regular_mesh_plotter/actions/workflows/ci_with_install.yml/badge.svg)](https://github.com/fusion-energy/openmc_regular_mesh_plotter/actions/workflows/ci_with_install.yml)
[![PyPI](https://img.shields.io/pypi/v/openmc-regular-mesh-plotter?color=brightgreen&label=pypi&logo=grebrightgreenen&logoColor=green)](https://pypi.org/project/openmc-regular-mesh-plotter/)
# 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.
|<img src="https://user-images.githubusercontent.com/8583900/265032335-27463ee9-8960-4f5e-a662-dab0b6cd9fc5.png" alt="drawing" width="400"/>|<img src="https://user-images.githubusercontent.com/8583900/265065370-734c66ab-b20e-40c8-b72b-88203ea4347b.gif" alt="drawing" width="400"/>|
# Local install
First you will need openmc installed, then you can install this package with pip
```bash
pip install openmc_regular_mesh_plotter
```
# Usage
See the [examples folder](https://github.com/fusion-energy/openmc_regular_mesh_plotter/tree/main/examples) for example scripts
# Web App
This package is deployed on [xsplot.com](https://www.xsplot.com) as part of the ```openmc_plot``` suite of plotting apps
Raw data
{
"_id": null,
"home_page": null,
"name": "openmc-regular-mesh-plotter",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "regular, mesh, openmc, tally, plot, slice, geometry",
"author": null,
"author_email": "Jonathan Shimwell <mail@jshimwell.com>",
"download_url": "https://files.pythonhosted.org/packages/f6/a7/46a8a93bb60ef41a59bf059b1f6e1377e1ace3fc6ffa53ac67a1b6f25c72/openmc_regular_mesh_plotter-1.2.2.tar.gz",
"platform": null,
"description": "[![N|Python](https://www.python.org/static/community_logos/python-powered-w-100x40.png)](https://www.python.org)\n\n[![CI with install](https://github.com/fusion-energy/openmc_regular_mesh_plotter/actions/workflows/ci_with_install.yml/badge.svg)](https://github.com/fusion-energy/openmc_regular_mesh_plotter/actions/workflows/ci_with_install.yml)\n\n[![PyPI](https://img.shields.io/pypi/v/openmc-regular-mesh-plotter?color=brightgreen&label=pypi&logo=grebrightgreenen&logoColor=green)](https://pypi.org/project/openmc-regular-mesh-plotter/)\n\n\n# A minimal Python package that plots slices of OpenMC regular mesh tallies with the model geometry.\n\nFeatures\n\n:straight_ruler: Axis units in in helpful units mm, cm, m, km\n\n:eyes: Supports all 3 viewing basis (xy, xz, yz)\n\n:hocho: Automaticly finds central slice or allows user specified slice index\n\n:dart: Supports all values (mean, std_dev etc)\n\n:black_square_button: Adds outlines for geometry cells or material at different pixel resolution\n\n:arrow_right_hook: Customisable by passing keywords to underlying matplotlib functions colorbar, contour and imshow\n\n:arrow_right_hook: supports further customisations throught ```matplotlib.rc()```\n\n:heavy_plus_sign: Add tally results together to get combined plot.\n\n|<img src=\"https://user-images.githubusercontent.com/8583900/265032335-27463ee9-8960-4f5e-a662-dab0b6cd9fc5.png\" alt=\"drawing\" width=\"400\"/>|<img src=\"https://user-images.githubusercontent.com/8583900/265065370-734c66ab-b20e-40c8-b72b-88203ea4347b.gif\" alt=\"drawing\" width=\"400\"/>|\n\n# Local install\n\nFirst you will need openmc installed, then you can install this package with pip\n\n```bash\npip install openmc_regular_mesh_plotter\n```\n\n# Usage\n\nSee the [examples folder](https://github.com/fusion-energy/openmc_regular_mesh_plotter/tree/main/examples) for example scripts\n\n# Web App\n\nThis package is deployed on [xsplot.com](https://www.xsplot.com) as part of the ```openmc_plot``` suite of plotting apps\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2021 Fusion Energy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "A Python package for creating plots of OpenMC regular mesh tallies with the underlying geometry",
"version": "1.2.2",
"project_urls": {
"Bug Tracker": "https://github.com/fusion-energy/openmc_regular_mesh_plotter/issues",
"Homepage": "https://github.com/fusion-energy/openmc_regular_mesh_plotter"
},
"split_keywords": [
"regular",
" mesh",
" openmc",
" tally",
" plot",
" slice",
" geometry"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "21c84749520993ad11a24fafce069ebd9885947a27aa29deee454519d2dc4ad0",
"md5": "cb897080cf7905f3658ca5ba461716f8",
"sha256": "726702d45b5e68f621b42c6fd852a34ab0658de06823438434924718e0eef8a4"
},
"downloads": -1,
"filename": "openmc_regular_mesh_plotter-1.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cb897080cf7905f3658ca5ba461716f8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 9225,
"upload_time": "2024-05-09T09:55:41",
"upload_time_iso_8601": "2024-05-09T09:55:41.923419Z",
"url": "https://files.pythonhosted.org/packages/21/c8/4749520993ad11a24fafce069ebd9885947a27aa29deee454519d2dc4ad0/openmc_regular_mesh_plotter-1.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f6a746a8a93bb60ef41a59bf059b1f6e1377e1ace3fc6ffa53ac67a1b6f25c72",
"md5": "9fe8868962160d0c420420a72d2c6bdd",
"sha256": "b8c9e8cf97f58239ace076ae1a221b98a03f21008726ac748d140caaff3b9e39"
},
"downloads": -1,
"filename": "openmc_regular_mesh_plotter-1.2.2.tar.gz",
"has_sig": false,
"md5_digest": "9fe8868962160d0c420420a72d2c6bdd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 18019,
"upload_time": "2024-05-09T09:55:43",
"upload_time_iso_8601": "2024-05-09T09:55:43.433244Z",
"url": "https://files.pythonhosted.org/packages/f6/a7/46a8a93bb60ef41a59bf059b1f6e1377e1ace3fc6ffa53ac67a1b6f25c72/openmc_regular_mesh_plotter-1.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-09 09:55:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fusion-energy",
"github_project": "openmc_regular_mesh_plotter",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "openmc-regular-mesh-plotter"
}