[Kwant] Define an infinite system?

2015-11-29 Thread L.M J
I was trying to calculate the arm-chair graphene nano ribbon band structure. I used translational symmetry to define the lead to be infinite, but I still got an error saying "TypeError: Expecting an instance of InfiniteSystem." I can't identify what's problem here. can anyone help? Thanks for

Re: [Kwant] Define an infinite system?

2015-11-29 Thread Anton Akhmerov
Dear L.M., You need to use sys = sys.finalized() Instead of what you have. The reason for this is that finalized method returns the finalized system, instead of modifying the original system. Best, Anton On Sun, Nov 29, 2015, 20:53 L.M J wrote: > I was trying to