Re: [Kwant] Regarding smatrix and spin

2017-02-14 Thread Anton Akhmerov
the syntax has changed since you used > set_symmetry before? > > Best, > Camilla > > Fra: Anton Akhmerov <anton.akhme...@gmail.com> > Sendt: 14. februar 2017 09:48 > Til: Camilla Espedal > Kopi: kwant-discuss@kwant-projec

Re: [Kwant] Regarding smatrix and spin

2017-02-14 Thread Anton Akhmerov
ase double-check the remaining simulation parameters. > > Anton > > On Tue, Jan 24, 2017 at 1:00 PM, Camilla Espedal > <camilla.espe...@ntnu.no> wrote: > > Dear Anton, > > > > I triend changing it, but that does not solve the problem. > > > > Best, > &

Re: [Kwant] Regarding smatrix and spin

2017-02-14 Thread Camilla Espedal
milla.espe...@ntnu.no> Cc: kwant-discuss@kwant-project.org Subject: Re: [Kwant] Regarding smatrix and spin Dear Camilla, Could the difference originate from you using a lattice constant of 2 instead of 1? Anton On Tue, Jan 24, 2017, 10:41 Camilla Espedal <camilla.espe...@ntnu.no>

Re: [Kwant] Regarding smatrix and spin

2017-01-24 Thread Anton Akhmerov
ax.set_xlabel('$E/t$', fontsize='xx-large') > ax.legend(fontsize='x-large') > > plt.show() > > > > # Call the main function if the script gets executed (as opposed to > imported). > # See <http://docs.python.org/library/__main__.html>. > if __name__ ==

Re: [Kwant] Regarding smatrix and spin

2017-01-17 Thread Anton Akhmerov
milla > > -Original Message- > From: anton.akhme...@gmail.com [mailto:anton.akhme...@gmail.com] On Behalf Of > Anton Akhmerov > Sent: 8. januar 2017 16:35 > To: Tómas Örn Rosdahl <torosd...@gmail.com> > Cc: Camilla Espedal <camilla.espe...@ntnu.no>; kwant-discus

Re: [Kwant] Regarding smatrix and spin

2017-01-08 Thread Anton Akhmerov
Hi Camilla, everyone, I've slightly modified Tómas's example to a case where the spins do get coupled, check it out: http://nbviewer.jupyter.org/url/antonakhmerov.org/misc/spin_conductance.ipynb I've also provided more detailed installation instructions in the notebook. Cheers, Anton On Sun,

Re: [Kwant] Regarding smatrix and spin

2017-01-08 Thread Tómas Örn Rosdahl
Dear Camilla, For a Hamiltonian with degeneracies due to a conservation law, the scattering states will in general not have a definite value of the conservation law. In your case, Kwant returns scattering states that are arbitrary linear combinations of spin up and down, so it is not possible to