Re: [Kwant] semicon

2018-12-04 Thread Joseph Weston
Thanks for the information! > Thank you for your quick response. I am using kwant 1.3.3 version and > semicon 0.1.0 version. I think the error is related to calling > parameters function which are stored as a tuple. By the way, this is > the error I encountered: > > TypeError

Re: [Kwant] semicon

2018-12-04 Thread Ali Asgharpour
Dear Rafal, Ok, thanks! But, if I just set coords of semicon.models.foreman to the single coordinate along which I want to change my parameters and use discretization in two dimensions, Is everything ok? I mean, I can see reducing of some factors in onsite and hopping functions. I think I will

Re: [Kwant] semicon

2018-12-04 Thread Rafal Skolasinski
Hi Ali, A quick reply from my side. This hamiltonian = semicon.models.foreman( components=['foreman'], bands=bands, coords='xz', ) specify what will be spatial dependence of the parameters in the symbolic Hamiltonian that is used. As far as I remember, two_deg_params provides you a

Re: [Kwant] semicon

2018-12-04 Thread Ali Asgharpour
Thanks for the feedback! If you find the bug, would you please let me know? Thanks in advance. By the way, I am also trying to code it myself from the beginning. Thanks again. Best regards, Ali On Tue, Dec 4, 2018 at 6:57 PM Joseph Weston wrote: > Thanks for the information! > > Thank you for

Re: [Kwant] semicon

2018-12-04 Thread Ali Asgharpour
Thank you for your quick response. I am using kwant 1.3.3 version and semicon 0.1.0 version. I think the error is related to calling parameters function which are stored as a tuple. By the way, this is the error I encountered: TypeError Traceback (most recent call

Re: [Kwant] semicon

2018-12-04 Thread Joseph Weston
Hi Ali, > I want to find conductance of a heterostructure using semicon library. > When I just use coords='z', everything is OK. But, when I want to > change it to two dimensions like 'xz', I encounter an error. Would you > please tell me how I can fix it? I hope it is not just a > simple