Skip to content

lrcfmd/PICIP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PICIP

Probabilistic Isolation of Inorganic Crystalline Phases — Bayesian inference for predicting the composition of an unknown phase in a multi-phase XRD sample.

Installation

pip install picip

Quick start

from picip import PICIP, Phase_Field, Sample, make_plotter

pf = Phase_Field()
pf.setup_uncharged(["Fe", "Mn", "Ti"])

sample = Sample("s1", "Fe2Mn4Ti4")
sample.add_knowns(["FeMn", "FeTi"])
sample.add_mass_weights([0.3, 0.7])
sample.set_predicted_error(0.3)

picip = PICIP(pf)
picip.add_sample(sample)
pred = picip.run()

pl = make_plotter(pf)
pl.plot_prediction_results(pred)
pl.show()

Documentation

Paper code

The code used to generate results for the paper is preserved on the PICIP_paper branch.

Citation

Ritchie, D.; Gaultois, M. W.; Gusev, V. V.; Kurlin, V.; Rosseinsky, M. J.; Dyer, M. S. Probabilistic Isolation of Crystalline Inorganic Phases. Journal of Chemical Information and Modeling 2025, 65 (24), 13226–13237. https://doi.org/10.1021/acs.jcim.5c02256

About

Python code for the running, testing and results analysis of PICIP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages