<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 4 Dec 2019, at 14:13, 후신 부지드 <<a href="mailto:bouzid@skku.edu" class="">bouzid@skku.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="line-height: 1.2; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; caret-color: rgb(0, 0, 0); font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">Dear QE users</div><div style="line-height: 1.2; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; caret-color: rgb(0, 0, 0); font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">I've plotted the spin up and down band structures (from the file .dat.gnu) for a magnetic material (it is a Diluted magnetic semiconductor) but I would like to know to which atom or element belong each band and make it color coded. The problem I cannot do this simply from the DOS since I have a supercell containing many atoms and the bands are too many.</div><div style="line-height: 1.2; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; caret-color: rgb(0, 0, 0); font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">I have seen people do this in VASP, is it possible to do the same in QE?<br class=""></div><div style="line-height: 1.2; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; caret-color: rgb(0, 0, 0); font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div><div name="gwSign" style="caret-color: rgb(0, 0, 0); font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div style="line-height: 1.2; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px;" class=""><span style="color: rgb(0, 37, 222); font-family: Calibri, sans-serif; font-size: 10pt; background-color: rgb(255, 255, 255);" class="">Houcine Bouzid</span><span style="color: rgb(0, 37, 222); font-family: Calibri, sans-serif; font-size: 10pt; background-color: rgb(255, 255, 255);" class=""><br class="">Sungkyunkwan University,<span class="Apple-converted-space"> </span></span><span style="color: rgb(0, 173, 254); font-family: Calibri, sans-serif; font-size: 9pt; background-color: rgb(255, 255, 255);" class=""></span></div><p style="line-height: 1.2; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px;" class=""> </p></div><img src="http://ptmsg.skku.edu/emate_app/ematemdn.nsf/mdnform?OpenForm&sender=bouzid@skku.edu&receiver=users@lists.quantum-espresso.org&key=01477FE440B6826C492584C600489F2E" width="0" height="0" border="0" style="caret-color: rgb(0, 0, 0); font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Quantum ESPRESSO is supported by MaX (</span><a href="http://www.max-centre.eu/quantum-espresso" style="font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">www.max-centre.eu/quantum-espresso</a><span style="caret-color: rgb(0, 0, 0); font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">)</span><br style="caret-color: rgb(0, 0, 0); font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">users mailing list<span class="Apple-converted-space"> </span></span><a href="mailto:users@lists.quantum-espresso.org" style="font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">users@lists.quantum-espresso.org</a><br style="caret-color: rgb(0, 0, 0); font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="https://lists.quantum-espresso.org/mailman/listinfo/users" style="font-family: 돋움; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div></blockquote></div><div class=""><br class=""></div><div class=""><br class=""></div>It is not possible at all to do it simply from the DOS, you need the atom-resolved DOS, that is the projected DOS as obtained from projwfc.x<div class=""><br class=""></div><div class="">Once you’ve calculated the PDOS, I do not know whether there is some available script, but what you should do is, for each k-point and band you’re interested in,</div><div class="">read the corresponding projections (from standard output or from filproj if you set it up in the input file of projwfc.x), sum them up and use the result as a color or point size code. The script accomplishing this task should be a bit tricky but not that hard to code.</div><div class=""><br class=""></div><div class="">Giovanni</div><div class=""><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">-- <br class=""><br class="">Giovanni Cantele, PhD</span></div><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="">CNR-SPIN<br class="">c/o Dipartimento di Fisica<br class="">Universita' di Napoli "Federico II"<br class="">Complesso Universitario M. S. Angelo - Ed. 6<br class="">Via Cintia, I-80126, Napoli, Italy</span></div><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""><a href="mailto:giovanni.cantele@spin.cnr.it" class="">e-mail: giovanni.cantele@spin.cnr.it</a></span></div><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""> <a href="mailto:gcantele@gmail.com" class="">gcantele@gmail.com</a><br class="">Phone: +39 081 676910<br class="">Skype contact: giocan74<br class="">Web page:<span class="Apple-converted-space"> </span></span><a href="https://sites.google.com/view/giovanni-cantele" class="">https://sites.google.com/view/giovanni-cantele</a></div></div></div></div>
</div>
<br class=""></div></body></html>