Medcoupling based post processing tools
Project description
Medcoupling based post processing tools
This project has been created to simplify the manipulation of MED files.
- Code examples::
import medpro
# Read a med file, extract mesh, field, group information fp = medpro.MEDFilePost(“./tests/examples/box_with_depl.rmed”) mesh = fp.meshes_by_name[“mesh”] g1 = mesh.get_group_by_name(“G1”) depl_evol = fp.fieldevols_by_name[“reslin__DEPL”]
# Extract a subpart of a field based on a group depl_g1 = depl_evol.extract_group(“G1”)
# Create a new MED file, write it back fpnew = medpro.MEDFilePost() fpnew.add_fieldevol(depl_g1) fpnew.write(“/tmp/output.rmed”)
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 medpro-1.0.5.tar.gz.
File metadata
- Download URL: medpro-1.0.5.tar.gz
- Upload date:
- Size: 22.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
739fdf43d4915af0ba2529b948f0a362003f724058d1d8498af41aed5b8f2c56
|
|
| MD5 |
d33f58e817a81a31303fa0662e1e68d4
|
|
| BLAKE2b-256 |
e6e6c97075a54ca9422f1d281456fe9c60e5ab1f8c356a020572542db85e85e2
|
File details
Details for the file medpro-1.0.5-py2.py3-none-any.whl.
File metadata
- Download URL: medpro-1.0.5-py2.py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f711502a3969f60a20ae5d113b899ca5cf521c4a8bb3a4366e8309b6f989eb3
|
|
| MD5 |
ae077e7d35cf62e2bba8e8225976b2bd
|
|
| BLAKE2b-256 |
79d8726b46508468427e302829e1bb980eef5384649d17f18d3d7dee456be4cb
|