EGS Brachy
An egs++ user code for rapid brachytherapy calculations
Loading...
Searching...
No Matches
Functions | Variables
eb_tests.source_energies.test Namespace Reference

Functions

 compare_results (egslst, inp_name)
 

Variables

str EGSINP = "source_energies.egsinp"
 
int TIME_LIMIT_S_PER_MHZ = 2/2993.
 
dict expected_results
 

Detailed Description

A test to ensure initialized/escaping source/escaping geometry energy tallies
are consistent with previously calculated values.

Function Documentation

◆ compare_results()

eb_tests.source_energies.test.compare_results (   egslst,
  inp_name 
)

Definition at line 24 of file test.py.

Variable Documentation

◆ EGSINP

str eb_tests.source_energies.test.EGSINP = "source_energies.egsinp"

Definition at line 14 of file test.py.

◆ expected_results

dict eb_tests.source_energies.test.expected_results
Initial value:
1= {
2 'initialized': 1135.1,
3 'escaping_source': 898.8,
4 'escaping_geom': 702.01,
5}

Definition at line 17 of file test.py.

◆ TIME_LIMIT_S_PER_MHZ

int eb_tests.source_energies.test.TIME_LIMIT_S_PER_MHZ = 2/2993.

Definition at line 15 of file test.py.