Author Topic: calculating band diagram along Y axis  (Read 2257 times)

0 Members and 1 Guest are viewing this topic.

Offline sathyajit

  • Heavy QuantumATK user
  • ***
  • Posts: 31
  • Country: in
  • Reputation: 0
    • View Profile
calculating band diagram along Y axis
« on: August 6, 2015, 06:10 »
Hi, I am trying to modify the script given in (By Dr.Anders) http://quantumwise.com/forum/index.php?topic=1551.0 so that I can plot the band diagram along Y axis. I have marked the places where I replaced Z coordinates with Y coordinate in the script (please see attachment, the modifications are in line 20 and line 124) Can you please verify that this is correct ? Also can you please tell me how do I calculate the band diagram along a specific line (set of atoms along a particular point in Z axis, with band diagram along Y axis) ? I am thinking of using DOS calculation along a specific set of atoms and then using the obtained DOS in band diagram calculation.
Code
conf = nlread('device.nc',DeviceConfiguration)[0]

#setup energies
energies = numpy.linspace(-2,3,100) * eV

#calculate the dos from the Left electrode
dos = DeviceDensityOfStates(conf, energies=energies, contributions=Left)

#calculate the projections on the atoms in the central region
dos_projection = [
     dos.evaluate(projection_list = ProjectionList([i])) for i in range(3,11)
     ]

#plot the data
import pylab
pylab.figure()
for i in range(3,11):
    label = conf.elements()[i].symbol()+'('+str(i)+')'
    pylab.plot(
        energies.inUnitsOf(eV),
	dos_projection[i-3].inUnitsOf(eV**-1),
	label=label
	)
pylab.legend()
pylab.xlabel("Energy (eV)")
pylab.ylabel("dos (1/eV)")
pylab.show()
The above code calculates the DOS only on the left electrode, Is there a way to specify some atoms along the transport direction (Z axis in this case) ?
« Last Edit: August 6, 2015, 17:30 by sathyajit »

Offline sathyajit

  • Heavy QuantumATK user
  • ***
  • Posts: 31
  • Country: in
  • Reputation: 0
    • View Profile
Re: calculating band diagram along Y axis
« Reply #1 on: August 9, 2015, 09:06 »
Pls reply.

Offline sathyajit

  • Heavy QuantumATK user
  • ***
  • Posts: 31
  • Country: in
  • Reputation: 0
    • View Profile
Re: calculating band diagram along Y axis
« Reply #2 on: August 11, 2015, 13:00 »
Hi,

Can you please let me know if there is a possibility to do this ?
I saw the documentation but it appears the DOS can be calculated only along left or right electrode or average of device length

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5429
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: calculating band diagram along Y axis
« Reply #3 on: August 11, 2015, 15:13 »
Maybe what you really want to use is the LDOS instead though, because the DDOS is not spatially resolved. The way we achieve that is by projecting on atoms, layer by layer. If your structure is layered in Y, you can achieve they same, but you have to figure out which atoms that should belong to which layer, and then project on each group of atoms (each layer).