Skip to content
  • Home
  • Recent
Collapse
Brand Logo
CRYSTAL23
Latest v1.0.1
Tutorials Try the Demo Get a License
Tutorials Try the Demo Get a License Instagram
  1. Home
  2. PROPERTIES
  3. Band Structure
  4. How use CRYSTALpytools?

How use CRYSTALpytools?

Scheduled Pinned Locked Moved Band Structure
4 Posts 3 Posters 55 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • QMQDCHEMundefined Offline
    QMQDCHEMundefined Offline
    QMQDCHEM
    wrote last edited by
    #1
    (base) noctua-v2@noctua-v2-X9DR3-F:~/Desktop/RSF/band$ ls
     BAND.DAT  'BAND STRUCTURE.jpeg'   fort.25   fort.87   fort.9   INPUT   OUTPUT
    

    Can 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)
    
    1 Reply Last reply
    0
    • GiacomoAmbrogioundefined Offline
      GiacomoAmbrogioundefined Offline
      GiacomoAmbrogio Developer
      wrote last edited by dmitoli
      #2

      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.

      Giacomo Ambrogio, PhD Student
      Department of Chemistry - University of Torino
      V. Giuria 5, 10125 Torino (Italy)

      1 Reply Last reply
      1
      • dmitoliundefined Offline
        dmitoliundefined Offline
        dmitoli Developer
        wrote last edited by
        #3

        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.

        Davide Mitoli, PhD
        Postdoctoral Researcher
        Department of Chemistry - University of Torino
        V. Giuria 5, 10125 Torino (Italy)
        https://github.com/davidemitoli

        1 Reply Last reply
        1
        • QMQDCHEMundefined Offline
          QMQDCHEMundefined Offline
          QMQDCHEM
          wrote last edited by
          #4

          Thank you! This is much more comfortable.

          1 Reply Last reply
          👍
          0

          Powered by Crystal Solutions
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Home
          • Recent