Probabilistic Isolation of Inorganic Crystalline Phases — Bayesian inference for predicting the composition of an unknown phase in a multi-phase XRD sample.
pip install picipfrom 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()- Installation Guide — pip install, clone for tutorials, verify setup
- User Manual — full usage guide with worked examples
The code used to generate results for the paper is preserved on the PICIP_paper branch.
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