Metadata-Version: 2.1
Name: damask-parse
Version: 0.2.14
Summary: Input file writers and output file parsers for the crystal plasticity code DAMASK.
Home-page: UNKNOWN
Author: Adam J. Plowman, Michael D. Atkinson
Author-email: adam.plowman@manchester.ac.uk
License: UNKNOWN
Project-URL: Github, https://github.com/LightForm-group/damask-parse
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: numpy (>=1.17.5)
Requires-Dist: pandas
Requires-Dist: h5py
Requires-Dist: damask
Requires-Dist: ruamel.yaml

[![PyPI version](https://badge.fury.io/py/damask-parse.svg)](https://badge.fury.io/py/damask-parse)

# 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.

```python
from damask_parse import read_table

table_path = 'path/to/table/file.txt'
table_data = read_table(table_path)

```


