Utils for automatic testing of ADDA by running equivalent command line combinations and comparing the output. Currently, it contains only a few tests, but should be further developed into a general framework (similar to tests/comp2exec
).
bb_equiv.py
- tests for Bessel beams. Relative differences are shown when > 1e-08. See results in bb_results.txtcommon.sh
- common parts used by other Bash scripts (should be scripted rather than run)ext_CD.py
- tests for calculation of Cext for various polarizations (including circular dichroism) through the amplitude matrix at forward direction. Compares this with direct simulations for circular polarizations, either by combining linear ones or through plane-wave limit of Bessel beams.helix.dat
- helix shape for testext_CD.py
onion.sh
- tests for onion and onion_ell (multilayered sphere and ellipsoid) shapessuperellipsoid.sh
- test for superellipsoid shape