From e001ab4217493386452c8390990441fc190513cf Mon Sep 17 00:00:00 2001 From: Christoph Groth <christoph.groth@cea.fr> Date: Wed, 6 Feb 2013 14:57:39 +0100 Subject: [PATCH] add legal and other meta information --- ACKNOWLEDGEMENTS | 5 ++++ AUTHORS | 23 ++++++++++++++++++ LICENSE | 33 ++++++++++++++++++++++---- MANIFEST.in | 2 +- README | 5 ++-- doc/Makefile | 7 ++++++ doc/source/acknowledgements.rst | 1 + doc/source/authors.rst | 1 + doc/source/conf.py | 2 +- doc/source/index.rst | 14 +++++++---- kwant/__init__.py | 8 +++++++ kwant/_system.pyx | 8 +++++++ kwant/builder.py | 8 +++++++ kwant/graph/__init__.py | 8 +++++++ kwant/graph/c_scotch.pxd | 8 +++++++ kwant/graph/c_slicer.pxd | 8 +++++++ kwant/graph/c_slicer/bucket_list.h | 8 +++++++ kwant/graph/c_slicer/graphwrap.h | 8 +++++++ kwant/graph/c_slicer/partitioner.cc | 8 +++++++ kwant/graph/c_slicer/partitioner.h | 8 +++++++ kwant/graph/c_slicer/slicer.cc | 8 +++++++ kwant/graph/c_slicer/slicer.h | 8 +++++++ kwant/graph/core.pxd | 8 +++++++ kwant/graph/core.pyx | 8 +++++++ kwant/graph/defs.h | 8 +++++++ kwant/graph/defs.pxd | 8 +++++++ kwant/graph/defs.py | 8 +++++++ kwant/graph/dissection.py | 8 +++++++ kwant/graph/scotch.pyx | 8 +++++++ kwant/graph/slicer.pyx | 8 +++++++ kwant/graph/tests/test_core.py | 8 +++++++ kwant/graph/tests/test_dissection.py | 8 +++++++ kwant/graph/tests/test_scotch.py | 8 +++++++ kwant/graph/tests/test_slicer.py | 8 +++++++ kwant/graph/tests/test_utils.py | 8 +++++++ kwant/graph/utils.pyx | 8 +++++++ kwant/lattice.py | 8 +++++++ kwant/linalg/__init__.py | 8 +++++++ kwant/linalg/_mumps.pyx | 8 +++++++ kwant/linalg/cmumps.pxd | 8 +++++++ kwant/linalg/cmumps.py | 8 +++++++ kwant/linalg/decomp_ev.py | 8 +++++++ kwant/linalg/decomp_lu.py | 8 +++++++ kwant/linalg/decomp_schur.py | 8 +++++++ kwant/linalg/f_lapack.pxd | 8 +++++++ kwant/linalg/f_lapack.py | 8 +++++++ kwant/linalg/fortran_helpers.py | 8 +++++++ kwant/linalg/lapack.pyx | 8 +++++++ kwant/linalg/mumps.py | 8 +++++++ kwant/linalg/tests/_test_utils.py | 8 +++++++ kwant/linalg/tests/test_linalg.py | 8 +++++++ kwant/linalg/tests/test_mumps.py | 8 +++++++ kwant/physics/__init__.py | 8 +++++++ kwant/physics/dispersion.py | 8 +++++++ kwant/physics/noise.py | 8 +++++++ kwant/physics/selfenergy.py | 8 +++++++ kwant/physics/tests/test_dispersion.py | 8 +++++++ kwant/physics/tests/test_noise.py | 8 +++++++ kwant/physics/tests/test_selfenergy.py | 8 +++++++ kwant/plotter.py | 8 +++++++ kwant/solvers/__init__.py | 8 +++++++ kwant/solvers/common.py | 8 +++++++ kwant/solvers/default.py | 8 +++++++ kwant/solvers/mumps.py | 8 +++++++ kwant/solvers/sparse.py | 8 +++++++ kwant/solvers/tests/_test_sparse.py | 8 +++++++ kwant/solvers/tests/test_mumps.py | 8 +++++++ kwant/solvers/tests/test_sparse.py | 8 +++++++ kwant/system.py | 8 +++++++ kwant/tests/test_builder.py | 8 +++++++ kwant/tests/test_lattice.py | 8 +++++++ kwant/tests/test_plotter.py | 8 +++++++ kwant/tests/test_system.py | 8 +++++++ kwant/version.py | 8 +++++++ setup.py | 13 ++++++++-- 75 files changed, 601 insertions(+), 17 deletions(-) create mode 100644 ACKNOWLEDGEMENTS create mode 100644 AUTHORS create mode 100644 doc/source/acknowledgements.rst create mode 100644 doc/source/authors.rst diff --git a/ACKNOWLEDGEMENTS b/ACKNOWLEDGEMENTS new file mode 100644 index 00000000..fed45582 --- /dev/null +++ b/ACKNOWLEDGEMENTS @@ -0,0 +1,5 @@ +========================== +Suggested acknowledgements +========================== + +To be written. diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 00000000..3da5f159 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,23 @@ +================ +Authors of kwant +================ + +The principal developers of kwant are (in alphabetic order) + +* Anton R. Akhmerov <anton.akhmerov@gmail.com> +* Christoph W. Groth <christoph.groth@cea.fr> +* Xavier Waintal <xavier.waintal@cea.fr> +* Michael Wimmer <wimmer@lorentz.leidenuniv.nl> + +The contributions of Christoph and Xavier are part of their work at `CEA +<http://cea.fr>`_, the French Commissariat à l'énergie atomique et aux énergies +alternatives. + +Other people that have contributed to kwant include + +* Daniel Jaschke + +------------------------------------------------------------- + +To find out who exactly wrote a certain part of kwant, please use the "blame" +feature of `git <http://git-scm.com/>`_, the version control system. diff --git a/LICENSE b/LICENSE index 7ca50d88..428c79dd 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,30 @@ -License -======= +============= +kwant License +============= -This software (kwant) is NOT TO BE DISTRIBUTED, neither in part nor as a whole. +(This license applies to all files of this distribution except those within the +``doc/sphinxext`` subdirectory for which ``doc/sphinxext/LICENSE.txt`` +applies.) -The only exception to this is the ``doc/sphinxext`` subdirectory, which is free -software. (See the file ``LICENSE.txt`` in that subdirectory.) +Copyright 2011-2013, kwant authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/MANIFEST.in b/MANIFEST.in index 94cd46b9..18a513a1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,7 +2,7 @@ # in addition to the default ones. include MANIFEST.in -include INSTALL LICENSE TODO +include INSTALL LICENSE AUTHORS ACKNOWLEDGEMENTS TODO # We explicitly include both pyx and c files, so that both are shipped in # source tarballs independently of whether "setup.py sdist" is run with diff --git a/README b/README index 23f3e55e..0e41e83d 100644 --- a/README +++ b/README @@ -7,6 +7,5 @@ various Green's functions, and local density of states. Being extensible and modular, kwant has been designed to be useful for other computations involving tight-binding Hamiltonians as well. -See the file INSTALL for installation instructions and LICENSE for legal -information. A tutorial for new users and complete reference documentation are -available. +See also the files INSTALL, LICENSE, AUTHORS, and ACKNOWLEDGEMENTS in this +directory. diff --git a/doc/Makefile b/doc/Makefile index 36a2cf09..452ca2b5 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,5 +1,12 @@ # Makefile for Sphinx documentation + +# Copyright 2011-2013 kwant authors. # +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. # You can set these variables from the command line. SPHINXOPTS = diff --git a/doc/source/acknowledgements.rst b/doc/source/acknowledgements.rst new file mode 100644 index 00000000..a57bfd60 --- /dev/null +++ b/doc/source/acknowledgements.rst @@ -0,0 +1 @@ +.. include:: ../../ACKNOWLEDGEMENTS diff --git a/doc/source/authors.rst b/doc/source/authors.rst new file mode 100644 index 00000000..50781890 --- /dev/null +++ b/doc/source/authors.rst @@ -0,0 +1 @@ +.. include:: ../../AUTHORS diff --git a/doc/source/conf.py b/doc/source/conf.py index 0748681c..63c68cc3 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -39,7 +39,7 @@ master_doc = 'index' # General information about the project. project = u'kwant' -copyright = u'2011-2012, A. R. Akhmerov, C. W. Groth, X. Waintal, M. Wimmer' +copyright = u'2011-2012, kwant Developers' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the diff --git a/doc/source/index.rst b/doc/source/index.rst index b22d04a6..5708837c 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -3,22 +3,26 @@ kwant documentation =================== .. include:: ../../README - :end-before: See the file INSTALL + :end-before: See also the files -.. toctree:: - :maxdepth: 1 - - Installation instructions <install> +Researchers, please note that even though :doc:`kwant is Free Software +<license>`, scientific integrity requires to give appropriate credit. If you +write a scientific paper whose results have been obtained thanks to kwant, +please :doc:`acknowledge <acknowledgements>` the work of the :doc:`people that +have made it possible <authors>`. .. toctree:: :maxdepth: 1 license + authors + acknowledgements .. toctree:: :maxdepth: 1 whatsnew/index + install .. toctree:: :maxdepth: 2 diff --git a/kwant/__init__.py b/kwant/__init__.py index 321dfa82..0fe7727e 100644 --- a/kwant/__init__.py +++ b/kwant/__init__.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + __all__ = ['system', 'version', 'builder', 'lattice', 'solvers'] for module in __all__: exec 'from . import {0}'.format(module) diff --git a/kwant/_system.pyx b/kwant/_system.pyx index 7523864c..d4821e86 100644 --- a/kwant/_system.pyx +++ b/kwant/_system.pyx @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + cimport cython import tinyarray as ta import numpy as np diff --git a/kwant/builder.py b/kwant/builder.py index ee88d82c..2c2d620f 100644 --- a/kwant/builder.py +++ b/kwant/builder.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + from __future__ import division __all__ = ['Builder', 'Site', 'SiteGroup', 'SimpleSiteGroup', 'Symmetry', diff --git a/kwant/graph/__init__.py b/kwant/graph/__init__.py index 4a3dafce..cb2a5f98 100644 --- a/kwant/graph/__init__.py +++ b/kwant/graph/__init__.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + """Functionality for graphs""" # Merge the public interface of all submodules. diff --git a/kwant/graph/c_scotch.pxd b/kwant/graph/c_scotch.pxd index c1b4ab31..770c58a1 100644 --- a/kwant/graph/c_scotch.pxd +++ b/kwant/graph/c_scotch.pxd @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + from libc.stdio cimport FILE cdef extern from "scotch.h": diff --git a/kwant/graph/c_slicer.pxd b/kwant/graph/c_slicer.pxd index c248d802..9aee2b71 100644 --- a/kwant/graph/c_slicer.pxd +++ b/kwant/graph/c_slicer.pxd @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + from defs cimport gint cdef extern from "c_slicer/slicer.h": diff --git a/kwant/graph/c_slicer/bucket_list.h b/kwant/graph/c_slicer/bucket_list.h index 898124bf..f186554a 100644 --- a/kwant/graph/c_slicer/bucket_list.h +++ b/kwant/graph/c_slicer/bucket_list.h @@ -1,3 +1,11 @@ +// Copyright 2011-2013 kwant authors. +// +// This file is part of kwant. It is subject to the license terms in the +// LICENSE file found in the top-level directory of this distribution and at +// http://kwant-project.org/license. A list of kwant authors can be found in +// the AUTHORS file at the top-level directory of this distribution and at +// http://kwant-project.org/authors. + #ifndef BUCKET_LIST_H #define BUCKET_LIST_H diff --git a/kwant/graph/c_slicer/graphwrap.h b/kwant/graph/c_slicer/graphwrap.h index cf483ce6..7275a23d 100644 --- a/kwant/graph/c_slicer/graphwrap.h +++ b/kwant/graph/c_slicer/graphwrap.h @@ -1,3 +1,11 @@ +// Copyright 2011-2013 kwant authors. +// +// This file is part of kwant. It is subject to the license terms in the +// LICENSE file found in the top-level directory of this distribution and at +// http://kwant-project.org/license. A list of kwant authors can be found in +// the AUTHORS file at the top-level directory of this distribution and at +// http://kwant-project.org/authors. + //-*-C++-*- #ifndef _GRAPH_WRAPPER_H #define _GRAPH_WRAPPER_H diff --git a/kwant/graph/c_slicer/partitioner.cc b/kwant/graph/c_slicer/partitioner.cc index 1df24b98..a021773a 100644 --- a/kwant/graph/c_slicer/partitioner.cc +++ b/kwant/graph/c_slicer/partitioner.cc @@ -1,3 +1,11 @@ +// Copyright 2011-2013 kwant authors. +// +// This file is part of kwant. It is subject to the license terms in the +// LICENSE file found in the top-level directory of this distribution and at +// http://kwant-project.org/license. A list of kwant authors can be found in +// the AUTHORS file at the top-level directory of this distribution and at +// http://kwant-project.org/authors. + #include "partitioner.h" //---------------------------------------------------- diff --git a/kwant/graph/c_slicer/partitioner.h b/kwant/graph/c_slicer/partitioner.h index e742a686..32486114 100644 --- a/kwant/graph/c_slicer/partitioner.h +++ b/kwant/graph/c_slicer/partitioner.h @@ -1,3 +1,11 @@ +// Copyright 2011-2013 kwant authors. +// +// This file is part of kwant. It is subject to the license terms in the +// LICENSE file found in the top-level directory of this distribution and at +// http://kwant-project.org/license. A list of kwant authors can be found in +// the AUTHORS file at the top-level directory of this distribution and at +// http://kwant-project.org/authors. + //-*-C++-*- #ifndef _BLOCK_TRIDIAGONAL_PARTITIONER_H #define _BLOCK_TRIDIAGONAL_PARTITIONER_H diff --git a/kwant/graph/c_slicer/slicer.cc b/kwant/graph/c_slicer/slicer.cc index f5503278..574469cf 100644 --- a/kwant/graph/c_slicer/slicer.cc +++ b/kwant/graph/c_slicer/slicer.cc @@ -1,3 +1,11 @@ +// Copyright 2011-2013 kwant authors. +// +// This file is part of kwant. It is subject to the license terms in the +// LICENSE file found in the top-level directory of this distribution and at +// http://kwant-project.org/license. A list of kwant authors can be found in +// the AUTHORS file at the top-level directory of this distribution and at +// http://kwant-project.org/authors. + #include <algorithm> #include <exception> diff --git a/kwant/graph/c_slicer/slicer.h b/kwant/graph/c_slicer/slicer.h index 7707afc5..24930e29 100644 --- a/kwant/graph/c_slicer/slicer.h +++ b/kwant/graph/c_slicer/slicer.h @@ -1,3 +1,11 @@ +// Copyright 2011-2013 kwant authors. +// +// This file is part of kwant. It is subject to the license terms in the +// LICENSE file found in the top-level directory of this distribution and at +// http://kwant-project.org/license. A list of kwant authors can be found in +// the AUTHORS file at the top-level directory of this distribution and at +// http://kwant-project.org/authors. + struct Slicing { int nslices; diff --git a/kwant/graph/core.pxd b/kwant/graph/core.pxd index 72905bfa..5a866a63 100644 --- a/kwant/graph/core.pxd +++ b/kwant/graph/core.pxd @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + cimport numpy as np from kwant.graph.defs cimport gint diff --git a/kwant/graph/core.pyx b/kwant/graph/core.pyx index a8848c77..a9a22f43 100644 --- a/kwant/graph/core.pyx +++ b/kwant/graph/core.pyx @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + """Directed graphs optimized for storage and runtime efficiency.""" __all__ = ['Graph', 'CGraph'] diff --git a/kwant/graph/defs.h b/kwant/graph/defs.h index cbb76804..fc589daa 100644 --- a/kwant/graph/defs.h +++ b/kwant/graph/defs.h @@ -1,3 +1,11 @@ +// Copyright 2011-2013 kwant authors. +// +// This file is part of kwant. It is subject to the license terms in the +// LICENSE file found in the top-level directory of this distribution and at +// http://kwant-project.org/license. A list of kwant authors can be found in +// the AUTHORS file at the top-level directory of this distribution and at +// http://kwant-project.org/authors. + #ifndef DEFS_H #define DEFS_H diff --git a/kwant/graph/defs.pxd b/kwant/graph/defs.pxd index 5d574061..d4dcf730 100644 --- a/kwant/graph/defs.pxd +++ b/kwant/graph/defs.pxd @@ -1,2 +1,10 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + cdef extern from "defs.h": ctypedef signed int gint diff --git a/kwant/graph/defs.py b/kwant/graph/defs.py index 472c1f0c..96b29a10 100644 --- a/kwant/graph/defs.py +++ b/kwant/graph/defs.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + __all__ = ['gint_dtype'] import numpy as np gint_dtype = np.int32 diff --git a/kwant/graph/dissection.py b/kwant/graph/dissection.py index 0dd050e9..f1be0088 100644 --- a/kwant/graph/dissection.py +++ b/kwant/graph/dissection.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + """Routines to compute nested dissections of graphs""" __all__ = ['edge_dissection'] diff --git a/kwant/graph/scotch.pyx b/kwant/graph/scotch.pyx index 1e826ec2..2e9fcd26 100644 --- a/kwant/graph/scotch.pyx +++ b/kwant/graph/scotch.pyx @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + """Wrapper for the graph library SCOTCH""" __all__ = ['bisect', 'reset'] diff --git a/kwant/graph/slicer.pyx b/kwant/graph/slicer.pyx index d9a896e6..b4cc96f0 100644 --- a/kwant/graph/slicer.pyx +++ b/kwant/graph/slicer.pyx @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + import numpy as np cimport numpy as np cimport cython diff --git a/kwant/graph/tests/test_core.py b/kwant/graph/tests/test_core.py index 1ec0879e..af1701db 100644 --- a/kwant/graph/tests/test_core.py +++ b/kwant/graph/tests/test_core.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + from StringIO import StringIO from itertools import izip_longest import numpy as np diff --git a/kwant/graph/tests/test_dissection.py b/kwant/graph/tests/test_dissection.py index 1d9392ee..df92f74e 100644 --- a/kwant/graph/tests/test_dissection.py +++ b/kwant/graph/tests/test_dissection.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + from nose.tools import assert_equal, assert_true import numpy as np # from kwant.graph import Graph, dissection diff --git a/kwant/graph/tests/test_scotch.py b/kwant/graph/tests/test_scotch.py index a1713990..eeebc40d 100644 --- a/kwant/graph/tests/test_scotch.py +++ b/kwant/graph/tests/test_scotch.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + import numpy as np from nose.tools import assert_equal, assert_true from kwant.graph import Graph diff --git a/kwant/graph/tests/test_slicer.py b/kwant/graph/tests/test_slicer.py index 3b0850de..3981863c 100644 --- a/kwant/graph/tests/test_slicer.py +++ b/kwant/graph/tests/test_slicer.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + import kwant from kwant.graph import slicer diff --git a/kwant/graph/tests/test_utils.py b/kwant/graph/tests/test_utils.py index 0a1a2a95..c3bd5a53 100644 --- a/kwant/graph/tests/test_utils.py +++ b/kwant/graph/tests/test_utils.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + import numpy as np from nose.tools import assert_equal, assert_true from kwant.graph import Graph diff --git a/kwant/graph/utils.pyx b/kwant/graph/utils.pyx index d79f39a3..1854227e 100644 --- a/kwant/graph/utils.pyx +++ b/kwant/graph/utils.pyx @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + """Utilities to modify compressed graphs""" __all__ = ['make_undirected', 'remove_duplicates', 'induced_subgraph', diff --git a/kwant/lattice.py b/kwant/lattice.py index 4834f664..c5f99528 100644 --- a/kwant/lattice.py +++ b/kwant/lattice.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + from __future__ import division __all__ = ['make_lattice', 'TranslationalSymmetry', diff --git a/kwant/linalg/__init__.py b/kwant/linalg/__init__.py index a545165d..08a7c8e9 100644 --- a/kwant/linalg/__init__.py +++ b/kwant/linalg/__init__.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + __all__ = ['lapack'] from . import lapack diff --git a/kwant/linalg/_mumps.pyx b/kwant/linalg/_mumps.pyx index 9826056b..9c6561da 100644 --- a/kwant/linalg/_mumps.pyx +++ b/kwant/linalg/_mumps.pyx @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + cimport numpy as np import numpy as np cimport cmumps diff --git a/kwant/linalg/cmumps.pxd b/kwant/linalg/cmumps.pxd index f4030c4e..3765b1cc 100644 --- a/kwant/linalg/cmumps.pxd +++ b/kwant/linalg/cmumps.pxd @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + cdef extern from "mumps_c_types.h": ctypedef int MUMPS_INT diff --git a/kwant/linalg/cmumps.py b/kwant/linalg/cmumps.py index 47544834..5c5da547 100644 --- a/kwant/linalg/cmumps.py +++ b/kwant/linalg/cmumps.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + import numpy as np int_dtype = np.int32 diff --git a/kwant/linalg/decomp_ev.py b/kwant/linalg/decomp_ev.py index 36ceb706..f5c2602d 100644 --- a/kwant/linalg/decomp_ev.py +++ b/kwant/linalg/decomp_ev.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + __all__ = ['gen_eig'] from . import lapack diff --git a/kwant/linalg/decomp_lu.py b/kwant/linalg/decomp_lu.py index cf9dc591..78d9e6aa 100644 --- a/kwant/linalg/decomp_lu.py +++ b/kwant/linalg/decomp_lu.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + __all__ = ['lu_factor', 'lu_solve', 'rcond_from_lu'] import numpy as np diff --git a/kwant/linalg/decomp_schur.py b/kwant/linalg/decomp_schur.py index 01e1d392..e642d3d5 100644 --- a/kwant/linalg/decomp_schur.py +++ b/kwant/linalg/decomp_schur.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + __all__ = ['schur', 'convert_r2c_schur', 'order_schur', 'evecs_from_schur', 'gen_schur', 'order_gen_schur', 'convert_r2c_gen_schur', 'evecs_from_gen_schur'] diff --git a/kwant/linalg/f_lapack.pxd b/kwant/linalg/f_lapack.pxd index 5940f997..7252c344 100644 --- a/kwant/linalg/f_lapack.pxd +++ b/kwant/linalg/f_lapack.pxd @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + ctypedef int l_int ctypedef int l_logical diff --git a/kwant/linalg/f_lapack.py b/kwant/linalg/f_lapack.py index cec1c6b2..721a4643 100644 --- a/kwant/linalg/f_lapack.py +++ b/kwant/linalg/f_lapack.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + __all__ = ['l_int_dtype', 'l_logical_dtype'] import numpy as np diff --git a/kwant/linalg/fortran_helpers.py b/kwant/linalg/fortran_helpers.py index e05e4f8c..2161b42b 100644 --- a/kwant/linalg/fortran_helpers.py +++ b/kwant/linalg/fortran_helpers.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + import numpy as np diff --git a/kwant/linalg/lapack.pyx b/kwant/linalg/lapack.pyx index 738107ce..44ea46fc 100644 --- a/kwant/linalg/lapack.pyx +++ b/kwant/linalg/lapack.pyx @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + """Low-level access to LAPACK functions. """ __all__ = ['sgetrf', 'dgetrf', 'cgetrf', 'zgetrf', diff --git a/kwant/linalg/mumps.py b/kwant/linalg/mumps.py index 146a66a0..284157b7 100644 --- a/kwant/linalg/mumps.py +++ b/kwant/linalg/mumps.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + """Interface to the MUMPS sparse solver library""" __all__ = ['MUMPSContext', 'schur_complement', 'AnalysisStatistics', diff --git a/kwant/linalg/tests/_test_utils.py b/kwant/linalg/tests/_test_utils.py index 9c14d103..b7bd9d29 100644 --- a/kwant/linalg/tests/_test_utils.py +++ b/kwant/linalg/tests/_test_utils.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + import numpy as np class _Random: diff --git a/kwant/linalg/tests/test_linalg.py b/kwant/linalg/tests/test_linalg.py index bc43d8af..51a70f56 100644 --- a/kwant/linalg/tests/test_linalg.py +++ b/kwant/linalg/tests/test_linalg.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + from kwant.linalg import lu_factor, lu_solve, rcond_from_lu, gen_eig, schur, \ convert_r2c_schur, order_schur, evecs_from_schur, gen_schur, \ convert_r2c_gen_schur, order_gen_schur, evecs_from_gen_schur diff --git a/kwant/linalg/tests/test_mumps.py b/kwant/linalg/tests/test_mumps.py index e0e062a1..dd200b1e 100644 --- a/kwant/linalg/tests/test_mumps.py +++ b/kwant/linalg/tests/test_mumps.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + try: from kwant.linalg.mumps import MUMPSContext, schur_complement _no_mumps = False diff --git a/kwant/physics/__init__.py b/kwant/physics/__init__.py index 43152650..2b081aa8 100644 --- a/kwant/physics/__init__.py +++ b/kwant/physics/__init__.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + """Physics-related algorithms""" # Merge the public interface of all submodules. diff --git a/kwant/physics/dispersion.py b/kwant/physics/dispersion.py index 57def6b6..12245ac0 100644 --- a/kwant/physics/dispersion.py +++ b/kwant/physics/dispersion.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + import math import numpy as np diff --git a/kwant/physics/noise.py b/kwant/physics/noise.py index 9809b4e6..5758fce8 100644 --- a/kwant/physics/noise.py +++ b/kwant/physics/noise.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + import numpy as np def two_terminal_shotnoise(smatrix): diff --git a/kwant/physics/selfenergy.py b/kwant/physics/selfenergy.py index 3a3ec5f0..ba971101 100644 --- a/kwant/physics/selfenergy.py +++ b/kwant/physics/selfenergy.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + from __future__ import division from math import sin, cos, sqrt, pi, copysign from collections import namedtuple diff --git a/kwant/physics/tests/test_dispersion.py b/kwant/physics/tests/test_dispersion.py index 128b0bf1..13710188 100644 --- a/kwant/physics/tests/test_dispersion.py +++ b/kwant/physics/tests/test_dispersion.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + from numpy.testing import assert_array_almost_equal import kwant from math import pi, cos diff --git a/kwant/physics/tests/test_noise.py b/kwant/physics/tests/test_noise.py index d5109201..85720882 100644 --- a/kwant/physics/tests/test_noise.py +++ b/kwant/physics/tests/test_noise.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + import numpy as np from nose.tools import assert_raises from numpy.testing import assert_almost_equal diff --git a/kwant/physics/tests/test_selfenergy.py b/kwant/physics/tests/test_selfenergy.py index 2b54ec1d..2975c141 100644 --- a/kwant/physics/tests/test_selfenergy.py +++ b/kwant/physics/tests/test_selfenergy.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + from __future__ import division import numpy as np from numpy.testing import assert_almost_equal diff --git a/kwant/plotter.py b/kwant/plotter.py index ec2e5894..f1341617 100644 --- a/kwant/plotter.py +++ b/kwant/plotter.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + """Plotter module for kwant. This module provides iterators useful for any plotter routine, such as a list diff --git a/kwant/solvers/__init__.py b/kwant/solvers/__init__.py index efddc556..41fbb9ba 100644 --- a/kwant/solvers/__init__.py +++ b/kwant/solvers/__init__.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + """This package contains solvers in individual sub-packages. One of the solvers will be imported as `default`. Please import other diff --git a/kwant/solvers/common.py b/kwant/solvers/common.py index a09e8e4a..1a4521cb 100644 --- a/kwant/solvers/common.py +++ b/kwant/solvers/common.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + __all__ = ['SparseSolver', 'BlockResult'] from collections import namedtuple diff --git a/kwant/solvers/default.py b/kwant/solvers/default.py index 3386a062..eab41822 100644 --- a/kwant/solvers/default.py +++ b/kwant/solvers/default.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + __all__ = ['solve', 'ldos', 'wave_func'] # MUMPS usually works best. Use SciPy as fallback. diff --git a/kwant/solvers/mumps.py b/kwant/solvers/mumps.py index 9f18dba3..0e57c891 100644 --- a/kwant/solvers/mumps.py +++ b/kwant/solvers/mumps.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + __all__ = ['solve', 'ldos', 'wave_func', 'options', 'Solver'] import numpy as np diff --git a/kwant/solvers/sparse.py b/kwant/solvers/sparse.py index 27ceb565..66aab5a4 100644 --- a/kwant/solvers/sparse.py +++ b/kwant/solvers/sparse.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + __all__ = ['solve', 'ldos', 'wave_func', 'Solver'] import warnings diff --git a/kwant/solvers/tests/_test_sparse.py b/kwant/solvers/tests/_test_sparse.py index 0f58294a..b16bce95 100644 --- a/kwant/solvers/tests/_test_sparse.py +++ b/kwant/solvers/tests/_test_sparse.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + from __future__ import division import numpy as np from nose.tools import assert_raises diff --git a/kwant/solvers/tests/test_mumps.py b/kwant/solvers/tests/test_mumps.py index 81529592..416c8f98 100644 --- a/kwant/solvers/tests/test_mumps.py +++ b/kwant/solvers/tests/test_mumps.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + from nose.plugins.skip import Skip, SkipTest from numpy.testing.decorators import skipif try: diff --git a/kwant/solvers/tests/test_sparse.py b/kwant/solvers/tests/test_sparse.py index 9a5c9083..1e27f0b4 100644 --- a/kwant/solvers/tests/test_sparse.py +++ b/kwant/solvers/tests/test_sparse.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + from nose.plugins.skip import Skip, SkipTest from kwant.solvers.sparse import solve, ldos, wave_func import kwant.solvers.sparse diff --git a/kwant/system.py b/kwant/system.py index 00ff881f..aa56515e 100644 --- a/kwant/system.py +++ b/kwant/system.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + """Low-level interface of systems""" from __future__ import division diff --git a/kwant/tests/test_builder.py b/kwant/tests/test_builder.py index 8138f6a2..27b4454e 100644 --- a/kwant/tests/test_builder.py +++ b/kwant/tests/test_builder.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + from __future__ import division from random import Random from StringIO import StringIO diff --git a/kwant/tests/test_lattice.py b/kwant/tests/test_lattice.py index 9c8a5495..ac687907 100644 --- a/kwant/tests/test_lattice.py +++ b/kwant/tests/test_lattice.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + from __future__ import division from math import sqrt import numpy as np diff --git a/kwant/tests/test_plotter.py b/kwant/tests/test_plotter.py index 2e7f5ebb..d93f01a8 100644 --- a/kwant/tests/test_plotter.py +++ b/kwant/tests/test_plotter.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + import tempfile import nose import kwant diff --git a/kwant/tests/test_system.py b/kwant/tests/test_system.py index caf3fd64..b5445771 100644 --- a/kwant/tests/test_system.py +++ b/kwant/tests/test_system.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + import numpy as np from scipy import sparse from nose.tools import assert_raises diff --git a/kwant/version.py b/kwant/version.py index 7b5efeed..e07785ec 100644 --- a/kwant/version.py +++ b/kwant/version.py @@ -1,3 +1,11 @@ +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + import subprocess import os diff --git a/setup.py b/setup.py index 2112d2c7..08ca2ba3 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,13 @@ #!/usr/bin/env python +# Copyright 2011-2013 kwant authors. +# +# This file is part of kwant. It is subject to the license terms in the +# LICENSE file found in the top-level directory of this distribution and at +# http://kwant-project.org/license. A list of kwant authors can be found in +# the AUTHORS file at the top-level directory of this distribution and at +# http://kwant-project.org/authors. + CONFIG_FILE = 'build.conf' STATIC_VERSION_FILE = 'kwant/_static_version.py' REQUIRED_CYTHON_VERSION = (0, 17, 1) @@ -318,11 +326,12 @@ def main(): setup(name='kwant', version=version(), - author='A. R. Akhmerov, C. W. Groth, X. Waintal, M. Wimmer', + author='kwant authors', author_email='christoph.groth@cea.fr', description="A package for numerical " "quantum transport calculations.", - license="not to be distributed", + url="http://kwant-project.org/", + license="BSD", packages=["kwant", "kwant.graph", "kwant.linalg", "kwant.physics", "kwant.solvers", "kwant.tests", "kwant.graph.tests", "kwant.linalg.tests", "kwant.physics.tests", -- GitLab