Author Topic: Spectral current extract data  (Read 3383 times)

0 Members and 1 Guest are viewing this topic.

Offline ams_nanolab

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 389
  • Country: in
  • Reputation: 11
    • View Profile
Spectral current extract data
« on: March 7, 2016, 09:19 »
Hi I want to plot spectral current data in different colors for different bias (form the I-V plot) , so I need to extract the data in multiple columns, but I can't get it in that format. Can you help how to extract the data so I have different data sets for each bias point?

Offline ams_nanolab

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 389
  • Country: in
  • Reputation: 11
    • View Profile
Re: Spectral current extract data
« Reply #1 on: March 28, 2016, 11:38 »
Please reply.

Offline zh

  • QuantumATK Support
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 1141
  • Reputation: 24
    • View Profile
Re: Spectral current extract data
« Reply #2 on: March 28, 2016, 15:49 »
 Your question looks confused.

"The I-V plot" of a given device configuration is only one curve, i.e., Current versus bias voltage if no gate voltage is applied.

Please refer to here:
https://quantumwise.com/documents/tutorials/latest/ATKTutorialDevice/index.html/chap.iv.html

Offline ams_nanolab

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 389
  • Country: in
  • Reputation: 11
    • View Profile
Re: Spectral current extract data
« Reply #3 on: April 4, 2016, 06:49 »
I-V is a singla plot. however if I check the additional plot options I get curves like dI/dV , spectral current and transmissions. It is those plots in spectral current I want to get the data of.

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: Spectral current extract data
« Reply #4 on: April 4, 2016, 14:12 »
Attached is a very simple script for plotting the spectral currents from an IVCurve calculation. Should be easy to modify the color scheme according to your preferences.

Offline ams_nanolab

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 389
  • Country: in
  • Reputation: 11
    • View Profile
Re: Spectral current extract data
« Reply #5 on: October 25, 2016, 23:08 »
How can this script be modified to consider only selected/ specified biases. I have bias 0 to 2 Volt in steps of 0.2 V but need spectral density upto only 1.0 V.
My python isn't very good so help will be appreciated.

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: Spectral current extract data
« Reply #6 on: October 27, 2016, 08:15 »
One option is to make a list with the indices of the bias points you want to consider, and only plot data corresponding to those indices:
Code
indices = [0,1,4,7]
for i,bias,spectrum in zip(range(len(biases)),biases,transmission_spectra):
    if i in indices:
        x = spectrum.energies().inUnitsOf(eV)
        y = spectrum.spectralCurrent().inUnitsOf(Units.A/eV)
        pylab.plot(x, y*1.e3, label="%.1f V" % bias)

Offline ams_nanolab

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 389
  • Country: in
  • Reputation: 11
    • View Profile
Re: Spectral current extract data
« Reply #7 on: October 29, 2016, 17:31 »
Thanks