Skip to main content

Python utilities for processing FLEKS data

Project description

flekspy

PyPI version

Python package for processing FLEKS (FLexible Exascale Kinetic Simulator) data.

Installation

python -m pip install flekspy

Usage

flekspy can load files generated from FLEKS.

import flekspy

ds = flekspy.load("sample_data/3*amrex")

Plotting is supported via Matplotlib and YT. For more detailed usage and contribution guide, please refer to the documentation.

ParaView Plugin

flekspy provides a ParaView plugin for visualizing FLEKS data. To use the plugin, follow these steps:

  1. Make sure the ParaView version is 5.13 or higher.

  2. Install flekspy for pvpython.

  • Go into the ParaView directory and create a virtual environment for Python
./bin/pvpython -m venv .venv
  • Check the Python version of pvpython
./bin/pvpython -c "import sys; print(sys.version)"
  • Install flekspy in the directory right in the venv. You may need to adjust the target path if pvpython does not detect flekspy. Assuming the Python version is 3.10.11, run
python3 -m pip  install --only-binary=:all: --python-version 3.10.11 --target ./.venv/lib/python3.10/site-packages/ flekspy
  1. Launch ParaView with the virtual environment
./bin/paraview --venv .venv
  1. In Tools > Manage Plugins, load the BATSRUSReader plugin.

License

flekspy is licensed under the terms of the MIT license.

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

flekspy-0.3.1.tar.gz (32.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flekspy-0.3.1-py3-none-any.whl (35.8 kB view details)

Uploaded Python 3

File details

Details for the file flekspy-0.3.1.tar.gz.

File metadata

  • Download URL: flekspy-0.3.1.tar.gz
  • Upload date:
  • Size: 32.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for flekspy-0.3.1.tar.gz
Algorithm Hash digest
SHA256 aaf2231d0ed53ac4891e424f6bcd8715218af76745648eea64bfc4f7d965119b
MD5 1e146d88270dc30b25ea1f14c0a5962c
BLAKE2b-256 75fa2fc82a8db43f68b867944e66f0264e0466285483b30cb36411ff38a59254

See more details on using hashes here.

File details

Details for the file flekspy-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: flekspy-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 35.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for flekspy-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 856b297ae36eb17d596457e28ce1e012824815b559c6658fc05aae27f2c5bdc4
MD5 616b4550f51467c92e6a044cfa62ccf7
BLAKE2b-256 84e7d14895903114618378cfdcae06f6d9830ae7b51899d90ecc2206d41ffa65

See more details on using hashes here.

Supported by

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