Using Tight Binding Programs In Windows

It is possible to use the two tight binding programs, harrison.py and chadicohen.py, from within Windows (95,98,NT). Here's how:
  1. Install python on your computer. You can get the executable from here.
  2. Install numerical python on your computer. You can get the distribution from here. This is probably best installed in a subdirectory of your Python installation.
  3. Install gnuplot on your computer. You can get the executable from here.
  4. Edit the path_to_gnuplot variable in harrison.py or chadicohen.py. Change it to point to the location of your gnuplot executable. On my computer this is: path_to_gnuplot = 'c:\Gnuplot3.7\wgnuplot.exe'
  5. That's it! Everything should work now. Oh, except for the command line options. If you need these I suggest running from the bash or MSDOS command-line prompt. On my computer, this looks something like (under bash) $ ./python.exe harrison.py -c 31 -a 7

Last modified: Thu Mar 17 08:08:10 2005