Definition at line 25 of file iaea.py.
◆ __init__()
eb_tests.iaea.IAEAPhaseSpace.__init__ |
( |
|
self, |
|
|
|
path, |
|
|
|
mode = 'r' |
|
) |
| |
Set up access to an IAEA phase space file
Arguments:
path -- The path to the iaea phase space file
Keyword arguments:
mode -- 'r' for read, 'w' for read/write or 'a' for 'append' (default 'r')
Definition at line 31 of file iaea.py.
◆ _create_source()
eb_tests.iaea.IAEAPhaseSpace._create_source |
( |
|
self | ) |
|
|
protected |
◆ _set_path()
eb_tests.iaea.IAEAPhaseSpace._set_path |
( |
|
self, |
|
|
|
path |
|
) |
| |
|
protected |
◆ maximum_energy()
eb_tests.iaea.IAEAPhaseSpace.maximum_energy |
( |
|
self | ) |
|
Return maximum energy in this source in (MeV)
Definition at line 108 of file iaea.py.
◆ num_orig_particles()
eb_tests.iaea.IAEAPhaseSpace.num_orig_particles |
( |
|
self | ) |
|
Return max number of particles of type particle_type
Keyword arguments:
particle_type -- type or category of particle to check (default 'all')
Definition at line 88 of file iaea.py.
◆ num_particles()
eb_tests.iaea.IAEAPhaseSpace.num_particles |
( |
|
self, |
|
|
|
particle_type = 'all' |
|
) |
| |
Return max number of particles of type particle_type
Keyword arguments:
particle_type -- type or category of particle to check (default 'all')
Definition at line 61 of file iaea.py.
◆ source_id()
eb_tests.iaea.IAEAPhaseSpace.source_id |
( |
|
self | ) |
|
◆ _source_id
eb_tests.iaea.IAEAPhaseSpace._source_id |
|
protected |
◆ access
eb_tests.iaea.IAEAPhaseSpace.access |
◆ header_ext
str eb_tests.iaea.IAEAPhaseSpace.header_ext = '.IAEAheader' |
|
static |
◆ path
eb_tests.iaea.IAEAPhaseSpace.path |
◆ phsp_ext
str eb_tests.iaea.IAEAPhaseSpace.phsp_ext = '.IAEAphsp' |
|
static |
The documentation for this class was generated from the following file:
- /Users/marc/Developer/EGSnrc/HEN_HOUSE/user_codes/egs_brachy/egs_brachy/eb_tests/iaea.py