Skip to content
Snippets Groups Projects
  1. Jul 25, 2017
    • Christoph Groth's avatar
      improve the tutorial script and image buiding machinery · 001dafbb
      Christoph Groth authored
      The basic idea remains the same, but should work much better now.  The
      difference is that images/example.py.diff is now a patch with complete
      context and becomes the authoritative source for both the visible flavor
      of an example as well as for its figure-generating variant.  Both
      tutorial/example.py and images/example.py are extracted from this file
      by 'make html'.  Thanks to the complete context the diffs are quite
      readable and may be modified directly.
      
      Alternatively, one may also modify the generated scripts.  When
      tutorial/example.py has been modified, it will be patched and saved as
      images/example.py.  The patching is done using the tool 'wiggle' that
      works much better than 'patch'.  If a conflict occurs, conflict markers
      are added to the output file and its dated back to the dawn of time
      (i.e. 1970) in order to mark the conflicts as not yet resolved.  After
      resolving, 'make html' is simply run again.
      
      Upon a successful execution of the figure-generating script the diff
      gets recreated automatically, 'generate-diffs' no longer exists.
      001dafbb
    • Christoph Groth's avatar
      generate documentation for kwant.builder.{Finite,Infinite}System · 503acc43
      Christoph Groth authored
      These classes used not to have any features beyond
      kwant.system.{Finite,Infinite}System, but this is no longer the case.
      503acc43
  2. Jul 20, 2017
  3. Jun 23, 2017
  4. May 19, 2017
  5. May 18, 2017
  6. May 17, 2017
  7. May 14, 2017
  8. May 13, 2017
  9. May 12, 2017
  10. May 11, 2017
  11. Apr 26, 2017
    • Rafal Skolasinski's avatar
      doc: rewrite discretizer example to work with wraparound · a96e5f00
      Rafal Skolasinski authored and Joseph Weston's avatar Joseph Weston committed
      Current implementation uses ``kwant.physics.Bands``. This example fails
      when one substitute ``k_x**2`` with for example ``k_x**4`` due to farther
      then nearest neighbours hoppings. Using wraparound provides also easier way
      to extend it to multidimensional band structures (except of plotting).
      a96e5f00
  12. Apr 24, 2017
Loading