Dear Kwant-team,
I have a question regarding impurities. I have a system where I want to add a random impurity potential between -w/2 and w/2. I do this using w_imp*uniform(repr(s), salt)*s0 - w_imp/2 * s0 which seems to be working fine. Then, I want the impurity averaged conductance. So I make a list of salts using range(0,200) and loop through the salts, and find the smatrix for all of them: smatrix= kwant.smatrix(syst, energy=energy, args=(str(salts[n])) and then calculate the transmission for each salt and take the average. I guess I just want to know if this is the correct way to do it? Have I understood correctly how salt and this uniform-function works? Best regards, Camilla
