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

Functions

 get_n_highest_dose_pairs (dose1, dose2, n=NCOMPARE)
 
 compare_results (egslst, inp_name)
 

Variables

str EGSINP = "stepped.egsinp"
 
int TIME_LIMIT_S_PER_MHZ = 1000/2993.
 
int NCOMPARE = 20
 

Detailed Description

A test for comparing the dose from a "stepped source" (i.e. superposition mode
with variable activity) with previous calculations made when egs_brachy was in
a known good state.

Function Documentation

◆ compare_results()

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

Definition at line 22 of file test.py.

◆ get_n_highest_dose_pairs()

eb_tests.stepped_source.test.get_n_highest_dose_pairs (   dose1,
  dose2,
  n = NCOMPARE 
)

Definition at line 19 of file test.py.

Variable Documentation

◆ EGSINP

str eb_tests.stepped_source.test.EGSINP = "stepped.egsinp"

Definition at line 15 of file test.py.

◆ NCOMPARE

int eb_tests.stepped_source.test.NCOMPARE = 20

Definition at line 17 of file test.py.

◆ TIME_LIMIT_S_PER_MHZ

int eb_tests.stepped_source.test.TIME_LIMIT_S_PER_MHZ = 1000/2993.

Definition at line 16 of file test.py.