Skip to content
Snippets Groups Projects
Commit ee3dea6c authored by Christoph Groth's avatar Christoph Groth
Browse files

Fix typos reported by Tobias Bautze

parent 194fd07a
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ def plot_bandstructure(flead, momenta):
energy_list = [flead.energies(k) for k in momenta]
pylab.plot(momenta, energy_list)
pylab.xlabel("momentum [in untis of (lattice constant)^-1]",
pylab.xlabel("momentum [in units of (lattice constant)^-1]",
fontsize=latex.mpl_label_size)
pylab.ylabel("energy [in units of t]",
fontsize=latex.mpl_label_size)
......
......@@ -165,7 +165,8 @@ subbands that increases with energy.
`~kwant.builder.Builder` automatically adds the other
direction of the hopping such that the resulting system is Hermitian.
It however does not hurt the other direction of the hopping, too::
However, it does not hurt to define the opposite direction of hopping as
well.
sys[(1, 0), (0, 0)] = - t
sys[(0, 0), (1, 0)] = - t.conj()
......
......@@ -398,7 +398,7 @@ period of one flux quantum.
by providing an alternative starting point from where
the lead is traced back::
sys.attach_lead(lead1, (0, 0))
sys.attach_lead(lead1, lat(0, 0))
starts the trace-back in the middle of the ring, resulting
in the lead being attached to the inner circle:
......
......@@ -42,7 +42,7 @@ def plot_bandstructure(flead, momenta):
energy_list = [flead.energies(k) for k in momenta]
pylab.plot(momenta, energy_list)
pylab.xlabel("momentum [in untis of (lattice constant)^-1]")
pylab.xlabel("momentum [in units of (lattice constant)^-1]")
pylab.ylabel("energy [in units of t]")
pylab.show()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment