Thank you all for the help! :) The code runs, and it's giving results in the testing stage.


On Mon, Sep 28, 2015 at 1:03 AM, Anton Akhmerov <> wrote:
Hi Baris,

Sounds like an interesting problem! I suspect that the performance
could be better if you calculate the Green's function or the
scattering matrix of the system at different energies once, and couple
to the spin in a separate stage. This is probably more manual work

Keep in touch about how it goes.


On Sun, Sep 27, 2015 at 10:45 PM, Baris Pekerten <> wrote:
> Thank you very much. :) I'll try this tomorrow and post the results.. It's
> definitely neater than mymod = __import__('make_sys_file') and
> getattrib(mymod, relevant_make_sys_func) with containing
> 100 different make_sys functions.
> The application is about an interaction with a big external spin of value J,
> and the number of lattices is essentially 2J+1. I want to be able to see the
> effect of J vs. transmission etc.
> Baris
> On Sun, Sep 27, 2015 at 11:11 PM, Joseph Weston <>
> wrote:
>> Also, I've got to ask: why do you want to do this? I'm struggling to
>> think of an application where you would have ~100 separate channels like
>> that that are all separately measureable. This is probably due to a lack
>> of imagination on my part ;)
>> Joe