PhotonAttenuation

版本 1.6.0.0 (325.5 KB) 作者: Jaroslaw Tuszynski
Provides the attenuation and energy absorption of x-ray and gamma-ray photons in various materials.
5.3K 次下载
更新时间 2016/3/17

查看许可证

Package PhotonAttenuation provides set of functions for modeling of photons (x-ray, gamma-ray, etc.), passing through different materials. The tools are based on attenuation and energy absorption coefficients of photons in various materials. The tables of absorption coefficients were copied from NIST and embedded in the MATLAB code.
Package consist of 4 functions:
PhotonAttenuation - the main function returning variuos physical quantaties for photons of various energies passing through different materials of different thickness
PhotonAttenuationQ - the helper function providing bare-bones access to NIST tables hardwired into the code. Simpler version of PhotonAttenuation function with much fiewer input and output options.

ParseChemicalFormula - converts many different styles of names used for elements, compounds and mixtures to uniform list of elements and their weight ratios.

PhysProps - provides physical properties (like ratio of atomic number to mass or density), needed by PhotonAttenuation function, for all elements and some selected compounds.

References:
Tables are based on "X-Ray Attenuation and Absorption for Materials of Dosimetric Interest" (XAAMDI) database (NIST 5632 report): J. Hubbell and S.M. Seltzer, "Tables of X-Ray Mass Attenuation Coefficients and Mass Energy-Absorption Coefficients 1 keV to 20 MeV for Elements Z = 1 to 92 and 48 Additional Substances of Dosimetric Interest, "National Institute of Standards and Technology report NISTIR 5632 (1995). http://physics.nist.gov/PhysRefData/XrayMassCoef/cover.html

MAC values for elements 93 to 100 (Neptunium to Fermium) came from XCOM: Photon Cross Sections Database (NBSIR 87-3597): Those tables give photon's "total attenuation coefficients" for elements with atomic number (Z) smaller than 100. Photon energy range is from 0.001 MeV to 100 GeV. http://physics.nist.gov/PhysRefData/Xcom/Text/XCOM.html

History:
Written by Jarek Tuszynski (SAIC), 2006
Inspired by John Schweppe Mathematica code available at http://library.wolfram.com/infocenter/MathSource/4267/

引用格式

Jaroslaw Tuszynski (2024). PhotonAttenuation (https://www.mathworks.com/matlabcentral/fileexchange/12092-photonattenuation), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Chemistry 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.6.0.0

corrected documentation: removed references to Compton Edges and replace them with absorption edges.

1.5.0.0

Improve error handling

1.4.0.0

small corrections and source code cleanup

1.3.0.0

minor corrections to functions and changes to the tutorial script

1.0.0.0

Fixed bug in ParseChemicalFormula.m file which affected compound's calculations.