Not without more details. But some defaults changed between these versions.
Thank you Anders Blom. But could you tell me which defaults are different in these versions?
My code is shown as follow:
configuration = nlread('D:/hsj/0304/para00133.nc', object_id='gID000')[0]
# -------------------------------------------------------------
# Transmission spectrum
# -------------------------------------------------------------
transmission_spectrum = TransmissionSpectrum(
configuration=configuration,
energies=numpy.linspace(-2,2,101)*eV,
kpoints=MonkhorstPackGrid(3,3),
energy_zero_parameter=AverageFermiLevel,
infinitesimal=1e-06*eV,
self_energy_calculator=KrylovSelfEnergy(),
)
nlsave('para00133ts.nc', transmission_spectrum)
nlprint(transmission_spectrum)