From c7f59c28e558c2ba25a116c13811df4b0c60ff47 Mon Sep 17 00:00:00 2001 From: Joseph Weston <joseph@weston.cloud> Date: Mon, 12 Mar 2018 15:20:01 +0100 Subject: [PATCH] add whatsnew entry and bump copyright year --- doc/source/pre/whatsnew/1.4.rst | 9 +++++++++ kwant/plotter.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/source/pre/whatsnew/1.4.rst b/doc/source/pre/whatsnew/1.4.rst index e6bdab37..840a1c76 100644 --- a/doc/source/pre/whatsnew/1.4.rst +++ b/doc/source/pre/whatsnew/1.4.rst @@ -47,3 +47,12 @@ scattering region and leads you could do the following:: fsyst = syst.finalized() kwant.smatrix(syst, params=dict(V_dot=0, V_lead=1)) + +Interpolated density plots +-------------------------- +A new function `~kwant.plotter.density` has been added that can be used to +visualize a density defined over the sites of a Kwant system. This convolves +the "discrete" density (defined over the system sites) with a "bump" function +in realspace. The output of `~kwant.plotter.density` can be more informative +that `~kwant.plotter.map` when plotting systems with many sites, where it is +not important to see the individual contribution from each site. diff --git a/kwant/plotter.py b/kwant/plotter.py index 99ff4712..d5b0f4c0 100644 --- a/kwant/plotter.py +++ b/kwant/plotter.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2011-2017 Kwant authors. +# Copyright 2011-2018 Kwant authors. # # This file is part of Kwant. It is subject to the license terms in the file # LICENSE.rst found in the top-level directory of this distribution and at -- GitLab