kkcalc2.models#

This module is the main entry point for the models of the Kramers-Kronig Calculator.

It consists of the following submodules:
  • common: Contains the common material models used by the other models

  • factors: Contains the models for the atomic scattering factors (asf)

  • polynomials: Contains the models for polynomial respresentations of the asf.

  • conversions: A library of functions for the conversions between datatypes.

  • db_models: Contains the models for accessing and using the atomic scattering

    factor database.

Additionally, the database models are imported from the kkcalc2.asf_database.db_models module, for model completeness.

Modules

common

Classes for common attributes between atomic scattering factor and polynomial models.

db_models

A module for database models.

factors

'Atomic scattering factor' data models.

polynomials

'Piecewise polynomial' representation models of scattering factors.