Hello,<div><br></div><div>may be I was mistaken and didn't know how to use the script. It turned out it was adjusted for 0 being the Fermi level. On top of that not the HOMO energy level as Fermi level (as all graphics in publications I have seen) but a Fermi level calculated in another way.</div><div><br></div><div>If it is of any help to anyone, this is how I plot s,p,d and total density from one file in gnuplot:</div><div><br></div><div>D = <br>plot "pdos-k1-1.con2" u ($1+D):2 w l lw 1.5 t "", "pdos-k1-1.con2" u ($1+D):(sum[x=3:5] column(x)) w l lw 1.5 t "", "pdos-k1-1.con2" u ($1+D):(sum[y=6:10] column(y)) w l lw 1.5 t "", "pdos-k1-1.con2" u ($1+D):(sum[y=2:10] column(y)) w l lw 1.5 dt 2 t ""<br></div><div>Best Regards,</div><div><br></div><div>D is the difference between the Fermi level in .pdos and the HOMO energy level in the same .pdos</div><div><br></div><div>Dobromir<br><br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Wednesday, January 4, 2023 at 2:17:47 AM UTC+2 Dobromir A Kalchevski wrote:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello,<div><br></div><div>I was using cp2k_pdos from cp2k-output-tools to plot a smooth PDOS graphic with gnuplot and I noticed there are always errors. The peaks are shifted to wrong eV values and the gaps are not the same size. I use Band Structure diagram to see where should I have peaks and where I shouldn't + I read the original .pdos output from cp2k. The Band Structure and the .pdos are in a perfect agreement. The converted file from cp2k_pdos is the problem.</div><div><br></div><div>I tried adjusting --sigma (smoothing) and --de (integration step size) and nothing changes no matter the range of values / combinations.</div><div><br></div><div>I am attaching the Band Structure, plotted .pdos and 2 different plots from cp2k_pdos to visualize the problem.</div><div><br></div><div>I really hope you fix this soon.</div><div><br></div><div>Best Regards,</div><div>Dobromir</div></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/22cacb93-c6ae-400f-a6ac-295190f033bcn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/22cacb93-c6ae-400f-a6ac-295190f033bcn%40googlegroups.com</a>.<br />