Re: [Kwant] Using Kwant for finding tunneling probability from metal to vacuum

2017-02-14 Thread Abbout Adel
Dear Kristjan, First, I would like to say that your problem is not very clear. If what you want is to calculate the conductance in the x direction for a system infinite in the x and y directions, you should know that the result is infinite. you can though define a conductance per mode T/M but

Re: [Kwant] Regarding smatrix and spin

2017-02-14 Thread Anton Akhmerov
Hi Camilla, The reason you are seeing different scattering matrices is because without knowledge of the conservation laws Kwant orders the modes by their velocities first, and not by their internal degrees of freedom. Transmissions should be the same, however. The updated way to specify the

Re: [Kwant] Regarding smatrix and spin

2017-02-14 Thread Anton Akhmerov
Hi Camilla, Sure. You need to install a development version of tinyarray. If you got everything via conda, then you can do " conda install -c kwant 'tinyarray==dev' ". If you installed kwant via pip, do " pip install git+https://gitlab.kwant-project.org/kwant/tinyarray.git@master " Let me know

Re: [Kwant] Regarding smatrix and spin

2017-02-14 Thread Camilla Espedal
Dear Anton, sorry for troubling you again. so I finally got hold of a linux-computer, and managed to run the commands and install all the things in the notebook. When I try to run the code you have in your notebook however, I get the following error message: File

Re: [Kwant] Using Kwant for finding tunneling probability from metal to vacuum

2017-02-14 Thread Abbout Adel
(sorry I send the previous email accidentally before finishing) ...In your case, you are studying the scattering by a simple uniform rectangle, so the modes d not mix. you just need to diagonalize your system in the y direction, and you will get infinite number of 1D systems, each one you can

Re: [Kwant] Using Kwant for finding tunneling probability from metal to vacuum

2017-02-14 Thread Kristjan Eimre
Hi Abbout, Thanks for the reply. If what you want is to calculate the conductance in the x direction for a > system infinite in the x and y directions, you should know that the result > is infinite. In principle, when we have an infinite scattering system, electrons should travel as plane