Hi Dr. Blom,
Sorry for inconvenience. Upon running the code, I get the following error:
Traceback (most recent call last):
File "file.py", line 33, in <module>
nlsave('file.nc',LDOS_diff,object_id="LDOS-diff")
File "./zipdir/NL/IO/NLSaveUtilities.py", line 161, in nlsave
File "./zipdir/NL/Analysis/LocalDeviceDensityOfStates.py", line 255, in _nlsave
AttributeError: 'LocalDeviceDensityOfStates' object has no attribute '_LocalDeviceDensityOfStates__contributions'