QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: ams_nanolab on January 1, 2016, 08:21

Title: Transmission analyzer problem
Post 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.?
Title: Re: Transmission analyzer problem
Post by: Jess Wellendorff on January 4, 2016, 11:30
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)
Title: Re: Transmission analyzer problem
Post by: ams_nanolab on January 8, 2016, 08:23
Should it not be saved in default. I crated the python file using VNL-GUI only and not by writing/editing the code myself.
Title: Re: Transmission analyzer problem
Post by: Jess Wellendorff on January 8, 2016, 08:43
Yes, it should always be saved by default.
Title: Re: Transmission analyzer problem
Post by: ams_nanolab on January 8, 2016, 08:54
Very interesting indeed. Will try again and get back to you soon.