Python Version

Interspectus — INTERpolation of SPECTra Using Sum rules


The code interspectus allows you to interpolate between positive-definite spectra that depend parametrically on one variable and obey a sum rule. This module is a Python transscript of the Fortran code of Hans-Christian Weissker which is describe here.

Interspectus_comparison.pngInterspectus_comparison_graphene.png

List of Files

interspectus.py Interpolation of spectra using sum rules

Examples are included at the end of each file and can be executed using python <file>. A detailed documentation can be found [1] and in the code (use pydoc).

References

  1. Weissker et.al., Phys. Rev. B 79, 094102 (2009)

Download

Download the attachted tar-file and extract the content using tar -xvf interspectus_r46.tar. Alternatively, the latest version can be downloaded from the SVN Repository by svn co svn+ssh://etsf.polytechnique.fr/var/svn/share/tools/interspectus interspectus Remember to add the install path to the shell variable PYTHONPATH.

Prerequisites
  • Python (>2.6)
  • Python modules: numpy, scipy, matplotlib
  • (suggested) DPio-module

Copyright (c) 2011, Ralf Hambach, Hans-Christian Weissker. All rights reserved.
See LICENSE file for use of this source code (BSD license, open source).

AttachmentSize
File interspectus_r46.tgz21.83 KB