Xray::...altout(3pm)

πŸ“¦
version 3.0.1 Β· 2 versions
  • 3.0.1 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 3.0.1 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’« cross_section πŸ’«

okay bestie, welcome to the Xray::...altout(3pm) page πŸ’– this lil guy lives in the User Contributed Perl Documentation, and it is so niche but so valid. let's get into it πŸ§ͺ✨

cross_section

example time, keep up 🫢

$xsec = Xray::Absorption -> cross_section($elem, $energy, $mode);

@xsec = Xray::Absorption -> cross_section($elem, \@energy, $mode);

the $mode argument is different here than it is for the other resources, okay? not like the others, main character energy πŸ‘‘

the options are:

  • "xsec"
  • "photo"
  • "coherent"
  • "incoherent"

and they tell this method to hand you back either the full cross-section, or just the photoelectric portion, or just the coherent portion, or just the incoherent portion. pick your fighter πŸ’…

the values for all cross-sections are computed as log-log polynomials, exactly as described in the original paper by Shaltout et al. no cap πŸ“ˆ


🌸 NAME 🌸

Xray::Absorption::Shaltout β€” it's a Perl interface to the Shaltout tables. that's it, that's the whole vibe πŸŽ€

✨ SYNOPSIS ✨

use Xray::Absorption;
Xray::Absorption -> load("shaltout");

if you want the full details, go read the documentation for Xray::Absorption β€” this page is just the Shaltout-flavoured side quest πŸ¦‹

πŸ’œ DESCRIPTION πŸ’œ

this module gets inherited by the Xray::Absorption module, and it gives you access to the data inside:

Update of photoelectric absorption coefficients in the tables of McMaster Abdallah Shaltout, Horst Ebel, and Robert Svagera X-Ray Spectrometry (2006) vol. 35, p. 52-56

so the data lives in a database file called shaltout.db πŸ“ and that file gets generated at install time from a flat text database of the data. where's the flat text version? it's over at http://www.ifp.tuwien.ac.at/forschung/abdallah.shaltout/, as explained in the reference. iconique 🌈

also, the required Chemistry::Elements module is available from CPAN, in the miscellaneous modules section. go get it, bestie πŸ›οΈ

πŸ¦‹ EDGE AND LINE ENERGIES πŸ¦‹

the Shaltout data resource includes all K, L, M, and N edges β€” but it does not provide any of the line energies. so, like, a minimal set of line energies gets imported from the McMaster data resource instead. borrowing from the neighbours, we love to see it πŸ™ˆπŸ’•

πŸ’€ BUGS AND THINGS TO DO πŸ’€

this module has not been tested sufficiently. so like... be careful out there, fr fr 😭

πŸ‘‘ AUTHOR πŸ‘‘


aaaand that's a wrap on the Xray::...altout(3pm) page πŸ’… this was perl v5.34.0, dated 2022-06-28, and it's a whole Xray::...altout(3pm) moment β€” stay hydrated, stay calibrated, slay πŸ«Άβœ¨πŸ“

πŸ“¦ where this page comes from