Skip to main content

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

Project description

PyPI version

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


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.0.tar.gz (25.8 kB view hashes)

Uploaded Source

Built Distribution

damask_parse-0.2.0-py3-none-any.whl (34.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page