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.23.tar.gz (53.4 kB view details)

Uploaded Source

Built Distribution

damask_parse-0.2.23-py3-none-any.whl (54.8 kB view details)

Uploaded Python 3

File details

Details for the file damask-parse-0.2.23.tar.gz.

File metadata

  • Download URL: damask-parse-0.2.23.tar.gz
  • Upload date:
  • Size: 53.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.28.2 setuptools/46.3.1.post20200515 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.8.2

File hashes

Hashes for damask-parse-0.2.23.tar.gz
Algorithm Hash digest
SHA256 ee34b57b842c4d6f0565dac57faf2d7810ef138987596d7009b5fb581839428d
MD5 d33870f63bad1ff4a783cec615b166c8
BLAKE2b-256 3ca568da87100fe26bd551d9a87b1ec42b6f076cef82c9dfda083cdb8c4dc29d

See more details on using hashes here.

File details

Details for the file damask_parse-0.2.23-py3-none-any.whl.

File metadata

  • Download URL: damask_parse-0.2.23-py3-none-any.whl
  • Upload date:
  • Size: 54.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.28.2 setuptools/46.3.1.post20200515 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.8.2

File hashes

Hashes for damask_parse-0.2.23-py3-none-any.whl
Algorithm Hash digest
SHA256 ac9d95635d2ed20cd26b0cd3b6c3debdd5d0fb0cb01a1b2487eabc5a2d56e6ee
MD5 4b76f78b71472ce07bb5ca9eac79c1bd
BLAKE2b-256 1c9a40fb046fb91a6a221156be301143d3541c33b2a7dd1145499ad9e001a5ff

See more details on using hashes here.

Supported by

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