1
General Questions and Answers / the current calculation of the python script
« on: November 22, 2009, 08:39 »
Dear all.
i am a green hand about atk software, when i did some calculations about the "two-probe model". the calculation would be converged but when i use the script in the attachment to calculate the current. the output looked like this:
=======================================================================================
+ -------------------------------------------------------------
| NanoLanguageScript execution started
+ -------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/5204414373203287.py", line 4, in <module>
transmission_spectrum = nlread("/home/zjl/JOB/Si_0_0.nc",TransmissionSpectrum)[1]
IndexError: list index out of range
NanoLanguageScript finished successfully
+ -------------------------------------------------------------
| NanoLanguageScript execution finished
+ -------------------------------------------------------------
=============================================================================================================
the calculations was performed with the ATK-SE, the current calculation script is from the tutorial
i am not familiar with the python, can anyone give me some suggestions?
i am a green hand about atk software, when i did some calculations about the "two-probe model". the calculation would be converged but when i use the script in the attachment to calculate the current. the output looked like this:
=======================================================================================
+ -------------------------------------------------------------
| NanoLanguageScript execution started
+ -------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/5204414373203287.py", line 4, in <module>
transmission_spectrum = nlread("/home/zjl/JOB/Si_0_0.nc",TransmissionSpectrum)[1]
IndexError: list index out of range
NanoLanguageScript finished successfully
+ -------------------------------------------------------------
| NanoLanguageScript execution finished
+ -------------------------------------------------------------
=============================================================================================================
the calculations was performed with the ATK-SE, the current calculation script is from the tutorial
i am not familiar with the python, can anyone give me some suggestions?