Dear KS Chan, The units of current density, as far as I remember, are always particles per unit time per unit length. The units of time are set by the energy scale, and the units of length by the site coordinates. The quantities relwidth and abswidth are for determining over which length scale the current should be smoothened to produce a continuous picture. You can confirm this by changing these by a factor 2 and observing that the current scale does not change by a factor 2. Regarding the relation between relwidth and abswidth, the latter takes precedence (see https://kwant-project.org/doc/1/reference/generated/kwant.plotter.interpolat...). Best, Anton On Sat, 15 Aug 2020 at 06:29, Prof. CHAN Kwok Sum <apkschan@cityu.edu.hk> wrote:
Dear Kwant Developers, I would like to know the unit of the current density shown in the current plot. Does it always equal "unit of current/relwidth" for a 2D system? I understand that abswidth can replace relwidth. If I do not specify any abswidth, will the relwidth be replaced? Finally, the relwidth is defined as , as a fraction of the length of the longest side of the bounding box. What is the definition of the bounding box? Is it the area in which the current is plotted? Thank you in advance for your help. Regards, KS Chan
Disclaimer: This email (including any attachments) is for the use of the intended recipient only and may contain confidential information and/or copyright material. If you are not the intended recipient, please notify the sender immediately and delete this email and all copies from your system. Any unauthorized use, disclosure, reproduction, copying, distribution, or other form of unauthorized dissemination of the contents is expressly prohibited.