5416
Future Releases / Re: Voltage sweep command would be useful
« on: December 12, 2008, 22:25 »
I agree it would be useful. For now, perhaps you can be satisfied with the script published in this post!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
import ivcurve
voltages=[0.0,0.1,0.2,0.3]*Volt
ivcurve.runIVcurve (
twoprobe_configuration,
two_probe_method,
runtime_parameters,
voltages,
vnl_filename='myfile.vnl', sample_name='mysample',
current_k_point_sampling = (1,1),
current_number_of_points = 100
)
iv = ivcurve.extractIVcurveFromVNLFile('myfile.vnl','mysample')
ivcurve.plotIVCurve(iv,'iv.png')
import numpy
voltages = numpy.arange(0.,1.01,0.1)*Volt
print 'Bias (V)\tCurrent (A)\n' + '-'*40
for i in iv:
print i[0],'\t\t',i[1]
ln -s /usr/lib/libstdc++.so.6 libstdc++.so.6
find -iname libstdc++*
rpm --install compat-libs-5.2-2.i386.rpm
find -iname libXmu.so*
./usr/lib64/libXmu.so.6
./usr/lib64/libXmu.so.6.2.0
./usr/i386-glibc20-linux/lib/libXmu.so.6
./usr/i386-glibc20-linux/lib/libXmu.so.6.0
./usr/i386-glibc20-linux/lib/libXmu.so
ln -s /usr/i386-glibc20-linux/lib/libXmu.so.6.0 libXmu.so.6
ln -s /usr/i386-glibc20-linux/lib/libXmu.so.6.0 libXmu.so
ln -s /usr/lib/libg2c.so.0.0.0 libg2c.so.0
rpm --install libg2c33-3.3.3-42.5.i586.rpm
rpm --install libf2c-3.4.6-11.i386.rpm
'Not available', 'libg2c.so.0: cannot open shared object file: No such file or directory'
QT ('Not available', '/home/user/vnl-2008.10.0/lib/python2.4/site-packages/qtext.so: cannot restore segment prot after reloc: Permission denied')
chcon -t texrel_shlib_t lib/python2.4/site-packages/qtext.so
chcon -t texrel_shlib_t lib/python2.4/_PyATK.so
Unable to resolve GL/GLX symbols - please check your GL library installation.
find -iname libGL.so*
./usr/lib64/libGL.so.1
./usr/lib64/libGL.so.1.2
./usr/lib/libGL.so.1
./usr/lib/libGL.so.1.2
ln -s /usr/lib/libGL.so.1 libGL.so
Unable to resolve Xmu symbols - please check your Xmu library installation.
find -iname libXmu.so*
./usr/lib64/libXmu.so.6.2.0
./usr/lib64/libXmu.so.6
./usr/lib/libXmu.so.6.2.0
./usr/lib/libXmu.so.6
ln -s /usr/lib/libXmu.so.6 libXmu.so
from ATK.TwoProbe import *
...
twoprobe = TwoProbeConfiguration (...)
equiv_bulk = twoprobe.equivalentBulkSystem()