update READMe.md
This commit is contained in:
parent
0fda76bed9
commit
2cf3d397bb
|
@ -3,7 +3,7 @@
|
|||
|
||||
Do it as your own risk. If you have other pyQt project, I highly NOT recommand.
|
||||
|
||||
>python3 -m pip install --break-system-package PyQt6 PyQt6-WebEngine Plotly
|
||||
>python3 -m pip install --break-system-package PyQt6 PyQt6-WebEngine Plotly pandas matplotlib
|
||||
|
||||
# Use Python Virtual Enviroment
|
||||
|
||||
|
@ -23,4 +23,10 @@ To deactivate the virtual enviroment
|
|||
>deactivate
|
||||
|
||||
To remove the virtual enviroment, simply remove the folder
|
||||
>rm -rf ptolemyGUI
|
||||
>rm -rf ptolemyGUI
|
||||
|
||||
# program structure
|
||||
|
||||
the python script use the __Cleopatra/inFileCreator__ to generate the infile for ptolmey, and run the ptolmey, and use the ExtractXsecPy.py to output Xsec.txt. After that, the read_data() in __MatPlotLinWindow__ will read the Xsec.txt file and plot using MatPlotLib.
|
||||
|
||||
There is a side program to get isotopes excitation energies from IAEA and plot the energy levels using Plotly.
|
||||
|
|
29
README.md
29
README.md
|
@ -4,27 +4,38 @@ This is a wrapper for Ptolemy DWBA calcalation using GUI from CERN ROOT.
|
|||
|
||||
The Ptolemy reference is M. H. Macfarlane and S. C. Pieper, ANL-76-11 Rev. 1, Argonne National Laboratory, 1978.
|
||||
|
||||
The core program (ptolemy) only works in Linux
|
||||
The core program (ptolemy) only works in Linux. For Mac OS, a docker container is avalible. See the __Cleopatra/install_ptolemy_mac.txt__
|
||||
|
||||
# Usage:
|
||||
# Two versions
|
||||
|
||||
in the working directory, run PtolemyGUI
|
||||
## CERN ROOT
|
||||
|
||||
in the __working__ directory, run
|
||||
>./PtolemyGUI
|
||||
|
||||
Actually the program can run anywhere. It will copy the DWBA file to the present directory.
|
||||
|
||||
## Python
|
||||
|
||||
in the __PyGUIQt6__ directory, run
|
||||
>./PtolemyGUIPy.py
|
||||
|
||||
This program does not work on any where
|
||||
|
||||
# output:
|
||||
|
||||
1. DWBA.in, this is the input file for the ptolmey
|
||||
2. DWBA.output, this is the output file for the ptolmey
|
||||
3. DWBA.Ex.txt, this is the excitation energy
|
||||
4. DWBA.Xsec.txt, this is the angular distribution in txt format
|
||||
3. DWBA.Xsec.txt, this is the angular distribution in txt format
|
||||
|
||||
the following will be generated by the CERn ROOT version
|
||||
|
||||
4. DWBA.Ex.txt, this is the excitation energy
|
||||
5. DWBA.root, this is a root file contains the DWBA angular distribution in TGraph
|
||||
|
||||
# program structure
|
||||
|
||||
The GUI is a simple CERN ROOT GUI.
|
||||
It reads the DWBA file, creates the DWBA.in with the InfileCreator.h, run the ptolemy, read the DWBA.out with the ExtractXsec.h, save the result in DWBA.Ex.txt and DWBA.root, and then use the PlotTGraphTObjArray.h to plot in root.
|
||||
|
||||
It read the DWBA file, creates the DWBA.in with the InfileCreator.h, run the ptolemy, read the DWBA.out with the ExtractXsec.h, save the result in DWBA.Ex.txt and DWBA.root, and then use the PlotTGraphTObjArray.h to plot in root.
|
||||
|
||||
The optical potentials are stored in the Cleopatra/potentials.h
|
||||
The optical potentials are stored in the __Cleopatra/potentials.h__
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user