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.6.1.tar.gz (51.5 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.6.1-py3-none-any.whl (56.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: damask_parse-0.6.1.tar.gz
  • Upload date:
  • Size: 51.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.13 Linux/6.17.0-1010-azure

File hashes

Hashes for damask_parse-0.6.1.tar.gz
Algorithm Hash digest
SHA256 eaebd80806a62bc90666fa3e1fe38f175401aeab8afb918c06878889c30747a8
MD5 0f1fa062b451334fac02a232b690c75b
BLAKE2b-256 708468755c6a0226e4bc413973c5ec216094c0997507c892486d20e3e838d5b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: damask_parse-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 56.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.13 Linux/6.17.0-1010-azure

File hashes

Hashes for damask_parse-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67da2fe6d8246ad804da7ed5e5237de60bbd5d9b3d931ad5b1b14e37fd70c44a
MD5 453af2a21be6bb66c0f1e7a2139623d3
BLAKE2b-256 c5bc8d95b14bf5ecf51822c7b0ef3ba0df0237d433a90381ba6da8081c4fcc13

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