kwant.solvers.default.
wave_function
(sys, energy=0, args=(), check_hermiticity=True)¶Return a callable object for the computation of the wave function inside the scattering region.
Parameters: | sys :
args : tuple of arguments, or empty tuple
check_hermiticity :
|
---|
Notes
The returned object can be itself called like a function. Given a lead
number, it returns a 2d NumPy array that contains the wave function
within the scattering region due to each incoming mode of the given
lead. Index 0 is the mode number, index 1 is the orbital number. The
modes appear in the same order as incoming modes in
kwant.physics.modes
.
Examples
>>> wf = kwant.solvers.default.wave_function(some_sys, some_energy)
>>> wfs_of_lead_2 = wf(2)