CRYSTALClear

\(\newcommand{\AA}{\text{Å}}\)

CRYSTALClear#

A Python framework for the CRYSTAL quantum-chemistry code: it reads what a calculation writes and plots the properties it returns.

pip install CRYSTALClear

A quick look#

Read an output, ask it for what you need, and plot it. The IR spectrum of a frequency calculation, as the vibrational spectra notebook draws it:

from CRYSTALClear.crystal_io import Crystal_output
import CRYSTALClear.plot as CCplt

CO = Crystal_output("spectra/thiourea_pbed3_Ahlrichs-pVTZ_freqcalc.out")
CO.get_IR()
CCplt.plot_cry_spec(CO.IR_HO_0K)

Every plotting function returns matplotlib objects, to be restyled, combined or saved like any other figure.

Examples#

Each notebook works through one kind of property on a real calculation.

More about the project, where it comes from and what it covers, is in the introduction. If CRYSTALClear helps your work, here is how to cite it.