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

Functions

 expected (e)
 
 compare_results (egslst, inp_name)
 

Variables

str EGSINP = "spec_absolute.egsinp"
 
int TIME_LIMIT_S_PER_MHZ = 6/2993.
 
 EMIN
 
 EMAX
 

Detailed Description

A test for comparing the total absolute photon counts on the surface of a
source with the expected value. A uniform spectrum between 15keV-25keV in a
near-vaccuum source is used so the expected spectrum can easily be calculated
analytically.

Function Documentation

◆ compare_results()

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

Definition at line 25 of file test.py.

◆ expected()

eb_tests.spec_absolute.test.expected (   e)

Definition at line 20 of file test.py.

Variable Documentation

◆ EGSINP

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

Definition at line 15 of file test.py.

◆ EMAX

eb_tests.spec_absolute.test.EMAX

Definition at line 18 of file test.py.

◆ EMIN

eb_tests.spec_absolute.test.EMIN

Definition at line 18 of file test.py.

◆ TIME_LIMIT_S_PER_MHZ

int eb_tests.spec_absolute.test.TIME_LIMIT_S_PER_MHZ = 6/2993.

Definition at line 16 of file test.py.