Skip to main content

A pyiron module for atomistic simulation workflows

Project description

pyiron_workflow_atomistics

Overview

This repository contains a pyiron module for atomistic simulation workflows, providing tools and utilities for working with atomic structures, grain boundaries, and various atomistic calculations.

Features

  • Grain Boundary Analysis: Tools for analyzing and manipulating grain boundaries, including:

    • GB plane detection and analysis
    • Cleavage plane identification
    • Structure manipulation for GB studies
  • Structure Manipulation: Utilities for working with atomic structures:

    • Bulk structure handling
    • Structure featurization
    • Calculator integration
  • Workflow Integration: Seamless integration with pyiron workflow system for:

    • Automated structure calculations
    • Data processing and analysis
    • Results visualization

Installation

The package can be installed via pip:

pip install pyiron_workflow_atomistics

Or via conda:

conda install -c conda-forge pyiron_workflow_atomistics

Dependencies

The package requires:

  • Python >= 3.9, < 3.13
  • numpy < 2.0.0
  • pandas >= 1.3.0
  • matplotlib >= 3.4.0
  • ase >= 3.22.0
  • scipy >= 1.7.0
  • pyiron_workflow
  • pymatgen >= 2024.8.8
  • pyiron_snippets
  • scikit-learn >= 1.0.0

Usage

Grain Boundary Analysis

from pyiron_workflow_atomistics.gb.analysis import find_GB_plane
from pyiron_workflow_atomistics.gb.cleavage import cleave_gb_structure

# Find GB plane in a structure
gb_info = find_GB_plane(atoms, featuriser, axis="c")

# Cleave structure at GB
cleaved_structures, cleavage_planes = cleave_gb_structure(
    base_structure=atoms,
    axis_to_cleave="c",
    target_coord=target_coord
)

Structure Calculations

from pyiron_workflow_atomistics.calculator import calculate_structure_node

# Run structure calculations
results = calculate_structure_node(
    structure=atoms,
    calc=calculator,
    output_dir="calculations"
)

Documentation

For detailed documentation, visit our ReadTheDocs page.

Contributing

We welcome contributions! Please see our Contributing Guide for details.

License

This project is licensed under the BSD License - see the LICENSE file for details.

Citation

If you use this package in your research, please cite:

@software{pyiron_workflow_atomistics,
  author = {pyiron team},
  title = {pyiron_workflow_atomistics},
  year = {2024},
  url = {https://github.com/pyiron/pyiron_workflow_atomistics}
}

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

pyiron_workflow_atomistics-0.0.3.tar.gz (94.7 kB view details)

Uploaded Source

Built Distribution

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

pyiron_workflow_atomistics-0.0.3-py3-none-any.whl (97.0 kB view details)

Uploaded Python 3

File details

Details for the file pyiron_workflow_atomistics-0.0.3.tar.gz.

File metadata

File hashes

Hashes for pyiron_workflow_atomistics-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c71a6c44ae025dac9cbd7ca9dd23923d103b9b9b1c24ad025d352719c54ec811
MD5 688fd3c20efd8a37e2e9cb2183e33dc1
BLAKE2b-256 f236e9c927778842168795a2c60a477cb4506b40d0ae409e2768712df9fc3e12

See more details on using hashes here.

File details

Details for the file pyiron_workflow_atomistics-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pyiron_workflow_atomistics-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 75a56e357282469166664c599f4c3226b1c0584e822552612c152693bdfd587c
MD5 17b1eb8e276d48d38ceaf369ed58a4ae
BLAKE2b-256 811d2ee6bbf929c85c4e8873042e1d5728071257c52d7aa2e80863c7423c3050

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