Skip to content
Snippets Groups Projects
  1. Mar 23, 2017
    • Joseph Weston's avatar
      CI: separate conda packaging into separate jobs · 33d6364f
      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.
      33d6364f
    • Joseph Weston's avatar
      change TranslationalSymmetry.act() to reject non-integer input · 3bb749eb
      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.
      3bb749eb
  2. Mar 22, 2017
  3. Mar 21, 2017
  4. Mar 20, 2017
  5. Mar 17, 2017
  6. Mar 16, 2017
  7. Mar 14, 2017
  8. Mar 13, 2017
  9. Mar 10, 2017
  10. Mar 09, 2017
  11. Mar 08, 2017
  12. Mar 06, 2017
  13. Feb 24, 2017
  14. Feb 23, 2017
  15. Feb 21, 2017
    • Pablo Piskunow's avatar
      fix bug when an odd number of KPM moments is used · d65a2b4a
      Pablo Piskunow authored and Joseph Weston's avatar Joseph Weston committed
      Also refactor '_update_moments_list' and add some tests
      to check for when an odd number of KPM moments is used.
      d65a2b4a
    • Joseph Weston's avatar
      allow systems to accept named parameters · 886d083c
      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'
      886d083c
  16. Feb 16, 2017
    • Pablo Piskunow's avatar
      fix behavior of 'bounds' and 'epsilon' in KPM · ad3ccb0e
      Pablo Piskunow authored and Joseph Weston's avatar Joseph Weston committed
      Now, the tolerance to which the spectral bounds of the Hamiltonian
      are calculated is set by 'epsilon', which also controls the
      rescaling of the Hamiltonian to ensure that the spectral bounds are
      strictly between (-1, 1). Also the spectral bounds are only calculated
      *once* (if not provided by the user).
      ad3ccb0e
  17. Feb 15, 2017
    • Tómas's avatar
      update superconductor tutorial · cafa3e88
      Tómas authored and Joseph Weston's avatar Joseph Weston committed
      Uses the new conservation law and discrete symmetry interface
      to Builder, and illustrates the separation of the scattering matrix into
      blocks depending on conservation law eigenvalue.
      cafa3e88
  18. Feb 02, 2017
    • Joseph Weston's avatar
      correctly document `__call__` for operators · 8fc151eb
      Joseph Weston authored
      Also improve the documentation for operators in general.
      
      special methods are not included by autodocs by default, and
      as class documentation pages are generated by autosummary,
      we cannot just explicitly include __call__. We get around this
      by using a custom autosummary template for the operator classes.
      
      For cython extension modules, the method signature for __call__
      is still not embedded properly.
      See https://github.com/cython/cython/issues/1577.
      8fc151eb
Loading