kkcalc2.models.factors#

‘Atomic scattering factor’ data models.

Defines the types of data that can be used, and conversion between.

Classes

KK_ASF_DICT

Initialisation kwargs of the atomic scattering factor classes.

KK_Datatype(*values)

Enum for the type of data to be used in the Kramers-Kronig calculation.

asf(energies, factors[, origin_dtype, ...])

Generic class for handling atomic scattering factors.

asf_abstract(energies, factors, **kwargs)

Abstract implementation of the atomic scattering factor class.

asf_complex(re, im, **kwargs)

Container for a pair of atomic scattering factors, reflecting the real and imaginary parts.

asf_im(energies, factors[, origin_dtype, ...])

Identical to asf, but reserved for imaginary component factors.

asf_re(energies, factors[, origin_dtype, ...])

Identical to asf, but reserved for real component factors.