- Sep 21, 2018
-
-
Joseph Weston authored
-
- Sep 20, 2018
-
-
Co-authored-by:
Joseph Weston <joseph@weston.cloud>
-
-
With this, wrapping parameter-substituted value functions is no longer necessary and any overhead of using builder parameter substitutions disappears. Co-authored-by:
Joseph Weston <joseph@weston.cloud>
-
Co-authored-by:
Joseph Weston <joseph@weston.cloud>
-
and without default values. Co-authored-by:
Joseph Weston <joseph@weston.cloud>
-
This requires changes to other modules, but these were kept to a minimum. The most important one is that builder._FinalizedBuilderMixin.hamiltonian() now always calls value functions using *args.
-
- Sep 05, 2018
-
-
Christoph Groth authored
-
- Aug 22, 2018
-
-
Anton Akhmerov authored
-
- Aug 17, 2018
-
-
Christoph Groth authored
-
- Aug 14, 2018
-
-
-
Christoph Groth authored
-
Christoph Groth authored
-
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 13, 2018
-
-
Joseph Weston authored
Previously we masked points that are further than a "typical" distance from any site. This was determined as the minimal nearest-neighbor distance from 10 arbitrarily chosen sites. Now we mask points where the bump function is zero (as it has finite support). Closes #219.
-
Joseph Weston authored
Previously we had forgotten the padding, so the mask was applied at the wrong position.
-
- Aug 11, 2018
-
-
Anton Akhmerov authored
The former creates a numpy.matrixlib.matrix object, while the latter a regular numpy array. Closes #218
-
- Aug 09, 2018
-
-
Joseph Weston authored
-
Joseph Weston authored
'box-forced' is deprecated as of matplotlib 2.2.
-
- Aug 08, 2018
-
-
Joseph Weston authored
Gitlab now has built-in mirroring, so we don't need to have a CI step for this now.
-
Joseph Weston authored
Refactor 'plotter.density' into 'plotter.scalarplot' and fix up plotter docstrings. Now 'plotter.density' is just the composition of 'interpolate_density' and 'scalarplot', which makes it easier for users to customise if they need. See merge request kwant/kwant!223
-
- Aug 06, 2018
-
-
Christoph Groth authored
-
- Aug 03, 2018
-
-
Joseph Weston authored
-
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
Gitlab now has built-in mirroring, so we don't need to have a CI step for this now.
-
Joseph Weston authored
-
Joseph Weston authored
Allow different lattice spacing in each dimension for 'kwant.continuum'. Also simplify the processing of 'grid' and 'grid_spacing' and fix up some docstrings Closes #197 See merge request kwant/kwant!220
-
- Aug 02, 2018
-
-
Joseph Weston authored
Python's lack of block scope means that we should avoid temporaries where they don't significantly clarify meaning
-
Joseph Weston authored
-
Joseph Weston authored
-
-
Joseph Weston authored
Previously parts of the docstrings for 'density' and 'current' had been switched.
-
Anton Akhmerov authored
Closes #207. pyplot "attaches" a figure to a backend on calling pyplot.figure. Previously we implemented a hack that worked around this limitation in case the user did not import pyplot. However this hack is fragile and breaks new things with newer matplotlib versions. Now we detect whether the figure is intended for pyplot and import pyplot directly if it is. This change also allows us to simplify the interface and the implementation of output_fig, but this is permitted because it is an internal function.
-
Joseph Weston authored
clarify usage of pseudoinverse, and factor out rank checks for primitive lattice vectors Closes #209. See merge request kwant/kwant!231
-
-
Currently code that do constraints check on "prim_vecs" during lattice creation is doubled. In addition to factoring it out into separate function this commit also adds check if "prim_vecs" are linearly independent.
-
- Aug 01, 2018
-
-
Joseph Weston authored
This was always what was meant semantically; newer versions of Scipy are stricter about what they accept for row/column indices for COO matrices. Closes #211.
-
Joseph Weston authored
Kwant no longer builds with Cython 0.22, and our oldest supported operating systems ship with at least 0.24.3 as of now. Closes #204
-
Joseph Weston authored
In the future numpy will not allow multidimensional slices that are specified as sequences other than tuples. Closes #210.
-