Framework
XMF is a framework for the X-ray mirror surface shape fitting, particularly in the context of convex and concave shapes.
![[mirror surfaces]](_images/mirror_surfaces.png)
Some typical X-ray mirror surfaces
It provides data analysis and visualization tools for fitting measurement data to various geometric shapes, including elliptic cylinders, hyperbolic cylinders, ellipsoids, and hyperboloids.
![[framework]](_images/framework.png)
X-ray mirror surface shape fitting framework (XMF)
The framework is composed of four main layers:
Layer 1: Standard shape from expressions. It contains the standard mathematical expressions of various off-axis mirror shapes.
Layer 2: Surface generation. It generates surface shapes in height or slope, by taking into account the rotation and translation of the shapes.
Layer 3: Optimization. It optimizes the user-selected fitting parameters.
Layer 4: Function wrapper. It offers convenient functions to fit measurement data for specific shapes.