Metadata-Version: 2.4
Name: landau
Version: 1.7.0
Summary: A library to calculate alloy thermodynamic equilibria and plot phase diagrams in the (semi-)grand ensemble.
Author-email: Marvin Poul <pmrv@posteo.de>
Project-URL: Repository, https://github.com/eisenforschung/landau
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: <3.14,>=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: matplotlib<4,>=3
Requires-Dist: numpy<3,>1
Requires-Dist: pandas<4,>=2.2
Requires-Dist: scipy<2,>=1.11.0
Requires-Dist: shapely<=2.1.2,>1
Requires-Dist: seaborn<=0.13.2,>=0.12
Requires-Dist: scikit-learn<2,>=1.2
Requires-Dist: pyiron_snippets<2,>=1
Provides-Extra: test
Requires-Dist: pytest<10,>=9; extra == "test"
Requires-Dist: hypothesis<7,>=6; extra == "test"
Provides-Extra: docs
Requires-Dist: sphinx; extra == "docs"
Requires-Dist: furo; extra == "docs"
Requires-Dist: myst-nb; extra == "docs"
Requires-Dist: sphinx-autodoc-typehints; extra == "docs"
Provides-Extra: constraints
Requires-Dist: polyfit; extra == "constraints"
Provides-Extra: python-tsp
Requires-Dist: python-tsp<=0.5,>=0.4.2; extra == "python-tsp"
Provides-Extra: fast-tsp
Requires-Dist: fast-tsp<=0.1.5,>=0.1.4; extra == "fast-tsp"
Dynamic: license-file

[![DOI](https://zenodo.org/badge/931240296.svg)](https://doi.org/10.5281/zenodo.15513439)
[![Documentation Status](https://readthedocs.org/projects/landau/badge/?version=latest)](https://landau.readthedocs.io/en/latest/?badge=latest)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/eisenforschung/landau)

# landau.py

A library to calculate thermodynamic equilibria and plot phase diagrams in the
(semi-)grand ensemble.


## Building packages

```bash
pip install build
python -m build --sdist
```

## Citation

This code is part of a [publication](https://doi.org/10.21203/rs.3.rs-4732459/v1), please cite it accordingly if you use this package in your work

```
@article{poul2025automated,
    title = {Automated generation of structure datasets for machine learning potentials and alloys},
    journal = {npj Computational Materials},
    author={Poul, Marvin and Huber, Liam and Neugebauer, J{\"o}rg},
    journal = {npj Computational Materials},
    volume = {11},
    number = {1},
    pages = {174},
    year={2025},
    doi = {10.1038/s41524-025-01669-4},
}

```

# Examples

## Phase Diagram of Two Ideal Solutions

![image](https://github.com/user-attachments/assets/02730176-be36-4f72-bf95-b607d2b5fa3d)

[See the Ideal Solution notebook.](notebooks/IdealSolution.ipynb)
