Under construction
Using pyxcom
Once you have a working pyxcom installation you can decide wether to use the command line interface, the Qt graphical user interface, or the wxPython graphical user interface.
Pyxcom Text User Interface
While you are waiting for this page to be completed, you can discover the capabilities of pyxcom with the command:
pyxcom --help
The output should be something similar to what you can find in the following:
USAGE: pyxcom.py [OPTIONS] [ENERGIES]
OPTIONS:
-h, -?, --help: obtain help
--helpcol: show information about columns meaning
-Z: atomic number (default 29)
--mat NaCl: material (default None)
--range [Emin:Emax]: return results from minimum to maximum energy (1 keV step)
--columns [colN1,colN2,...]: select output columns (See below, default all columns)
--quiet: suppress outputs comments
--qt: starts the Qt graphical interface
--wx: starts the wxPython graphical interface
-v, --version: outputs version and exits
* If both -Z and --mat are given togehter the last one you typed is evaluated
ENERGIES:
You can insert how many energies as you want.
IMPORTANT: The energy unit is the keV
If no energies are provided the standard grid is provided
OUTPUT COLUMNS:
1 - Photon Energy (MeV)
2 - Coherent Scattering (cm2/g)
3 - Incoherent Scattering (cm2/g)
4 - Photoelectric Absorption (cm2/g)
5 - Pair Production In Nuclear Field (cm2/g)
6 - Pair Production In Electron Field (cm2/g)
7 - Total Attenuation With Coherent Scattering (cm2/g)
8 - Total Attenuation Without Coherent Scattering (cm2/g)
TODO:
- loading energy file
- documentation
Pyxcom Qt Graphical User Interface
Just start it with:
pyxcom --qt
Should be easy to understand the functionality.
Pyxcom wxPython Graphical User Interface
Just start it with:
pyxcom --wx
Should be easy to understand the functionality.
|