Indicate which `lead.sites` correspond to `PropagatingModes.wave_functions`
(in the following I am using zigzag nanoribbons with width 5 nanometers)
The e.g. PropagatingModes
object documentation string does a good job describing the ordering. However it does a poor job describing which sites correspond to the wavefunction obtained from the wave_functions
field.
The lead.sites
always has greater length than the lead.modes()[0].wave_functions[:, 0]
. For example, In my case the first has 69 entries and the second has 46 entries. After plotting the lead system I realized that there is actually one extra "hidden" row in the sites
that is not shown as a black dot in plotting. My problem is: does the wavefunction correspond to the first 46 entries of sites
or to the last 46 entries?
Edit: I am simply searching for what is the correct way to plot wave_functions
versus spatial coordinates.
Spoiler: the answer is the first 46 entries. :)