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
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.1.12.tar.gz
(18.2 kB
view hashes)
Built Distribution
Close
Hashes for damask_parse-0.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50c43f9d08ab88b96d118f40b6b71ada872b3ae02596e579022c979e322b165d |
|
MD5 | d0c93ce1d6605d10f87639f276c310fe |
|
BLAKE2b-256 | f55d94e2b791c6fb3206fa9cceaa93c1d422c9a202dc21ad936ef20ba2472322 |