QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: abhishek77492652 on October 15, 2017, 13:48

Title: Value of current from iv self consisent file
Post by: abhishek77492652 on October 15, 2017, 13:48
Hello sir,
 how can i get the value of current from iv self consistent file ?
i am using vnl atk 2014 version
Title: Re: Value of current from iv self consisent file
Post by: Jess Wellendorff on October 16, 2017, 08:03
You just retrieve that information from the IVCurve analysis object:
https://docs.quantumwise.com/manuals/Types/IVCurve/IVCurve.html (https://docs.quantumwise.com/manuals/Types/IVCurve/IVCurve.html)

Code
ivcurve = nlread('XXX.nc', IVCurve)[-1]
biases = ivcurve.biases()
currents = ivcurve.currents()
import pylab
pylab.plot(biases, currents, 'bo-')
pylab.xlabel('Bias (Volt)')
pylab.ylabel('Current (Amps)')
pylab.show()