Sept. 24, 2013
6:20 p.m.
Hi All, I have modified quantum_wire_revisited.py by adding new function def plot_ldos(sys, energy): # Compute local dos local_dos = kwant.ldos(sys, energy) kwant.plotter.map(sys, local_dos, num_lead_cells=5) and adding new command plot_ldos(sys, energy=0.5) to the already existing function main(). It works well. However, when I have modified the spin-orbit.py file in the same way, program halts. Some cryptic messages, which ended with ValueError: different number of values and points, are generated. How to resolve this? Thanks in advance, Jerzy