QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: Tom Jiao on May 25, 2021, 06:57

Title: Spectral Current Plot in Tutorial
Post by: Tom Jiao on May 25, 2021, 06:57
Hi, I was running the "Inelastic current in a silicon p-n junction" on V2020.09. I was looking to plot the spectral current as shown in the tutoral.
"https://docs.quantumatk.com/tutorials/inelastic_current_in_si_pn_junction/inelastic_current_in_si_pn_junction.html"

I have downloaded the script used in the tutorial, but there are no options to plot the spectral current as shown in the figure attached. Is this function still available to plot the spectral current along the DOS plots? Thank you.
Title: Re: Spectral Current Plot in Tutorial
Post by: wisam on May 14, 2022, 00:54
Dear Tom Jiao
I am interested in your question. Did you get an answer?
I hope you will guide me to that.
Title: Re: Spectral Current Plot in Tutorial
Post by: njuxyh_1 on May 20, 2022, 15:55
  me too, how to get the spectra current
Title: Re: Spectral Current Plot in Tutorial
Post by: Anders Blom on June 7, 2022, 08:36
A transmission spectrum object has a spectralCurrent() method, so you can just extract the data and plot it yourself (https://docs.quantumatk.com/manual/Types/TransmissionSpectrum/TransmissionSpectrum.html).

I do believe the IV Analyzer in the GUI also has functionality to plot it, whereas the widget used in the tutorial has (probably) been moved to the Inelastic Transmission Analyzer. I don't see a pre-defined way to combine this with the PDOS plot but it's of course not to hard with a bit of creative scripting ;-)