Skip to main content

Input file writers and output file parsers for the crystal plasticity code DAMASK.

Project description

PyPI version


Input file writers and output file readers for the crystal plasticity code DAMASK.


pip install damask-parse



  • read_table
  • ️✅ read_geom
  • read_spectral_stdout
  • read_spectral_stderr
  • read_load
  • read_material


  • write_geom
  • write_load
  • write_material_config
  • write_numerics_config


  • get_header_lines
  • get_num_header_lines


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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for damask-parse, version 0.2.16
Filename, size File type Python version Upload date Hashes
Filename, size damask_parse-0.2.16-py3-none-any.whl (52.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size damask-parse-0.2.16.tar.gz (42.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page