QuantumATK Forum
QuantumATK => General Questions and Answers => Topic started by: ams_nanolab on January 1, 2016, 08:21
-
I am having a nc file for a device configuration. When I open the transmission analyzer to plot the transmission eigenstates, I get the following error (screenshot attached).
What could be wrong? I opened in both classic view and project view and also Ctrl+click the device configuration alongwith IV objects in Labfloor, but still I get the same error.
How do I extract the transmission eigenstate etc.?
-
It looks like the self-consistent state of the device configuration was not saved. Only the TransmissionSpectrum was saved. In order to fix this, your script should contain something like this:
device_configuration.setCalculator(calculator)
nlprint(device_configuration)
device_configuration.update()
nlsave('output.nc', device_configuration)
-
Should it not be saved in default. I crated the python file using VNL-GUI only and not by writing/editing the code myself.
-
Yes, it should always be saved by default.
-
Very interesting indeed. Will try again and get back to you soon.