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.22.tar.gz (53.4 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.2.22-py3-none-any.whl (54.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: damask-parse-0.2.22.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.22.tar.gz
Algorithm Hash digest
SHA256 995124c3e6490b2f446fd9809d957efbf3aae3b75aa55765be416955ef5c87f1
MD5 0391359f321c97b00c0e06509bd34649
BLAKE2b-256 95ad129b6d5da5e49b6ee75936223341e8ce9f5bf11056bd2a288891755d98bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: damask_parse-0.2.22-py3-none-any.whl
  • Upload date:
  • Size: 54.9 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.22-py3-none-any.whl
Algorithm Hash digest
SHA256 29fd498a05d69cbb68578820624b464923e9e0bdb7cf34d3f86263837ce98243
MD5 58d481c0dfedc173e3f0f37739fc844a
BLAKE2b-256 313a3ae28f85079a8e5e20dc4694cf386c0535d1091b42a2b1c5e6e2cfcd82b2

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