kwant.plotter.
sys_leads_hoppings
(sys, num_lead_cells=2)¶Return all the hoppings of the system and of the leads as an iterator.
Parameters: | sys : kwant.builder.Builder or kwant.system.System instance
num_lead_cells : integer
|
---|---|
Returns: | hoppings : list of (hopping, lead_number, copy_number) tuples
lead_cells : list of slices
|
Notes
Leads are only supported if they are of the same type as the original
system, i.e. hoppings of builder.BuilderLead
leads are returned with an
unfinalized system, and hoppings of system.InfiniteSystem
leads are
returned with a finalized system.