Skip to content

xaratustrah/pymirko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyMIRKO

Python tools for post processing of MIRKO results.

pymirko

####About

mirko is a fortran based powerful (albeit closed source) optics program developed by B.J. Franczak for designing particle accelerators and storage rings. This repository does not contain any source code for mirko or related projects. It only contains python tools for automatic execution and post processing of the calculation results. pymirko allows:

  • run mirko for arbitrary number of turns around the storage ring and get a single result
  • determine particle losses after decay due to aperture
  • determine hits on particle (pocket) detectors
  • Flexible graphical representation
  • easily adaptable for other tasks

Installation

The Java version of mirko, also known as jMirko is needed to be installed properly in order for pymirko to work. You need a working Java installation as well. Under OSX libjmirko.dylib must be available in one of the following places (Java library paths):

/Users/XXXX/Library/Java/Extensions
/Library/Java/Extensions
/Network/Library/Java/Extensions
/System/Library/Java/Extensions
/usr/lib/java
.

I personally choose the first one. You can create a run script and call it mirko with the following contents:

#!/bin/bash
java -jar /PATH/TO/jMirkoF90/jMirko/dist/jMirko.jar $1

Then you can give execution permission and put it in the path, e.g. in /opt/local/bin/.

References

  • B. Franczak, MIRKO - An Interactive Program for Beam Lines and Synchrotrons, Computing in Accelerator Design and Operation, Proceedings, Berlin 1983 LINK.
  • MIRKO page at GSI

About

Python tools for evaluation of MIRKO results

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages