kkcalc2.asf_database.db_loader#

The loading module for the atomic scattering factor database.

Loads the database from a json file created by the db_generator_script.py script. By default, the database file is expected to be in the same directory as this module. Can load a compressed gzip version of the database for smaller distribution size.

Functions

load_asf_database()

Load the atomic scattering factor database from a json file.

Classes

ASFElement

Atomic Scattering Factor data for a single element.