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 593 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • QMQDCHEM
    QMQDCHEM
    QMQDCHEM
    wrote on 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
    • GiacomoAmbrogio
      GiacomoAmbrogio
      GiacomoAmbrogio
      Developer
      wrote on 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
      • dmitoli
        dmitoli
        dmitoli
        Developer
        wrote on 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
        • QMQDCHEM
          QMQDCHEM
          QMQDCHEM
          wrote on last edited by
          #4

          Thank you! This is much more comfortable.

          1 Reply Last reply
          👍
          0

          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Powered by Crystal Solutions
          • Login

          • Don't have an account? Register

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