kwant merge requestshttps://gitlab.kwant-project.org/kwant/kwant/-/merge_requests2024-01-09T20:07:17Zhttps://gitlab.kwant-project.org/kwant/kwant/-/merge_requests/377Fix reflection calculation for kwant.greens_function2024-01-09T20:07:17ZJoseph WestonFix reflection calculation for kwant.greens_functionCloses #398.Closes #398.https://gitlab.kwant-project.org/kwant/kwant/-/merge_requests/361remove deprecated matplotlib API from plotter2024-01-09T20:07:17ZJoseph Westonremove deprecated matplotlib API from plotterCloses #366Closes #366Anton AkhmerovAnton Akhmerovhttps://gitlab.kwant-project.org/kwant/kwant/-/merge_requests/356use tinyarrays for Site tags in tests, rather than tuples2020-05-12T15:28:07ZJoseph Westonuse tinyarrays for Site tags in tests, rather than tuplesTinyarrays used to have identical hashes to tuples, but this
was not part of the official interface. While the core of
Kwant did not depend on this implementation detail, the
tests did.
Closes #359.Tinyarrays used to have identical hashes to tuples, but this
was not part of the official interface. While the core of
Kwant did not depend on this implementation detail, the
tests did.
Closes #359.Christoph GrothChristoph Grothhttps://gitlab.kwant-project.org/kwant/kwant/-/merge_requests/324provide "shape" and "format" to empty Qsymm models as required by 1.22019-10-23T14:38:34ZJoseph Westonprovide "shape" and "format" to empty Qsymm models as required by 1.2Not providing these is now deprecated.
Close #325.Not providing these is now deprecated.
Close #325.Kwant 1.5https://gitlab.kwant-project.org/kwant/kwant/-/merge_requests/307set discrete symmetries and conservation law when attaching lead2019-07-04T06:37:21ZJoseph Westonset discrete symmetries and conservation law when attaching leadPreviously when 'attach_lead' would expand a lead unit cell to deal
with greater than nearest-neighbor hoppings it would unset the
conservation law and discrete symmetries of the lead.
Closes #303.Previously when 'attach_lead' would expand a lead unit cell to deal
with greater than nearest-neighbor hoppings it would unset the
conservation law and discrete symmetries of the lead.
Closes #303.Kwant 1.4.xAnton AkhmerovAnton Akhmerovhttps://gitlab.kwant-project.org/kwant/kwant/-/merge_requests/270maint: clear up a bunch of warnings in tests2019-01-04T14:51:33ZAnton Akhmerovmaint: clear up a bunch of warnings in testsThis silences a deprecation warning on scipy < 1.2 and numpy > 1.15.This silences a deprecation warning on scipy < 1.2 and numpy > 1.15.Kwant 1.4https://gitlab.kwant-project.org/kwant/kwant/-/merge_requests/259use an infinite cycle of colors when plotting site families2018-11-20T10:52:40ZJoseph Westonuse an infinite cycle of colors when plotting site familiesPreviously if there were more site families than colours in the
matplotlib cycle, then plotting would raise an exception. Now
we cycle through the colours indefinitely.
Closes #257Previously if there were more site families than colours in the
matplotlib cycle, then plotting would raise an exception. Now
we cycle through the colours indefinitely.
Closes #257Kwant 1.4Anton AkhmerovAnton Akhmerovhttps://gitlab.kwant-project.org/kwant/kwant/-/merge_requests/212guard reference to 'mplot3d' in function that can be used without 3D2018-03-01T19:54:38ZJoseph Westonguard reference to 'mplot3d' in function that can be used without 3DIf 'mplot3d' is not available then plotting 2D systems fails because
'plot' calls 'set_colors', which references 'mplot3d'.If 'mplot3d' is not available then plotting 2D systems fails because
'plot' calls 'set_colors', which references 'mplot3d'.https://gitlab.kwant-project.org/kwant/kwant/-/merge_requests/210fix check for shortest non-zero length hopping in current interpolation2018-02-28T16:50:06ZJoseph Westonfix check for shortest non-zero length hopping in current interpolationThe check is meant to make sure we don't use a hopping length that
is smaller than a certain threshold (10E-5 previously). Here we
correct the check and increase the threshold so as not to have
too fine-grained gridding.The check is meant to make sure we don't use a hopping length that
is smaller than a certain threshold (10E-5 previously). Here we
correct the check and increase the threshold so as not to have
too fine-grained gridding.https://gitlab.kwant-project.org/kwant/kwant/-/merge_requests/204fix problem in discretizer that occur when onsite is set to "int(1)"2018-02-16T17:25:05ZRafal Skolasinskifix problem in discretizer that occur when onsite is set to "int(1)"Thanks to @torosdahl for reporting.
```
Running "kwant.continuum.discretize('k_x**2 + 1')" was resulting
in an "AssertionError". This happend because "1 * expr = expr"
in SymPy and therefore a wrong argument has been passed to
"...Thanks to @torosdahl for reporting.
```
Running "kwant.continuum.discretize('k_x**2 + 1')" was resulting
in an "AssertionError". This happend because "1 * expr = expr"
in SymPy and therefore a wrong argument has been passed to
"_read_offset" function.
```https://gitlab.kwant-project.org/kwant/kwant/-/merge_requests/116fix a bug in wraparound2017-04-24T13:15:46ZJoseph Westonfix a bug in wraparoundFixes #114.Fixes #114.Kwant 1.3https://gitlab.kwant-project.org/kwant/kwant/-/merge_requests/88WIP: improve iterations in KPM2017-02-21T14:57:45ZPablo PiskunowWIP: improve iterations in KPMThis commit closes #88 by fixing the behaviour of odd number of modes, and the unnecessary extra iterations.This commit closes #88 by fixing the behaviour of odd number of modes, and the unnecessary extra iterations.Kwant 1.3Pablo PiskunowPablo Piskunowhttps://gitlab.kwant-project.org/kwant/kwant/-/merge_requests/25fix not-equal comparison of `SiteFamily`s2016-05-27T11:18:56ZJoseph Westonfix not-equal comparison of `SiteFamily`sSeems to me that if a `SiteFamily` is compared to something that is not a `SiteFamily` then `__ne__` should return `True`.
Does this seem reasonable?
This bug is also present on `stable` and `master`Seems to me that if a `SiteFamily` is compared to something that is not a `SiteFamily` then `__ne__` should return `True`.
Does this seem reasonable?
This bug is also present on `stable` and `master`