- Sep 21, 2018
-
-
Joseph Weston authored
-
- Sep 20, 2018
-
-
-
and without default values. Co-authored-by:
Joseph Weston <joseph@weston.cloud>
-
- Aug 14, 2018
-
-
Christoph Groth authored
-
Christoph Groth authored
So it's no longer necessary to provide the REFNAME environment variable. Also the link template string format is now more general to support at least gitlab github and cgit.
-
- Aug 09, 2018
-
-
Joseph Weston authored
-
Joseph Weston authored
'box-forced' is deprecated as of matplotlib 2.2.
-
- Aug 06, 2018
-
-
Christoph Groth authored
-
- Aug 03, 2018
-
-
Joseph Weston authored
Previously 'plotter.density' was not as well factored as 'plotter.current', which made it hard to compose, e.g. for passing custom parameters to 'plotter.interpolate_density'.
-
Joseph Weston authored
-
- May 22, 2018
-
-
Joseph Weston authored
-
Joseph Weston authored
Also add reference documentation for 'density'.
-
Joseph Weston authored
-
- May 18, 2018
-
-
Christoph Groth authored
Thanks to Alexandre Bernard for reporting this. https://mailman-mail5.webfaction.com/pipermail/kwant-devel/2018-May/000088.html
-
Christoph Groth authored
-
- Apr 03, 2018
-
-
Joseph Weston authored
Previously we used the matplotlib default behavior of setting the colormap limits (vmin and vmax) to the limits of the plotted data, if they are not provided by the user. Now we set the colormap limits to the 2nd and 98th percentile of the input data, and stretch the limits by 10% on either end in an attempt to include all the data in the limits. If we cannot do so we set the limits to the percentiles plus the stretch and issue a warning. Also, whenever the data falls outside the colorbar limits (even when the latter are set by the user) we set the appropriate ends of the colorbar to be pointy, indicating that the data extends beyond the colorbar. Closes #183
-
- Feb 27, 2018
-
-
Joseph Weston authored
This can always be resurrected from Git if it is really needed, but at the moment its just 3000 lines that aren't used.
-
- Feb 26, 2018
-
-
Joseph Weston authored
-
- Feb 22, 2018
-
-
Christoph Groth authored
Thanks to Tibor Sekera for suggesting this feature.
-
- Dec 15, 2017
-
-
Christoph Groth authored
Previously, in order to not to fix the matplotlib backend, we required users to import matplotlib.pyplot before calling any Kwant plotting functions. This did not have the desired effect, since we did import `matplotlib.backends` and that also fixes the backend. Now, both backends and pyplot are imported at the last possible moment and a warning is emitted if this fixes the backend.
-
- Dec 13, 2017
-
-
Christoph Groth authored
The problem was introduced in commit 7c802539.
-
- Dec 08, 2017
-
-
Joseph Weston authored
Previously the fact that the positive direction of mode velocity is determined by the translational symmetry vector of the system was not made clear in the relevant docstrings. Closes #143.
-
- Dec 04, 2017
-
-
Joseph Weston authored
The lattice constant is never changed from 1, and in addition can be varied independently of the 't' and 'α' parameters; This should not be the case if the model is meant to be derived from a discretization of a continuum model. We remove the lattice constant to limit confusion.
-
Joseph Weston authored
For a spin-orbit term of the form '-iασ_y∂_x' the hopping for 'HoppingKind((1, 0), lat)' (*from* 'x' *to* 'x + a') is 'iασ_y/2'. Closes #175.
-
Joseph Weston authored
Previously, an erroneous current was shown at *zero* magnetic field, which was due to a choice of degenerate eigenvalue. Now we evaluate the current and density at finite magnetic field, to demonstrate the intended effect. Closes #150.
-
- Oct 26, 2017
-
-
Christoph Groth authored
-
Christoph Groth authored
-
- Sep 12, 2017
-
-
Joseph Weston authored
Produce vector graphics, rather than rasterizing, as rsvg-convert does.
-
Joseph Weston authored
Add the 'unicode-math' package and set the latex engine to 'xelatex'. Closes #126.
-
- Sep 06, 2017
-
-
Joseph Weston authored
Closes #166.
-
- Aug 18, 2017
-
-
Joseph Weston authored
Previously a point defect introduced by an incorrect treatment of the origin produced erroneous scattering. We also update the text to reflect the actual magnetic potential used. Closes #156.
-
- Aug 10, 2017
-
-
Bas Nijholt authored
-
- Jul 31, 2017
-
-
Christoph Groth authored
-
- Jul 25, 2017
-
-
Christoph Groth authored
I assume that most people encounter the tutorial example scripts by reading the documentation, and not by viewing the tutorial subdirectory of a checked-out Kwant source. That's the motivation for moving all the manipulations of tutorial scripts from setup.py to doc/Makefile. Previously, a successful 'make html' would require a preceding execution of 'setup.py build_tut'. Now, a simple 'make html' is enough. While at it, I reorganized where the example scripts and their outputs are stored. Everything is now in 'doc/source/code' with its three subdirectories 'download' (to be shown to readers), 'include' (with include markers), and 'figure' (figure generation & figures). This organization is clearer and also makes the generation of figures separate from the tutorial.
-
Christoph Groth authored
The basic idea remains the same, but should work much better now. The difference is that images/example.py.diff is now a patch with complete context and becomes the authoritative source for both the visible flavor of an example as well as for its figure-generating variant. Both tutorial/example.py and images/example.py are extracted from this file by 'make html'. Thanks to the complete context the diffs are quite readable and may be modified directly. Alternatively, one may also modify the generated scripts. When tutorial/example.py has been modified, it will be patched and saved as images/example.py. The patching is done using the tool 'wiggle' that works much better than 'patch'. If a conflict occurs, conflict markers are added to the output file and its dated back to the dawn of time (i.e. 1970) in order to mark the conflicts as not yet resolved. After resolving, 'make html' is simply run again. Upon a successful execution of the figure-generating script the diff gets recreated automatically, 'generate-diffs' no longer exists.
-
Christoph Groth authored
These classes used not to have any features beyond kwant.system.{Finite,Infinite}System, but this is no longer the case.
-
- Jul 20, 2017
-
-
Christoph Groth authored
-
Christoph Groth authored
lowercase FAQ.rst, FAQ.py, etc., give meaningful names to labels, and stop building an user-visible tutorial/faq.py
-
Joseph Weston authored
Apply pep8 fixes and refactor some sections to be more idiomatic (e.g. avoiding triple nested loops). Also some minor reorganisation of the sections to give the text a better flow.
-
-