🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

damask-parse

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

damask-parse

Input file writers and output file readers for the crystal plasticity code DAMASK.

0.2.30
PyPI
Maintainers
2

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)

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts