How use CRYSTALpytools?
-
(base) noctua-v2@noctua-v2-X9DR3-F:~/Desktop/RSF/band$ ls BAND.DAT 'BAND STRUCTURE.jpeg' fort.25 fort.87 fort.9 INPUT OUTPUTCan I use BAND.DAT as *.BAND and OUTPUT as *.out files in code?
from CRYSTALpytools.electronics import ElectronBand from pymatgen.electronic_structure.plotter import BSPlotter band = ElectronBand.from_file('*.DAT', 'OUTPUT') pmgband = mgoband.to_pmg(labels=[r'$\Gamma$', 'W', 'X', 'L', r'$\Gamma$']) bsplot = BSPlotter(pmgband) bsplot.get_plot(ylim=(-10, 10), zero_to_efermi=True) -
Hi,
I suggest you to use CRYSTALClear instead. Here you can find an installation guide, and on the GitHub page there is the documentation and some example notebooks that you can use as template.
For any question related to CRYSTALClear there is a dedicated section here on the forum. -
Dear user,
as noted by GiacomoAmbrogio, we invite you to use CRYSTALClear, which is the Python framework that we currently maintain and support. Regarding your question, yes: you should use BAND.DAT as the *.BAND file and OUTPUT as the *.out file.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login