Skip to main content

Input file writers and output file readers 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.30.tar.gz (49.8 kB view details)

Uploaded Source

Built Distribution

damask_parse-0.2.30-py3-none-any.whl (54.7 kB view details)

Uploaded Python 3

File details

Details for the file damask_parse-0.2.30.tar.gz.

File metadata

  • Download URL: damask_parse-0.2.30.tar.gz
  • Upload date:
  • Size: 49.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.0 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for damask_parse-0.2.30.tar.gz
Algorithm Hash digest
SHA256 18e153b1917dda7f222f3bcb38470a561f56b527dfeddb7b2bd1cf36d74d9f7e
MD5 c2498deae4753ef20a3113efe382fa6b
BLAKE2b-256 e3d6027b0df0fbf9037a2f6fee3a1e2a5052ca9db47b0e32ebeb01d00d4e0345

See more details on using hashes here.

File details

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

File metadata

  • Download URL: damask_parse-0.2.30-py3-none-any.whl
  • Upload date:
  • Size: 54.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.0 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for damask_parse-0.2.30-py3-none-any.whl
Algorithm Hash digest
SHA256 1b697412ef6d05440ae3b089e0ec20b48ee42480d409ba210388bab8d75a37f0
MD5 48cfcbaddf2e7b8551929ddb5f044cb7
BLAKE2b-256 b39daeecaec09de0a97c2f1c7f2bc8bd9b4a3244202a724008239c8d29edb2ea

See more details on using hashes here.

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