Input file writers and output file parsers for the crystal plasticity code DAMASK.
Project description
damask-parse
Input file writers and output file readers for the crystal plasticity code DAMASK.
Installation
pip install damask-parse
Roadmap
Readers:
- ✅
read_table
- ️✅
read_geom
- ✅
read_spectral_stdout
- ✅
read_spectral_stderr
- ❌
read_load
- ✅
read_material
Writers:
- ✅
write_geom
- ✅
write_load
- ✅
write_material_config
- ✅
write_numerics_config
Utilities:
- ✅
get_header_lines
- ✅
get_num_header_lines
Examples
Read an ASCII table file
The following example will read in the data from an ASCII table file. By default, this function will re-combine array columns (which are split into their individual components in the text file) into Numpy arrays.
from damask_parse import read_table
table_path = 'path/to/table/file.txt'
table_data = read_table(table_path)
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
damask-parse-0.2.18.tar.gz
(43.3 kB
view hashes)
Built Distribution
Close
Hashes for damask_parse-0.2.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2cebfce1a73f7ef62be5e731ed15aeb28c6021c46ef5c5401ecf2057a2f2442 |
|
MD5 | 66f3fcbc47c7e3e38f856bcf362675df |
|
BLAKE2b-256 | f87a53972e14c5495a691ef7022b64f7c2e5e0b666d0ee212458722381605913 |