GfnQPdb= "E < ./your_-J_label/ndb.QP"
```
and run `ypp` again as before.
When it's done, rename the outputs as follows
```{code-block} none
$ mv o.bands_interpolated o.GW_bands
$ mkdir GW_bands
$ mv o.spin* o.magn* GW_bands/
```
You can now compare the DFT and GW bands by plotting them, using the `plt_bands.gnu` gnuplot script below if you want. If you prefer python, you can use the python script `plt_bands.py` that you will find in the tutorial directory (the latter script needs `numpy` and `matplotlib`).
````{dropdown} plt_bands.gnu
```{code-block} none
### Terminal
set terminal qt persist enhanced font "Helvetica,12"
### Files
file_DFT = "o.DFT_bands"
file_GW = "o.GW_bands"
### Axes & tics
set xrange [0:237]
set xtics ("{/Symbol G}" 0, "M" 87, "K" 137, "{/Symbol G}" 237)
set ylabel "Energy (eV)"
set grid xtics ytics
set border lw 1.5
### Line styles
set style line 1 lc rgb "#000000" lw 2 # DFT
set style line 2 lc rgb "#d62728" lw 2 # GW
### Legend
set key top right spacing 1.2
### Plot
plot \
file_DFT u 0:2 w l ls 1 t "DFT", \
file_DFT u 0:3 w l ls 1 notitle, \
file_DFT u 0:4 w l ls 1 notitle, \
file_DFT u 0:5 w l ls 1 notitle, \
file_GW u 0:2 w l ls 2 t "GW", \
file_GW u 0:3 w l ls 2 notitle, \
file_GW u 0:4 w l ls 2 notitle, \
file_GW u 0:5 w l ls 2 notitle
```
Save this in a file named `PLOT_bands.gnu` and then load it in `gnuplot` to
plot the bands:
```{code-block} none
$ gnuplot
gnuplot> load 'PLOT_bands.gnu'
```
````
```{figure} ./images/MoS2_HPC_GW-vs-DFT_interpolated_bands.png
:width: 70%
GW and DFT bands of monolayer MoS