Quickstart#
We have two quickstarts, one for the GUI module, and one for the python API.
Once installed, let’s use the example data to perform a Kramers Kronig transform.
kkcalc is an object-oriented, typed library. The class structure is depicted below. Of note are the asf (atomic scattering factor) and asp_db_extended (atomic scattering polynomial database) classes, from which data loading and most Kramers-Kronig operations can be performed.

If you are keen to include kkcalc into your own python scripts, use a modern code editor that can intepret docstrings, such as VSCode or PyCharm to get hints as you code.