Re: [Kwant] putting disorder (kwant.digest.uniform) in graphene with shape function

2017-01-13 Thread SUDIN GANGULY
Dear Sir, Thank you for the quick reply. I think my institute mail is not working properly, so I used this mail-id. By using the line: lambda site: sys_2['sys'][site] I got another error massage, which says that, "TypeError: 'int' object is not callable". With regards, Sudin -- সুদিন

Re: [Kwant] putting disorder (kwant.digest.uniform) in graphene with shape function

2017-01-13 Thread Abbout Adel
Dear Sudin, You can plot the configuration of your system as follows: kwant.plotter.plot(sys_2['sys'],site_color=lambda site:onsite(site,'1'),colorbar=True, cmap=None) As long as you are using the same parameter 'salt', you will be studying the same configuration of disorder. So, to be sure