Skip to main content
ozzy logo

Ozzy is a data visualization and data wrangling Python package geared towards particle-in-cell (PIC) simulations and the plasma physics community.

Ozzy's philosophy is to make the analysis of simulation data originating from multiple simulation codes and often contained in large files as easy as possible by building on the powerful features of the xarray package.

Why ozzy?

  • Any simulation code

    Read and plot simulation data written by any PIC simulation code. Write the backend to parse the data once and move on. Currently available: openPMD, OSIRIS, and LCODE.

  • Labeled dimensions (thanks to xarray)

    Think like a physicist, not like a software engineer. You'll never have to wonder which numerical index corresponds to the $x$ dimension of that array again.

  • No file size too large (thanks to Dask)

    Chunking and lazy-loading of large data files are handled automatically by xarray and Dask.

  • Flexible

    We embrace xarray and Dask data objects, but you don't have to. Easily manipulate your data as trusty NumPy arrays whenever convenient.

  • Beautiful plots with one line of code

    Ozzy lays the groundwork using the dataset's metadata.

Installation

A detailed guide is available in the "Installation" page of the documentation.

We highly recommend installing ozzy in its own virtual environment.

conda install --channel=conda-forge ozzy-pic

pip

python3 -m pip install ozzy-pic

Head to the documentation page to see some examples of how to get started.

Documentation

All the documentation can be found at https://mtrocadomoreira.github.io/ozzy.

Acknowledgment

Please consider acknowledging ozzy if you use it to produce images or results published in a scientific publication, for example by including the following text in the acknowledgments and/or citing ozzy's Zenodo reference1:

The data and plots in this publication were processed with ozzy1, a freely available data visualization and analysis package.

In addition, please note that ozzy.plot uses two color maps developed by Fabio Crameri (licensed under an MIT license) by default: vik (diverging) and lipari (sequential). These color maps should be acknowledged if used in a published image, for example with:

The Scientific colour map lipari2 is used in this study to prevent visual distortion of the data and exclusion of readers with colour-vision deficiencies3.

More information about the colour libraries used by ozzy can be found in the "Plotting" section of the User Guide.

License

Copyright © 2024 Mariana Moreira - All Rights Reserved

You may use, distribute and modify this code under the terms of the MIT License.

The plotting submodule of ozzy (ozzy.plot) also bundles a few different fonts under the SIL Open Font License (OFL), which is a free and open-source license. The full text of these licenses is included for each font in the fonts directory (src/ozzy/fonts/). See more details about the bundled fonts and their copyright notices in the "License" section of the documentation.

ozzy icon
  1. M. Moreira, “Ozzy: A flexible Python package for PIC simulation data analysis and visualization”. Zenodo, Jul. 16, 2024. doi: 10.5281/zenodo.12752995. ↩ ↩2

  2. F. Crameri, "Scientific colour maps". Zenodo, Oct. 05, 2023. doi: 10.5281/zenodo.8409685. ↩

  3. F. Crameri, G.E. Shephard, and P.J. Heron, "The misuse of colour in science communication". Nat. Commun. 11, 5444 (2020). doi: 10.1038/s41467-020-19160-7. ↩

Metadata

Release files for ozzy-pic 2.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ozzy-pic 2.1.8
File Size Uploaded
ozzy_pic-2.1.8.tar.gz 9.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ozzy-pic 2.1.8
File Interpreter ABI Platform
ozzy_pic-2.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 18.7 MB

Release files / ozzy_pic-2.1.8.tar.gz

Download URL ozzy_pic-2.1.8.tar.gz
Size 9.3 MB
Tags Source
SHA-256 checksum
How to use checksums
d43fbd21b64f23bd1aa14a8dc50d784ee638185022cbda1d464977ce75f0d59f
BLAKE2b-256 checksum
How to use checksums
a2b5bc8d2937d97ae365d38fd70858ced31d386b0fd90b681cc9b6025ded55f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ozzy_pic-2.1.8-py3-none-any.whl

Download URL ozzy_pic-2.1.8-py3-none-any.whl
Size 9.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
fd6876eaec79752598f5f801190e031d5716458887b1234620e04d5763eecea2
BLAKE2b-256 checksum
How to use checksums
8f4c41437b9ae17b8bb9946328868d4bd88ab893e7392b07d2a7f733b7eef941
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

2.1.8 This release

2 release files

2.1.7

2 release files

2.1.6

2 release files

2.1.5

2 release files

2.1.4

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.9

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page