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

Functions

 compare_results (egslst, inp_name)
 

Variables

str EGSINP = "simple_dose_sph.egsinp"
 
int TIME_LIMIT_S_PER_MHZ = 22/2993.
 
dict expected_doses
 

Detailed Description

A very simple dose calculation in a spherical phantom with multiple media. The
simple geometry allows a fast calculation with high precision for comparing
against a previously calculated dose.

Function Documentation

◆ compare_results()

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

Definition at line 35 of file test.py.

Variable Documentation

◆ EGSINP

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

Definition at line 14 of file test.py.

◆ expected_doses

dict eb_tests.simple_dose_sph.test.expected_doses
Initial value:
1= {
2 "tlen": [
3 (5.219E-12, 0.0004),
4 (1.117E-12, 0.0002),
5 (4.292E-13, 0.0002),
6 (2.126E-13, 0.0002),
7 (1.332E-13, 0.0001),
8 ],
9 "edep": [
10 (5.212E-12, 0.0073),
11 ]
12}

Definition at line 20 of file test.py.

◆ TIME_LIMIT_S_PER_MHZ

int eb_tests.simple_dose_sph.test.TIME_LIMIT_S_PER_MHZ = 22/2993.

Definition at line 15 of file test.py.