Re: [Wien] specific DOS plots

2014-07-17 Thread Elias Assmann

On 07/17/2014 04:20 AM, delamora wrote:

plot  BiRuO-U-afm.dos1evup using 1:2 title Total  w l lt 1 lw 2, \
   BiRuO-U-afm.dos1evup using 1:5 title Ru  w l lt 3 lw 2, \
   BiRuO-U-afm.dos1evup using 1:6 title Ru  w l lt 4 lw 2, \
   BiRuO-U-afm.dos2evup using 1:($2+$3+$4) title O1  w l lt 8 lw
2, \
   BiRuO-U-afm.dos1evup using 1:($3+$4) title Bi  w l lt 2 lw 2


This is the most straightforward way, but note that the newest ‘tetra’ 
can also sum columns for you.  See the end of ‘SRC_templates/case.int’ 
for how to do that.


Of course you could also sum them with some script, e.g.

perl -lne '@x = split; $sum=0; $sum+=$_ for @x[1,2,3]; print 
join(qq(\t), $x[0], $sum)'


or …

--
Elias Assmann
Institute of Solid State Physics
Vienna University of Technology
http://www.ifp.tuwien.ac.at/cms/
___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html


Re: [Wien] specific DOS plots

2014-07-16 Thread delamora
It is relatively easy but there are many little details and you have to do it 
yourself;

the file

case.int

has the atom or orbital/atom that you want to plot, the DOS of these are put in

case.dos1ev, case.dos2ev (for non sp-cases)

the 'case.dos1ev' has the first 7 cases of the 'case.int'

'case.dos2ev' has from 8 to 14, etc.

it also creates the

:dos2

file, this last file you can rename to

Graf-DOS

and you now can add the cases in 'case.dos*ev', for example;

plot  BiRuO-U-afm.dos1evup using 1:2 title Total  w l lt 1 lw 2, \
  BiRuO-U-afm.dos1evup using 1:5 title Ru  w l lt 3 lw 2, \
  BiRuO-U-afm.dos1evup using 1:6 title Ru  w l lt 4 lw 2, \
  BiRuO-U-afm.dos2evup using 1:($2+$3+$4) title O1  w l lt 8 lw 2, \
  BiRuO-U-afm.dos1evup using 1:($3+$4) title Bi  w l lt 2 lw 2

pause -1


Now case.int is:

Title
 -0.50 0.002 1.500 0.003  # EMIN, DE, EMAX, Gauss-broadening(de)
11N   0.000# NUMBER OF DOS-CASES specified below, G/L/B broadeni
ng (Ry)
01   total# atom, case=column in qtl-header, label 
***dos1***
11   Bi
21   Bi
31   Ru
81   Ru
31   Ru
81   Ru***dos1***
41   O1 ***dos2***
51   O1
61   O1
71   O2
11   Atom1 p
21   Atom2 tot  ***dos2***


Here O1 represents atoms 4, 5 and 6 and ends up in BiRuO-U-afm.dos2evup

using 1:($2+$3+$4)

means add columns 2, 3 and 4, the '$' is put to distinguish from a number. You 
can put ($2+3), which means add '3' to column '2'

By the way, you plot with

gnuplot Graf-DOS

Hope to be clear enough!!! (but I doubt it)



De: wien-boun...@zeus.theochem.tuwien.ac.at 
wien-boun...@zeus.theochem.tuwien.ac.at en nombre de Farshad Nejadsattari 
fneja...@uottawa.ca
Enviado: miércoles, 16 de julio de 2014 08:11 p.m.
Para: wien@zeus.theochem.tuwien.ac.at
Asunto: [Wien] specific DOS plots

Dear Wien2k community,

   I am working on a compound with 20 independent atoms, 5 of which are iron 
and 15 Aluminium, my question is how to plot the density of states resultant 
from the contribution of all 5 iron atoms and not each of them individually. As 
it appears the options available will only allow me to calculate the total 
DOS(contributions from all the atoms) or the total DOS of each individual atom 
and not for instance the collective contribution of 5 of them.
below is my input file configuration from w2web:

  please specify which PDOS you want to calculate

You can specify:
  total(for plotting 'Total DOS')
  N(to select atom N)
tot,s,p,d,...  (to select a set of PDOS for previously selected atom N)

The following PDOS is possible: (Header from Al13Fe4.qtl ):

 ATOM  Fe1: 1  tot,s,p,PX,PY,PZ,d,DZ2,DX2Y2,DXY,DXZ,DYZ,f
 ATOM  Fe2: 2  tot,s,p,PX,PY,PZ,d,DZ2,DX2Y2,DXY,DXZ,DYZ,f
 ATOM  Fe3: 3  tot,s,p,PX,PY,PZ,d,DZ2,DX2Y2,DXY,DXZ,DYZ,f
 ATOM  Fe4: 4  tot,s,p,PX,PY,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aluminium atoms such 
that I can produce a plot for density of states of Iron.

your help and assistance is truly appreciated.

with regards,

Farshad Nejadsattari

___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html