Hello, I used the tutorial 2.5 for the circular graphene sheet, and in the example, an atom is deleted at sublattice a at (0,0) via del sys [a(0,0)] How can I replace this 'vacancy' with a different atom (with a different hopping parameter, say, 2)? Also, from adding this new atom, do I adjust the hopping in sys using sys[a(-2,1),b(2,2)] = -2 ? Regards James
Hi James,
Yes, this is indeed possible. The first tutorial ( http://kwant-project.org/doc/1/tutorial/tutorial1 ) demonstrates how to add a single site or a single hopping.
Best regards, Anton Akhmerov
On Mon, Jan 25, 2016 at 12:59 AM, james edward hernandez kibwiw@yahoo.com.ph wrote:
Hello,
I used the tutorial 2.5 for the circular graphene sheet, and in the example, an atom is deleted at sublattice a at (0,0) via
del sys [a(0,0)]
How can I replace this 'vacancy' with a different atom (with a different hopping parameter, say, 2)?
Also, from adding this new atom, do I adjust the hopping in sys using
sys[a(-2,1),b(2,2)] = -2 ?
Regards
James
Thanks! I also used the example simplest.py to simply add sites and hoppings. Another question, how do I indicate that the one I added is a new atom? (i.e. change the color of the site)
Regards
On Monday, January 25, 2016 8:14 AM, Anton Akhmerov anton.akhmerov+kd@gmail.com wrote:
Hi James,
Yes, this is indeed possible. The first tutorial ( http://kwant-project.org/doc/1/tutorial/tutorial1)%C2%A0 demonstrates how to add a single site or a single hopping.
Best regards, Anton Akhmerov
On Mon, Jan 25, 2016 at 12:59 AM, james edward hernandez kibwiw@yahoo.com.ph wrote:
Hello,
I used the tutorial 2.5 for the circular graphene sheet, and in the example, an atom is deleted at sublattice a at (0,0) via
del sys [a(0,0)]
How can I replace this 'vacancy' with a different atom (with a different hopping parameter, say, 2)?
Also, from adding this new atom, do I adjust the hopping in sys using
sys[a(-2,1),b(2,2)] = -2 ?
Regards
James
Hi,
Thanks! I also used the example simplest.py to simply add sites and hoppings. Another question, how do I indicate that the one I added is a new atom? (i.e. change the color of the site)
Use the `site_color` argument to `kwant.plot`:
http://kwant-project.org/doc/1/reference/generated/kwant.plotter.plot
Regards,
Joe