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.3.0.tar.gz (49.9 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.3.0-py3-none-any.whl (54.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: damask_parse-0.3.0.tar.gz
  • Upload date:
  • Size: 49.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.0 CPython/3.12.11 Linux/6.11.0-1018-azure

File hashes

Hashes for damask_parse-0.3.0.tar.gz
Algorithm Hash digest
SHA256 5e96728fe1f557c500459524bd365425c7597916e36d0eab2f625178ff770dd1
MD5 396d39ad09c58b9d4e33b4aa834e23e8
BLAKE2b-256 70ca1c0d4d9d154963d73c29dbbf78d1bf5e4538bb6e3142fe7bb6cc02507961

See more details on using hashes here.

File details

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

File metadata

  • Download URL: damask_parse-0.3.0-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.11 Linux/6.11.0-1018-azure

File hashes

Hashes for damask_parse-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8bdc3b566e749fea205561a4ae43d102c65943b363fbb40e0ca02bd173edb60e
MD5 3105265cde237d264d5df15c5d4b329a
BLAKE2b-256 47441faf48be6e956b7beca4a97952019eb0cc86ad0a9059e8b12787e6bb6f40

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