- 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 08, 2018
-
-
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 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.
-
- 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
-