EmbeddedCIF
Full documentation pages are generated for docstring
reference only and may contain symbols imported from other
modules. Imported symbols are not distinguished from locally
defined symbols and will appear in any module that they are
imported into. For better information on where symbols should
be imported from, review the sourcecode on the
github.
FoSpy.plotting.EmbeddedCIF
_quick_pattern
_quick_pattern(two_theta, intensity)
Source code in FoSpy/plotting/EmbeddedCIF.py
| def _quick_pattern(two_theta, intensity):
from matplotlib import pyplot as plt
plt.figure(figsize=(6,4))
plt.plot(two_theta, intensity, lw=1)
plt.xlabel("2θ (degrees)")
plt.ylabel("Intensity (a.u.)")
plt.title("Simulated XRD Pattern")
plt.tight_layout()
plt.show()
|