Skip to content

Commit

Permalink
Cleaned tutorial scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulvio Paleari committed Oct 11, 2024
1 parent 33807f5 commit 90118e3
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 30 deletions.
4 changes: 0 additions & 4 deletions tutorial/databases_qepy/bn-semiconductor/plot-qe-bands.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
from __future__ import print_function, division
import sys
import argparse
from qepy import *
from schedulerpy import *
from math import sqrt

# k-points map
Expand Down
3 changes: 0 additions & 3 deletions tutorial/databases_qepy/bn-semiconductor/plot-qe-orbitals.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import sys
import argparse
from qepy import *
from schedulerpy import *
from math import sqrt

# Matplotlib options
Expand Down
9 changes: 1 addition & 8 deletions tutorial/databases_qepy/gw-bands/plot-qp.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
#
# Author: Alejandro Molina-Sanchez
#
# Example of YamboQPDB Class
#
from qepy import *
from yambopy import *
import matplotlib.pyplot as plt


# Define path in reduced coordinates using Class Path
npoints = 10
path = Path([ [[ 0.0, 0.0, 0.0],'$\Gamma$'],
Expand Down Expand Up @@ -57,7 +50,7 @@

plt.show()

# 4. Comparison of not-interpolaed and interpolated eigenvalues
# 4. Comparison of not-interpolated and interpolated eigenvalues

fig = plt.figure(figsize=(4,5))
ax = fig.add_axes( [ 0.20, 0.20, 0.70, 0.70 ])
Expand Down
5 changes: 0 additions & 5 deletions tutorial/databases_qepy/iron-metal/plot-qe-bands.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
from __future__ import print_function, division
import sys
import argparse
from qepy import *
from schedulerpy import *
from math import sqrt

# k-points map
npoints = 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
import sys
import argparse
from qepy import *
from schedulerpy import *

# Matplotlib options
import matplotlib.pyplot as plt

# k-points map
Expand Down
5 changes: 0 additions & 5 deletions tutorial/databases_qepy/iron-metal/plot-qe-orbitals-size.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
import sys
import argparse
from qepy import *
from schedulerpy import *

# Matplotlib options
import matplotlib.pyplot as plt

# k-points map
Expand Down
1 change: 1 addition & 0 deletions tutorial/databases_yambopy/exc_kspace_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
[int(npoints*2),int(npoints),int(sqrt(5)*npoints)] )

## [2.] Read electron energies
## NB: A YamboQPDB object containing QP corrections is also accepted
yel = YamboElectronsDB.from_db_file(folder=save_path+'/SAVE')

## [3.A] Plot without interpolating the values
Expand Down

0 comments on commit 90118e3

Please sign in to comment.