Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

MicPy logo

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

micress_micpy-0.4.3b2-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file micress_micpy-0.4.3b2-py3-none-any.whl.

File metadata

File hashes

Hashes for micress_micpy-0.4.3b2-py3-none-any.whl
Algorithm Hash digest
SHA256 4a0a537267817cb97645e3c46fbb77b6fe33e0486192f2c4f4be2b1ead28409a
MD5 06cc2856310aaa178d20b1d68387971a
BLAKE2b-256 465c36fafda402d5abd1cc0f9ab1f11bfa06e5a7f5dd75fb5e9f66a369f4f07a

See more details on using hashes here.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page