Show Posts

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.


Messages - muyunfei

Pages: [1]
1
thank you for your reply! i got the key to the problem.

2
thank you , it works! :)
but i have another question, how can i get the informations that each column contain in the "nc" file.
for example: if i want to get the current, i should use the "TransmissionSpectrum[0]" other than "TransmissionSpectrum [1]", but why should i do like this?

thanks!

Moderator edit: Preventing _[0]_ from being interpreted as bb code

3
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?

Pages: [1]