pyRADDOSE-3D
Copyright (c) 2023-2026 Josh Dickerson and contributors

This product is a derivative work of RADDOSE-3D
(https://github.com/GarmanGroup/RADDOSE-3D), by the Garman Group at the
University of Oxford and contributors, which is licensed under the GNU
Affero General Public License version 3.

pyRADDOSE-3D is therefore distributed under the same licence. See LICENSE.

WHAT IS DERIVED

  Algorithms
      The dose calculation is a port, not an independent implementation.
      Absorption coefficients, beam profiles, crystal geometry, the voxel
      occupancy and depth tests, the exposure loop and the reported summary
      quantities all reproduce RADDOSE-3D's behaviour deliberately,
      including several of its known quirks, each marked in the source.

  Element data
      The element tables in src/pyraddose_3d/data/ -- elements.tsv,
      absorption_edges.tsv, cross_section_coefficients.tsv,
      fluorescence.tsv, edge_ratios.tsv, electron_ionisation.tsv and
      elsepa_elastic.tsv -- derive from RADDOSE-3D's
      constants/MuCalcConstants.txt, which holds Pathikrit Bandyopadhyay's
      parameterisation of the McMaster tables of X-ray cross-sections. The
      values are unmodified; only the layout differs. See
      tests/backend/data/build_element_tables.py and the README.
      Of the 22 subshell binding energies that table used to lack, which the
      MicroED engine reads, 20 come from the X-ray Data Booklet, Table 1-1
      (Lawrence Berkeley National Laboratory), and two, Al 3s and Cr 3d,
      from T. A. Carlson, Photoelectron and Auger Spectroscopy (Plenum,
      1975), as Geant4's G4AtomicShells tabulates them.

  Monte Carlo and XFEL tables
      src/pyraddose_3d/data/auger_transitions.tsv, fluorescence_transitions.tsv,
      overvoltage_low.tsv and overvoltage_high.tsv hold RADDOSE-3D's
      constants/auger_linewidths/, fl_linewidths/, low_overvoltage.csv and
      high_overvoltage.csv, values unmodified, gathered into four tables by
      tests/backend/data/build_monte_carlo_tables.py.

  ELSEPA electron angular tables
      packages/elsepa, the data package pyraddose-3d-elsepa, holds
      RADDOSE-3D's constants/below_20000/ and above_20000/, under the same
      names, each file xz-compressed and otherwise unmodified, with its
      SHA-256 in its directory's MANIFEST.tsv, by
      tests/backend/data/build_elsepa_package.py: differential cross-sections
      for the elastic scattering of electrons, computed with ELSEPA (Salvat,
      Jablonski and Powell, Comput. Phys. Commun. 165, 157-190 (2005)). The
      Monte Carlo and XFEL subprograms draw deflections from them.

  Photoelectron energy deposition
      src/pyraddose_3d/data/pe_energy_low.csv, pe_energy_medium.csv and
      pe_energy_high.csv are RADDOSE-3D's constants/EnergyCoefsLow.txt,
      EnergyCoefsMed.txt and EnergyCoefsHigh.txt, unmodified below a header
      saying so. Escape modelling reads them.

  ELSEPA electron cross-sections
      src/pyraddose_3d/data/elsepa_cross_sections.csv is RADDOSE-3D's
      constants/fullelsepa.csv, unmodified below a header saying so: ELSEPA
      elastic scattering cross-sections for electrons, for every element.
      The MicroED engine reads them.

  BEST intensity curve
      src/pyraddose_3d/data/best_intensity.tsv is the average intensity
      against resolution from the BEST program (Popov, A. N. and Bourenkov,
      G. P. (2003). Acta Cryst. D59, 1145-1153), copied verbatim from
      RADDOSE-3D's DDMLeal.java by tests/backend/data/build_best_table.py.
      The Leal et al. decay model integrates over it.

  NIST attenuation tables
      src/pyraddose_3d/data/nist_elements.tsv and nist_mixtures.tsv hold
      Hubbell and Seltzer's X-ray mass attenuation coefficients, NIST
      Standard Reference Database 126 (doi:10.18434/T4D01F), a US government
      work in the public domain. RADDOSE-3D downloads them on every run;
      they are vendored here, extracted with RADDOSE-3D's own parsing, by
      tests/backend/data/build_nist_tables.py.

  Residue and mesh tables
      src/pyraddose_3d/data/residues.tsv, sphere_mesh.tsv and
      cylinder_topology.tsv were dumped from RADDOSE-3D rather than
      transcribed. The generators are kept in tests/backend/data/.

  Example input files
      tests/data/raddose_txt/ holds the example .txt inputs that ship with
      RADDOSE-3D, copied unmodified, as test data for the .txt reader.
      docs/examples/inputs/insulin.txt is one of them, MyInput.txt, and
      docs/examples/inputs/microed.txt another, ED_input_cell.txt.

  Conformance corpus
      The reference values in tests/conformance/cases/*/expected/ were
      generated by running RADDOSE-3D itself.

CITATION

  Zeldin, O. B., Gerstel, M. and Garman, E. F. (2013). RADDOSE-3D: time- and
  space-resolved modelling of dose in macromolecular crystallography.
  J. Appl. Cryst. 46, 1225-1230. doi:10.1107/S0021889813011461
