This release is a pre-release and may not be stable for production use.
MicPy
MicPy is a Python package for working with MICRESS simulation data. It provides efficient tools to read, process, visualize, and convert MICRESS output, helping streamline simulation workflows.
Features
- Read MICRESS tabular output directly into Pandas DataFrames.
- Read MICRESS binary field data into NumPy arrays.
- Quickly visualize field data with a built-in Matplotlib plotting interface.
- Export field data to VTK as either CellData or PointData.
- Includes a ParaView plugin for directly opening MICRESS binary field files, with on-the-fly switching between CellData and PointData.
Installation
Install MicPy from PyPI:
pip install micress-micpy
Requires Python 3.11 or later.
Documentation
Full documentation, tutorials, and API reference are available at:
https://docs.micress.de/micpy/
Quick Start
Read tabular output
from micpy.tab import read
df = read("A001_Delta_Gamma.TabF")
print(df.head())
Read and visualize field data
from micpy.bin import read
field = read("A001_Delta_Gamma.conc1", -1) # last timestep
fig, ax, cbar = field.plot()
Export to VTK
from micpy.bin import read
field = read("A001_Delta_Gamma.conc1", -1)
field.save_vti("conc1.vti")
Contributing
Bug reports, feature requests, and contributions are welcome. Please open an issue or submit a pull request through the project repository.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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 micress_micpy-0.4.2b3-py3-none-any.whl.
File metadata
- Download URL: micress_micpy-0.4.2b3-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0da69322defef74189f70e01acb637b4b3fe5f87018bff1853a99775fdf73948
|
|
| MD5 |
722f29be060e3dce3595e1077091ec1e
|
|
| BLAKE2b-256 |
3db81de72c0c84db20932175a804be36e6c89d5b5ff4ba8dec0f7769e260e39d
|