Ptolmey GUI

From FSU Fox's Lab Wiki
Revision as of 14:19, 5 November 2024 by Rtang (talk | contribs) (→‎CERN ROOT Qt4)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Screenshot of Ptolmey GUI

The Code Download here is a wrapper for DWBA calculation using Ptolemy, developed by M. H.. Macfarlane and Steven C. Piper. This simpler the input by using global potentials. An input for a reaction reduced to a single line as

#reaction    gs-spin  orbital  spin-pi(Ex)  Ex      ELab        Potentials
11C(d,p)12C    3/2-    0p1/2   2+           4.4     10MeV/u     AK

Interface

There are two interfaces avalible, one is using CERN ROOT with Qt4 (which is legacy), another is based on python Qt6 (prefered).

CERN ROOT Qt4

This developed like on 2018 together with the HELIOS analysis packages, the code is written by C/C++. There are 5 elements

  1. InFileCreator.h -- for creating the inFile used by Ptolemy
    1. Isotope.h -- for reading the mass table
    2. potential.h -- for the global optical potentials
  2. ExtractXSec.h -- for extracting the Xsec distribution, saved it into txt file and root file.
  3. PlotTGraphTObject.h -- for plotting the distributions stored in the root file

Python Qt6

This is recently developed on 2024, Nov. This code only use the Isotopes.h, potential.h and inFileCreator.h. The Xsec extraction and plotting are pure python.

In addition, it can ask IAEA for excitation and plot the Ex levels.

MAC OS support

using Docker, see the install_ptolmey_mac.txt inside the Cleopatra