Python utilities for processing FLEKS data
Project description
flekspy
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:
-
Make sure the ParaView version is 5.13 or higher.
-
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
pvpythondoes not detectflekspy. 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
- Launch ParaView with the virtual environment
./bin/paraview --venv .venv
- In Tools > Manage Plugins, load the
BATSRUSReaderplugin.
License
flekspy is licensed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flekspy-0.2.13.tar.gz.
File metadata
- Download URL: flekspy-0.2.13.tar.gz
- Upload date:
- Size: 30.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a6dceea61143c6ed4ab50d4743412837315e2dfe8efd593f14d038ac751904f
|
|
| MD5 |
b4fc84d767f8a0d2520a72998d0946a0
|
|
| BLAKE2b-256 |
c0c8859de573fd7a5ed37be4690d96c2f0ab2a1991017cb1240182398d34dae7
|
File details
Details for the file flekspy-0.2.13-py3-none-any.whl.
File metadata
- Download URL: flekspy-0.2.13-py3-none-any.whl
- Upload date:
- Size: 33.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1eef5457cb70c14ac8e5ed905f5907ade34db6986bc5ad872c92861179fe2b91
|
|
| MD5 |
b5f4f965d91d5954b4af190ae97d18e6
|
|
| BLAKE2b-256 |
d70b13ed2f18ed4f2a84e9ca6fab0ca00222e2ff1fdf718f90abf9fa04525667
|