Re: [Kwant] Regarding smatrix and spin

2017-02-14 Thread Camilla Espedal
n 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, Camilla From: Anton Akhmerov [mailto:anton.akhmerov...@gmail.com] Sent: 24. januar 2017 12:36 To: Camilla Espedal <ca

Re: [Kwant] Family-dependent onsite potential

2016-10-27 Thread Camilla Espedal
: Christoph Groth [mailto:christoph.gr...@cea.fr] Sent: 27. oktober 2016 12:15 To: Camilla Espedal <camilla.espe...@ntnu.no> Cc: kwant-discuss@kwant-project.org Subject: Re: [Kwant] Family-dependent onsite potential Camilla Espedal wrote: > (...) > but it does not work. I get error message:

[Kwant] Family-dependent onsite potential

2016-10-27 Thread Camilla Espedal
Hello, I am making a system with 2 sublattices, so they belong to different families (a and b), and I wish to define a sublattice-dependent onsite energy. I tried using the following code for the onsite function. def onsite(site): onsite_a = 2 onsite_b = 2 return onsite_a if

Re: [Kwant] Plotting Hamiltonian for overlapping lattices

2016-11-08 Thread Camilla Espedal
Hello Antônio, So here is what I want to do. I have a system where I have defined two lattices, lat_up and lat_down, and they overlap spatially (instead of using matrices in the voltage and hopping, so that it is easier to obtain spin-resolved data). They are defined like this: lat_up =

[Kwant] Question regarding orbitals and scattering matrix

2016-11-25 Thread Camilla Espedal
Hi again, This question is sort of related to one of mye previous questions (https://www.mail-archive.com/kwant-discuss@kwant-project.org/msg01029.html) but I am writing it as a new one. The questions relates to the sites in the lead unit cell and the scattering matrix. Say I have a system

Re: [Kwant] Question about lead_info[].wave_functions[]

2016-11-17 Thread Camilla Espedal
Hi again, So my final question is then. What is the unit cell? Doesn't a square lattice only have one site per unit cell? Or is it the number of interface sites? Best, Camilla

Re: [Kwant] Question about lead_info[].wave_functions[]

2016-11-16 Thread Camilla Espedal
Hi Joe, Thank you. This might be a silly question, but what is the meaning of orbitals here? Is it not only 1? The orbital elements seem to be conjugate of each other. Best, Camilla

[Kwant] Question about lead_info[].wave_functions[]

2016-11-16 Thread Camilla Espedal
Hi all, I have a question regarding the lead_info[x].wave_functions[x]. I am not sure what this is actually returning? I tried to run the function on your quantum_wire_revisited.py-system, like this prop = sm.lead_info[0] print(prop.wave_functions[0]) with W = 2, if that is important.

[Kwant] The reference distance a is too small

2016-11-01 Thread Camilla Espedal
Hi again, I am trying to make sense of the error message I get when trying to plot using kwant.plotter map(). The error message is "the reference distance a is too small", and a is the lattice spacing. What is the meaning of this error message? Best, Camilla

[Kwant] Spatially dependent hopping

2016-11-03 Thread Camilla Espedal
Hi again, I was wondering if there is an easy way to define different regions with different hoppings? E.g. what I want to achieve is to make system where the hopping from one of the leads into the scattering region is different from the hopping within the lead and the scattering region. How

Re: [Kwant] Family-dependent onsite potential

2016-10-27 Thread Camilla Espedal
Thanks, I now changed the order, but I still get the same error message. So now the code reads kwant.plotter.map(sys, V) sys = sys.finalized() but now it seems to be in a different place the error message is now 'int' object has no attribute 'site', and the V-function is still def

Re: [Kwant] Hopping between different lattices and families

2016-10-31 Thread Camilla Espedal
to another, if that makes sense. Best, Camilla -Original Message- From: Anton Akhmerov [mailto:anton.akhme...@gmail.com] Sent: 31. oktober 2016 11:48 To: Camilla Espedal <camilla.espe...@ntnu.no> Cc: kwant-discuss@kwant-project.org Subject: Re: [Kwant] Hopping between different la

Re: [Kwant] Hopping between different lattices and families

2016-10-31 Thread Camilla Espedal
2016 14:41 To: Camilla Espedal <camilla.espe...@ntnu.no>; Anton Akhmerov <anton.akhme...@gmail.com> Cc: kwant-discuss@kwant-project.org Subject: Re: [Kwant] Hopping between different lattices and families [https://share.polymail.io/v2/z/a/NTgxNzQ5YTNkNTEz/xU

[Kwant] Using args in hamiltonian-function

2017-03-27 Thread Camilla Espedal
Dear Kwant team, (am using the development version, 1.3) I am trying to plot the potential of my system and I want to use the hamiltonian(ind,ind,*args) function, but I don't understand how to use the args. Normally, I would give a vector with the values of the args as input, but this