Author Topic: transmission plot  (Read 12658 times)

0 Members and 1 Guest are viewing this topic.

Offline esp

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 318
  • Country: us
  • Reputation: 3
    • View Profile
    • University of Minnesota
transmission plot
« on: September 14, 2012, 21:24 »
is there a script for plotting the transmission spectrum as done in vnl?

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5417
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: transmission plot
« Reply #1 on: September 15, 2012, 00:42 »
Like so?
Code: python
t = nlread('analysis.nc', TransmissionSpectrum)[0]
import pylab as P
P.plot(t.evaluate(),t.energies() )
P.xlabel("Transmission T(E)")
P.ylabel("Energy / eV")

P.savefig('transmission.png', dpi=120)

Offline esp

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 318
  • Country: us
  • Reputation: 3
    • View Profile
    • University of Minnesota
Re: transmission plot
« Reply #2 on: September 15, 2012, 01:00 »
simple enough, thanks!