QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: rose on September 4, 2015, 07:55

Title: no support writing
Post by: rose on September 4, 2015, 07:55
hi,
I do not like to create a new Topic so i ask here..
how can i save the TransmissionSpectrum based on omega and energy. I try to use nlsave in proper places but i got " no support writing " error.
where should i put nlsave and how to save the transmission spectrum versus omega and energy.
thanks
Rose
Title: Re: no support writing
Post by: Anders Blom on September 4, 2015, 13:37
I'll make it for you then...

No idea what you are trying to do, or where that error come from. Please show script. nlsave only works for specific classes in NanoLanguage, and numpy.arrays
Title: Re: no support writing
Post by: Jess Wellendorff on September 4, 2015, 15:23
You could use the VNL "export" plugin to export a plain text file containing  the T(energy) vs. energy data. What is omega in your post?
Title: Re: no support writing
Post by: rose on September 4, 2015, 16:39
hi
I try to use the code discussed in
http://quantumwise.com/documents/tutorials/latest/LowLevelEntities/index.html/chap.acconductance.html
In this short tutorial the ac response is discussed. I really interested to see the T(E) as it is common in current studies. In this tutorial, on the other hand, the T is not only depend on E but on omega too, i.e. T(E,omega).
But I can not save it like the usual way nlsave('transmission', T, 'omega') and i got the aforementioned error.
I am really interested to plot the T(E) in different omega. how can I do that?
thanks
Rose
Title: Re: no support writing
Post by: Anders Blom on September 4, 2015, 17:26
If your purpose is to plot, nlsave will not help you achieve that...

You should just write the corresponding lines of code, using "pylab" and make the plot, exactly like in the tutorial.