EGS Brachy
An egs++ user code for rapid brachytherapy calculations
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
utils.py File Reference

Go to the source code of this file.

Namespaces

namespace  eb_tests
 
namespace  eb_tests.utils
 

Functions

 eb_tests.utils.extract_all_doses (egslst)
 
 eb_tests.utils.values_close (a, b, max_percent_diff=0.001)
 
 eb_tests.utils.values_close_abs (a, b, max_diff=0.001)
 
 eb_tests.utils.read_csv_spectrum (fname)
 
 eb_tests.utils.doses_approx_equal (d1, d1_unc, d2, d2_unc, max_percent_diff=None, compare_unc=True, max_unc_percent_diff=None)
 
 eb_tests.utils.read3ddose (fname)
 
 eb_tests.utils.compare_3ddose_files (f1, f2, max_percent_diff=None)
 

Variables

str eb_tests.utils.REG_DOSE_UNC_RE = "\s+(\d)+\s+\d+\s+\d+\..*?\s+(.*?)\s+\+/-\s+(.*?)%\s+(.*?)\s+\+/-\s+(.*?)%"