line¶
- line(a: float | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], b: float | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]) Line ¶
A line shape intended for 1D lattices or to specify leads for 2D lattices
- Parameters:
- a, bUnion[float, array_like]
Start and end points.
- Returns:
Line