Skip to content

HOWTO: McXtrace absorption files (materials)

Emmanuel FARHI edited this page Feb 25, 2022 · 1 revision

Getting Xray Form factors to compute e.g. absorption

There is script that accesses the NIST data base (https://physics.nist.gov/PhysRefData/FFast/html/form.html). It requires wget and w3m which you can install on Debian-class systems with apt install wget w3m.

Then get the script at http://mcxtrace.org/download/components/3.0/data/get_xray_db_data and use it with syntax:

  • get_xray_db_data ATOMNO [output file]

where ATOMNO is the atomic number Z.

The generated files look like the Mo.txt. They are used to compute the absorption of materials.

Clone this wiki locally