diff --git a/doc/source/reference/kwant.builder.rst b/doc/source/reference/kwant.builder.rst index 973b8f5a3f06a4fc3dfa5f2e5df794eb75a3e92e..c1aa98ebbac9d50ce41d2267d6e2ce9992fa3b9a 100644 --- a/doc/source/reference/kwant.builder.rst +++ b/doc/source/reference/kwant.builder.rst @@ -13,7 +13,7 @@ Types HoppingKind SimpleSiteFamily BuilderLead - SelfEnergy + SelfEnergyLead ModesLead Abstract base classes diff --git a/kwant/builder.py b/kwant/builder.py index b6b6c66d5ff311d8c92f9acf5c35c56c19025d2d..e09cdf9c7b07f077f32502696408e17d5c48844a 100644 --- a/kwant/builder.py +++ b/kwant/builder.py @@ -9,7 +9,7 @@ from __future__ import division __all__ = ['Builder', 'Site', 'SiteFamily', 'SimpleSiteFamily', 'Symmetry', - 'HoppingKind', 'Lead', 'BuilderLead', 'SelfEnergy', 'ModesLead'] + 'HoppingKind', 'Lead', 'BuilderLead', 'SelfEnergyLead', 'ModesLead'] import abc import sys @@ -443,7 +443,7 @@ class BuilderLead(Lead): return self.builder._finalized_infinite(self.interface) -class SelfEnergy(Lead): +class SelfEnergyLead(Lead): """A general lead defined by its self energy. Parameters