Many thanks Dr Blom. I tired to use this script and it shows the following error:
TypeError Traceback (most recent call last)
<ipython-input-13-2772cb4c8c17> in <module>
4 energy_zero_parameter=AverageFermiLevel,
5 spin = Spin.Up
----> 6 eigenvalues = TransmissionEigenvalues(device_configuration, energy, k_point, spin)
7 nlprint(eigenvalues)
8 # Check the printout to see which states you need, then use the line below to set it to 0, 1, 2, etc
TypeError: 'module' object is not callable