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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

damask_parse-0.5.1-py3-none-any.whl (55.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: damask_parse-0.5.1.tar.gz
  • Upload date:
  • Size: 49.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for damask_parse-0.5.1.tar.gz
Algorithm Hash digest
SHA256 dc72aca29d5cc16fd19187e37c882566af832451707dcbe0f598f7ac6b0d53fb
MD5 eb167d3926513b9b0f6bb92d073cd2dc
BLAKE2b-256 fe517d1b0b29791c27c957c56e218b57ed0220166ac47f846038f042b829a707

See more details on using hashes here.

File details

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

File metadata

  • Download URL: damask_parse-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 55.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for damask_parse-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 98c78f00a53c672c5535a4bef1e46e24525b607a7601399629976ae0f18fa30c
MD5 e4fe166a7a7bd2c0c355315b1080e013
BLAKE2b-256 97060ca88684eb9715d578dff5b05e1f8633b4a4a9247e899467e358c8ef5517

See more details on using hashes here.

Supported by

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