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.6.0.tar.gz (55.4 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.6.0-py3-none-any.whl (60.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flekspy-0.6.0.tar.gz
Algorithm Hash digest
SHA256 08e32abab184cd4e4ba62b41a5a5669f1599a63f1434a44439382bd526d22d98
MD5 1336b2384e44f24d132c04e4ea220b25
BLAKE2b-256 e1f5b87ef9bd7cc14df852382c6a02bddf5c2254eeb438458e8cd7e9fb0000f5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flekspy-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8a849d169d071696d9d11bbb72d0e8e9961fad3f2673221e1d8a0ed3e46bece
MD5 d731481dc8e5ccb394e2d6d4592e9896
BLAKE2b-256 5b3cdb643f73df4b02bb7b2f0210bdcc07037ba3fdea4bfd0a680f575c173b72

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