EGS Brachy
An egs++ user code for rapid brachytherapy calculations
Loading...
Searching...
No Matches
tests

egs_brachy Test Suite

The current list of tests available in the egs_brachy test suite

Brem Cyl

Test Directory: eb_tests/brem_cyl

A test for ensuring x-ray sources mode is working. The test consists of a 1cm^2 beam of electrons incident on a thin cylindrical disc with dose being calculated in cylindrical slabs behind the target. The egs_brachy energy deposition doses are compared with values calculated by dosrznrc.

Flu Cutoff

Test Directory: eb_tests/flu_cutoff

A test for ensuring that the fluorescent photon cutoff works. A monoenergetic source of 0.015keV is placed within a thin Ti sphere and photon counts are scored on the outer surface of the sphere. Normally there would be a fluorescent peak at ~4.5keV so when the fluorescent photon cutoff setting is set to 0.005 MeV that peak should not be present.

Two energy bins from 0-10keV and 10-20keV are used. If fluorescent photon cutoff feature is working correctly 100% of photons should be in the 10-20keV range.

Phsp Run

Test Directory: eb_tests/phsp_run

A test to compare a dose calculation using a phsp source with the equivalent ab-initio simulation.

Phsp Scoring

Test Directory: eb_tests/phsp_scoring

A test that generates an IAEAphsp source with egs_brachy and then checks the IAEA file to make sure it was created correctly.

Recycling

Test Directory: eb_tests/recycling

A test for ensuring doses calculated with recycling turned on are the same as doses without recycling.

Scatter

Test Directory: eb_tests/scatter

A test for comparing egs_brachy scatter dose calculations for an Ir192 sources with previously calculated values when egs_brachy was in a known good state.

Seeds In Xyz

Test Directory: eb_tests/seeds_in_xyz

A test for comparing dose calculated by egs_brachy in a simple rectilinear phantom containing multiple 6702 sources (some of which are rotated/translated). The calculated dose is compared with dose values calculated when egs_brachy was in a known good state.

Seeds In Xyz Genvelope

Test Directory: eb_tests/seeds_in_xyz_genvelope

Same as tests/seeds_in_xyz except using a regular egs_genvelope instead of an autoenvelope.

Simple Dose Sph

Test Directory: eb_tests/simple_dose_sph

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.

Single Generator

Test Directory: eb_tests/single_generator

This test ensures the 'single generator=no' and 'single_generator=yes' options give the same results.

Gold standard dose distribution was generated with egs_brachy and multiple_generator.egsinp

Source Energies

Test Directory: eb_tests/source_energies

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

Spec Absolute

Test Directory: eb_tests/spec_absolute

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.

Spec Eflu

Test Directory: eb_tests/spec_eflu

A test for comparing the calculated energy fluence spectrum 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.

Spec Vox

Test Directory: eb_tests/spec_vox

A test for comparing the calculated energy fluence spectrum in a phantom region with the expected value. A uniform spectrum between 15keV-25keV in a near-vaccuum geometry is used so the expected spectrum can easily be calculated analytically.

Stepped Source

Test Directory: eb_tests/stepped_source

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.

Tg43Mode

Test Directory: eb_tests/tg43mode

A test to ensure egs_brachy superposition mode calculations match previous calculations when egs_brachy was in a known good state.

Tg43Mode Recycle

Test Directory: eb_tests/tg43mode_recycle

A test to ensure superposition mode calculations with recycling turned on result in the same dose as superposition mode calculations without recycling.

Tg43Mode Zeroweight

Test Directory: eb_tests/tg43mode_zeroweight

A test to ensure superposition mode calculations work when a source has zero weighting.

Gold standard dose distribution was generated with egs_brachy and gold_standard.egsinp

Variable Activity

Test Directory: eb_tests/variable_activity

A test for comparing the dose from sources with different source weighting with calculations from when egs_brachy was in a known good state.

Variable W Recycling

Test Directory: eb_tests/variable_w_recycling

A test for comparing the dose from sources with different source weighting and recyling on with calculations from when egs_brachy was in a known good state.

Gold standard dose distribution was generated with egs_brachy and gold_standard.egsinp

Volume Correction

Test Directory: eb_tests/volume_correction

A test of the egs_brachy Monte Carlo volume correction routines. The volume of phantom voxels overlapped by sources and other phantoms are calculated by egs_brachy and compared with analytical values.