Yes, this is what the function `lattice.shape` is for:

http://kwant-project.org/doc/1/reference/generated/kwant.lattice.Polyatomic#kwant.lattice.Polyatomic.shape

Joe

On 9 December 2015 at 15:23, Sudin Ganguly <sudin@iitg.ernet.in> wrote:
The idea: 'cutting out the desired shape' is very nice.

Thank you.


With Regards,
Sudin