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.5.20.tar.gz (50.1 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.5.20-py3-none-any.whl (54.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flekspy-0.5.20.tar.gz
Algorithm Hash digest
SHA256 626ae46030e964aa8a547bffc9790b848c268f97f48f616414a2406ee55605d0
MD5 505ae3c92754c2f3a96f0ec703f7eafd
BLAKE2b-256 749c6cb8dd4dcbbc98d871a70b205c8ff6370c64f7194e2b8a461aeff7081cfd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flekspy-0.5.20-py3-none-any.whl
Algorithm Hash digest
SHA256 cb87bb8b52487ed0e28e476cc892d917539063c0852b4b3618e96c213d7c9376
MD5 dab84cc93eb5d0944807bc9c5f356dda
BLAKE2b-256 b781f8762efd6ce39b3fbe5ac2c73599ddef6f2e651448b6cc883076139473e1

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