- Aug 03, 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
-
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.
-
- Aug 01, 2018
-
-
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
-
- Jul 31, 2018
-
-
Previously we were manually computing the position from the site tag an an extra 'grid_spacing' parameter. Even though we now have one additional Python function call, using the position as determined by the underlying lattice is less susceptible to bugs. Closes #199.
-
- Jul 18, 2018
-
-
Bas Nijholt authored
-
- May 22, 2018
-
-
Joseph Weston authored
Add density plotter, the analogue to 'kwant.plotter.current' for scalar fields. Closes #157 See merge request kwant/kwant!214
-
Joseph Weston authored
-
Joseph Weston authored
Also add reference documentation for 'density'.
-
Joseph Weston authored
This helps distinguish where the system is and results in plots that are easier to interpret.
-
Joseph Weston authored
Now it will be relatively straightforward to factor out _interpolate_field to Cython or C.
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
This is copy/paste from 'interpolate_current' with minimal changes.
-
Joseph Weston authored
Allow Builders to substitute parameter names Closes #142 See merge request !215
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
This change is backwards compatible and will make the intention more clear when addressing the output.
-
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
Because of the incorrect name, the example in the docstring of lamdify was not even visible in the documentation.
-
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
-
- Mar 12, 2018
-
-
Joseph Weston authored
Closes #171
-
- Mar 05, 2018
-
-
Joseph Weston authored
Decrease padding to half the bump width and add test that the current goes to zero at the boundaries of the region See merge request !211
-
Joseph Weston authored
This checks that the padding around the counding box is sufficient.
-
Joseph Weston authored
The bump function we convolve with has finite support, so the vector field is identically zero at distances greater than width/2 outside of the bounding box. Also replace this magic number with a 'padding' constant to improve readability just a smidge.
-
- 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
speed up kwant import from >1s to 0.3s Closes #181 See merge request kwant/kwant!207
-