- Dec 08, 2017
-
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
The lead does not have connected unit cells and serves no purpose. We also remove the check for the number of 'collections' in the resulting plots, as now both 'syst_2d' and 'syst_3d' produce systems with 2 leads.
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
Improve mode documentation. See !190 for details.
-
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.
-
Joseph Weston authored
Previously it was never explicitly stated that the wavefunctions returned by modes() are only defined over the unit cell of the infinite system. This was confusing, as syst.sites contains not only the unit cell sites, but also the connected sites in neighboring cells. Closes #178.
-
Joseph Weston authored
As of version 1.1.1 Sympy does not include MutableDenseMatrix in 'all_classes', so expressions containing such terms did not trigger the warning in kwant.continuum.sympify when 'locals' are provided. Closes #180.
-
- Dec 07, 2017
-
-
Joseph Weston authored
Previously, when plotting a 3D system with 'site_size' provided explicity as a sequence, a ValueError would be raised when using '%matplotlib inline' or '%matplotlib notebook' from a Jupyter notebook. We do not add a test for this, because that would require depending on Jupyter. Closes #39.
-
- Dec 05, 2017
-
-
Joseph Weston authored
This backend does not require a display to be connected, which is good for tests. Closes #83.
-
- 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.
-
-
A regression in Sympy causes symbols that are invalid identifiers to be created, e.g. '-B_x'. While we cannot fix Sympy's behaviour, we can at least shield our users from its quirks. Closes #179.
-
- Nov 30, 2017
-
-
Joseph Weston authored
Previously, the wording of the explanatory comment above discretized hopping functions was confusing. Now we are clear about where the hopping originates. Fixes #173.
-
Joseph Weston authored
Improve error message when creating invalid HoppingKinds Closes #147, see !183.
-
Joseph Weston authored
The test was using a 2D delta with a 3D site family. This was not previously raising an error because the HoppingKind in question was not used for anything (just to test its equality to other HoppingKinds).
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
Set correct stack level when issuing warnings, and when calling API functionality that itself raises warnings. See #161 and !181.
-
Joseph Weston authored
Some API functions call other API functions that report warnings. We need to increase the stacklevel so that the user sees their own line of code in the warning message.
-
Joseph Weston authored
Now the line in the *calling* code will be displayed, which is more useful for users.
-
Joseph Weston authored
Closes #177.
-
- Oct 27, 2017
-
-
Christoph Groth authored
-
- Oct 26, 2017
-
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
This completes 9fdd41e8.
-
- Oct 13, 2017
-
-
Dániel Varjas authored
fix wraparound logic, add tests to fail cases and comments to clarify conventions of fundamental domains
-
- Sep 14, 2017
-
-
Joseph Weston authored
apply position transformation before determining dimensionality; this allows 2D projections of 3D systems to be plotted. See merge request !161
-
Anton Akhmerov authored
-
Joseph Weston authored
-
- Sep 13, 2017
-
-
Joseph Weston authored
This reverts commit 1e6c0860, reversing changes made to 2c5da944. The changes to Kwant's Lapack wrappers depend on features from Scipy 0.16, so it cannot be merged into stable branch, which depends on Scipy 0.14.
-
Joseph Weston authored
fix pickling on Cython 0.26 See merge request !175
-
Joseph Weston authored
Closes #170
-
Joseph Weston authored
-
- Sep 12, 2017
-
-
Joseph Weston authored
enable PDF documentation builds See merge request !171
-
Joseph Weston authored
Produce vector graphics, rather than rasterizing, as rsvg-convert does.
-