+A  Click here to enlarge/reduce to/back from full screen 
Paul Scherrer Institut PSI LMU : Laboratory for Muon Spin Spectroscopy

PSI Home NUM Home LMU Home Contact Feedback



Updated:
14.01.2010
E-Mail: alex.amato@psi.ch


Printer Friendly Printout without Logo or Navigation Elements available here... just click and print

 

WKM software

The programme WKM, based on the CERN fitting library MINUIT and developed by Wolfgang Kopmann in Braunschweig, can be used to analyse time-spectra by fitting to various pre-defined signal types. 

It can perform single histograms fits, asymmetry fits or asymmetry fits in a rotating frame.

The programme is available at PSI on the AFS tree for the Linux Workstations.

In order to use the programme, the following points should be performed first:

  1. Convert the PSI-bin data files into WKM ASCII format.
    To perform that you should run the script /afs/psi.ch/user/a/amato/public/wkmconvert which should be self-explanatory.
  2. In your .bash_profile file some variables should be defined as follows
    export WKMFULLDATAPATH=/your_directory
    export WKMFULLTABPATH=/afs/psi.ch/project/nemu/analysis/WKM/TAB
    export PATH="$PATH:/afs/psi.ch/project/nemu
    /analysis/WKM/bin"
    where /your_directory  represent the directory where your WKM data files are located.
  3. Add the following lines in your  .emacs file
    ;;; setting load path for emacs lisp file wkm-mode.elc ;;;;;;;;;;;;;;;;;;
    (setq load-path (cons "/afs/psi.ch/project/nemu
    /analysis/WKM/lisp/" load-path))

    ;;; autoload wkm-mode with .msr files
    (setq auto-mode-alist (cons '("\\.msr\\'" . wkm-mode) auto-mode-alist))
    (autoload 'wkm-mode "wkm-mode")
  4. When loading a .msr file into emacs, the WKM options should now be available.

Help (in German) can be found here.

Two .msr files (single fit and asymmetry fit) and a WKM format data file can be found here .