PyQAlloy-compatible Model for RMSAD prediction based on Tandoc 2023 (https://doi.org/10.1038/s41524-023-00993-x)
Project description
Lattice-Distortion
Release:
This Fork
This small repository is a lightweight fork version of the original one by Tandoc. It is only slightly modified to fit automated pipelines of the ULTERA Database (ultera.org) infrastrcutre, which expects model.py
script with predict(comp: pymatgen.Composition)
function returning an ordered array of output numbers or a labeled dictionary of them.
Output Order: [rmsad_Tandoc2023
]
Output Meaning (all based on 10.1038/s41524-023-00993-x):
rmsad_Tandoc2023
- Root Mean Squared Atomic Displacement in the units of Angstrom
Original README by Tandoc
This repository contains relevant code and data for "Mining lattice distortion, strength, and intrinsic ductility of refractory high-entropy alloys using physics-informed >statistical learning" by Christopher Tandoc, Yong-Jie Hu, Liang Qi, and Peter K. Liaw to be published in npj Computational Materials
RMSAD_tool.py is a linux command line script written in python that takes a chemical composition in the form of a text string and prints the lattice distortion in angstroms.
example usgage: ./RMSAD_tool.py Ti0.5V0.5
-This script uses pymatgen (https://pymatgen.org/) to process the input string and is thus a requirement for the script to work. Depending on the version of pymatgen you have >installed, lines 3 and 380 may need to be modified (https://matsci.org/t/python-problem-with-pymatgen/35720) -numpy (https://numpy.org/) is also a dependency -This tool is currently only able to make predictions for compositions containing Ti,Zr,Hf,V,Nb,Ta,Mo,W,Re,Ru and will return an error if any other elements are present in >the input -B2 and elemental feature data are defined in dictionaries at the beginning of the code
training.ipynb and training_data.csv contains code and data to reproduce the rmsad model training that was performed in the paper -jupyter notebook is needed to open training.ipynb, dependencies are numpy, pymatgen, matplotlib (https://matplotlib.org/), pandas (https://pandas.pydata.org/), and >sklearn(https://scikit-learn.org/stable/)
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
Built Distribution
File details
Details for the file pqam_rmsadtandoc2023-0.1.2.tar.gz
.
File metadata
- Download URL: pqam_rmsadtandoc2023-0.1.2.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4766ab63abe26139bbc74ad051be44aa018241d8a1a99fc7296062f7ff245354 |
|
MD5 | cc74423b68f7f9c1ae260832452269dc |
|
BLAKE2b-256 | d78bdce853126192bb273c1de753181d05c2fcd90fbc7b26d8eb1639ea5b2075 |
File details
Details for the file pqam_rmsadtandoc2023-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: pqam_rmsadtandoc2023-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a88a451fdca195dcab0bc3f58d5f98eb8b1905b0633f36372cf580539a90221 |
|
MD5 | c5da4b47a2baa6a59ffed2e97f47ee9e |
|
BLAKE2b-256 | 2aa46b0846c8929ff56630264615a357ea04e119f822f1388a17a34eb9459779 |