Hi Naveen,

In the documentation
<https://kwant-project.org/doc/dev/reference/generated/kwant.continuum.build_discretized>
you can see that coords require a sequence of strings, so for example:

coords = ('x',)  # for 1D
coords = ('x', 'y', 'z')  # for 3D

Best, Bas

On Fri, Mar 29, 2019 at 12:59 PM Naveen Yadav <naveengunwa...@gmail.com>
wrote:

> I want to know more about the builid_discretized(tb_hamiltonian, coords).
> I did not undersand what should be the syntax to write the coords.Could
> you please help me by sending an example code for writing coords?
>
> Thanks in Advance.
>
>
>
>
>
>
>
>
>
>
>
>
>
> Naveen
> Department of Physics & Astrophysics
> University of Delhi
> 110007
>

Reply via email to