kwant.plotter.sys_leads_pos

kwant.plotter.sys_leads_pos(sys, site_lead_nr)[source]

Return an array of positions of sites in a system.

Parameters:

sys : kwant.builder.Builder or kwant.system.System instance

The system, coordinates of sites of which should be returned.

site_lead_nr : list of (site, leadnr, copynr) tuples

Output of sys_leads_sites applied to the system.

Returns:

coords : numpy.ndarray of floats

Array of coordinates of the sites.

Notes

This function uses site.pos property to get the position of a builder site and sys.pos(sitenr) for finalized systems. This function requires that all the positions of all the sites have the same dimensionality.

Previous topic

kwant.plotter.sys_leads_hoppings

Next topic

kwant.plotter.sys_leads_hopping_pos

This Page