OptiM - Computer code for linear and non-linear optics calculations

1. To download zipped file (2.6 MB) for program installation click here.

2. Instructions for installation to a computer with MS Windows operating system

bulletDownload . zip file into your computer and unzip it
bulletIf you do not have OptiM previously installed run setup.exe and follow all the instructions there. Remember the directory where you install the software.
bulletThis step installs dynamic libraries and standard examples but it installs old version of the executable and help files.
bulletCopy files optim32.exe and opti.hlp on the top of the same files which you obtained after installation (see step 3).
bulletNotes:
bulletThis copy of the software (version 4.1.10, Feb. 08, 2004) does not have any bugs known to the author
bulletOn-line help does not cover features and improvements introduced  recently, but program is self-documented (there are short explanations at the bottom of the window for every menu choice) and in most of cases the lack of documentation does not cause problems.
bulletQuestions can be send to the author at val@fnal.gov, phone 1(630)840-2558

3. If you already have the program installed you can download the latest executable (need to be unzipped) dated to June 17, 2007 and latest help file dated to January 14, 2007.  The following major improvements/upgrades were introduced since February 2005.

bulletArrays and Do{...} While cycles in the math header, December 2005 release
bulletNew functions theta($x) , abs($x) , sign($x), int($x), fact($x), hro($P), December 2005 release
bulletExpressions can be used in parameters of elements and in all service blocks, December 2005 release. That feature caused redefinition of how scattering elements t... and u... are described. December 2005 release 
bulletExport to MADX, December 2005 release
bulletAverage beam positions can be monitored at multiple elements for multi-turn tracking, December 2005 release
bulletTo describe tracking in machines which parameters are changed fast (at every turn) special variable $_nturn is introduced. It is incremented  at each turn.
bulletImprovements of program stability and error diagnosis (December 2005 release)
bulletPlotting particle distribution functions resulting in tracking, Fixing minor bugs in reading data into graphical objects (January 09, 2006 release)
bulletImprovements in error reporting, plotting average beam position in tracking (February 2006 release)
bulletFixed a problem with tracking where the finite length of dipole edge was ignored; introduced a function generating random numbers with Gaussian distribution; fixed a program crashes when external file is called from a path exceeding 80 symbols (March 3, 2006 - release)
bulletFixed an error in computing emittance growth due SR (View integral menu). Introduced wake-field element. Made tracking available for no GUI mode (May 8, 2006 release)
bulletFixed a few errors in the error reporting. Extended functionality for OptiM file compression (Jan. 16, 2007)
bulletImproved fitting (see on-line help), correcting an error in computing trajectory for W-cavity (June 17, 2008).

4. Optics files  and other optics related files for Tevatron complex, 78 MB, status at March 12, 2004. (Tevatron.zip)

BPM Viewer

You can download BPM Viewer from BPMviewer.zip. To install it just unzip files and put them into appropriate directory.