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:
# 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
medpro-1.0.4.tar.gz
(21.7 kB
view hashes)
Built Distribution
Close
Hashes for medpro-1.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edf166e38d18224fc6d5a8a259677893976770388ab824095ac7fbff693cddb3 |
|
MD5 | 3f83bc9565f5b68ec04e8307d0b8766e |
|
BLAKE2b-256 | edf9b12be5bc7b6ff8c704dfaec7fe112719d972ed7921e56af38b38e1ea1051 |