- Mar 28, 2017
-
-
Joseph Weston authored
We build conda packages on 'master' (on all forks) by default. Builds for branches may be triggered manually.
-
Joseph Weston authored
Conda forge removes support for Python 3.4. If anyone is using conda then they can easily upgrade to newer Python in any case.
-
- Mar 24, 2017
-
-
Joseph Weston authored
Previously we used 'ssh-keyscan' on every upload, so derived no security from host key checking. 'ssh-keyscan' caused the CI server's IP to be blacklisted, so now we just ignore the host key entirely. We never send private information, so this is fine.
-
- Mar 23, 2017
-
-
Joseph Weston authored
We previously restricted conda package uploading to master branch on the main Kwant repository, as otherwise this step would fail for forked repositories without a valid anaconda key. Now we build the conda packages and upload to anaconda in two separate jobs, and the upload job is only run on the main Kwant repository.
-
Joseph Weston authored
Previously, if a tuple of floats was passed as the 'domain' argument to 'act' then the tags of the resulting sites would be floats, rather than integers. This is because the tags of sites created inside 'act' were not normalized to integers, as they would usually be, and this causes bugs in other locations where an integer dtype is assumed.
-
- Mar 22, 2017
-
-
Joseph Weston authored
-
Joseph Weston authored
-
Passing arguments via 'args' will be deprecated in a future release, and will be removed in Kwant 2.0, so any new features should only support 'params'. We also now properly 'bind' parameters to the passed operator; previously the parameters were not passed correctly.
-
- Mar 21, 2017
-
-
the '_defs' module is used solely when generating images within the tutorial part of the documentation.
-
- Mar 20, 2017
-
-
Joseph Weston authored
-
Joseph Weston authored
Previously, 'syst.fill(template, shape, start)' would return successfully even if all sites in domain 'start' are outside of 'shape'. This is in contrast to the behaviour of 'lattice.shape'. In addition, if the target builder already has sites in the start domain and `overwrite=False` then we should raise an exception, as this is probably not what the user expects. Closes #107
-
- Mar 17, 2017
-
-
Joseph Weston authored
-
Joseph Weston authored
-
- Mar 16, 2017
-
-
Joseph Weston authored
-
- Mar 14, 2017
-
-
Currently when 'build_discretized' receives onsite and hoppings to build kwant template system it checks if the input expression contains position operators as symbols. Because at this moment commutative relations don't play any significant role it is enough to check by symbol names.
-
Joseph Weston authored
-
Joseph Weston authored
Previously the testing/importing 'continuum' would fail if sympy was not installed. Now we do the following: * add sympy as an optional dependency in 'extras_require' * force pytest to ignore tests in packages that have uninstalled dependencies by defining a hook in 'conftest.py' * use the 'class as a module' hack when importing 'continuum'. When sympy is not installed the continuum module will be replaced with an instance of 'ExtensionUnavailable' that will raise a runtime error on attribute access. * no warning is raised if sympy is not installed (it is an optional dependency).
-
Joseph Weston authored
-
- Mar 13, 2017
-
-
- Mar 10, 2017
-
-
Joseph Weston authored
The check 'if vec' is changed to 'if vec is not None', as the truth value of an array is ambiguous.
-
- Mar 09, 2017
-
-
Joseph Weston authored
Numpy's leastsquares implementation sometimes produces memory errors, but Scipy's appears to be unaffected (at least for the cases seen thus far).
-
Rafal Skolasinski authored
-
Rafal Skolasinski authored
So far substitutions were accepted in form ''string key: sympy expression'', which was extended to accept form of ''string key: string expression'. Also 'substitutions' were only used when input 'hamiltonian' was not a sympy object already, which got alternated to apply them always. Closes #97.
-
Joseph Weston authored
-
Joseph Weston authored
No extra logic is added to wraparound, we just transfer over extra Builder attributes to the wrapped around system, being careful to set TR and PH symmetry to None (for the k-space Hamiltonian these are only satisfied at special points in the Brillouin zone, and currently there is no way in Kwant to specify that symmetries only appear for certain parameter values).
-
Joseph Weston authored
-
Joseph Weston authored
No change in functionality. Split tests out into a separate module remove (for now) functionality for plotting 2D band structures for wrapped-around systems.
-
Christoph Groth authored
-
- Mar 08, 2017
-
-
Joseph Weston authored
-
Rafal Skolasinski authored
-
Rafal Skolasinski authored
-
- Mar 06, 2017
-
-
Anton Akhmerov authored
Fixes #92.
-
Joseph Weston authored
Previously, the API was formally incompatible, as user-provided mode/selfenergy functions required a 'params' keyword argument, which was not required by the API in Kwant 1.2. Fixes #96.
-
- Feb 24, 2017
-
-
Joseph Weston authored
-
Joseph Weston authored
-
Rafal Skolasinski authored
-
-
- Feb 23, 2017
-
-
Rafal Skolasinski authored
original repository: https://gitlab.kwant-project.org/r-j-skolasinski/discretizer base commit: 2ca27cd988f13925ef78202136712843a0c06162 developed by: Rafal Skolasinski and Sebastian Rubbert
-
- Feb 21, 2017
-
-
Also refactor '_update_moments_list' and add some tests to check for when an odd number of KPM moments is used.
-
Joseph Weston authored
Hamiltonian value functions may now have signatures that depend on different parameters. On finalization, Builders now inspect all of their value functions and store the names of the parameters on which the value function depends. Then, when evaluating the Hamiltonian, a particular value function is only passed the parameters on which it depends. 'System.hamiltonian' has been updated to accept an extra keyword-only parameter, 'params', which is a dictionary mapping parameter names to values. This is mutually exclusive with the existing '*args'. All top-level API that takes an 'args' parameter now also takes a keyword-only parameter, 'params'
-