Metadata-Version: 2.4
Name: landau
Version: 1.5.0
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.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: matplotlib<4,>=3
Requires-Dist: numpy<3,>1
Requires-Dist: pandas<3,>=2.2
Requires-Dist: scipy<2,>=1.11.0
Requires-Dist: shapely<=2.0.7,>1
Requires-Dist: seaborn<=0.13.2,>=0.12
Requires-Dist: scikit-learn<2,>=1.2
Requires-Dist: pyiron_snippets<1,>=0.1.4
Provides-Extra: constraints
Requires-Dist: polyfit; extra == "constraints"
Provides-Extra: python-tsp
Requires-Dist: python-tsp<0.6,>=0.4.2; extra == "python-tsp"
Provides-Extra: fast-tsp
Requires-Dist: fast-tsp==0.1.4; extra == "fast-tsp"
Dynamic: license-file

[![DOI](https://zenodo.org/badge/931240296.svg)](https://doi.org/10.5281/zenodo.15513439)

# 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)
