X‐ray optical analyses with x‐ray absorption package (XRAP)

XRAP is a computer code developed for analysis of optical elements in synchrotron radiation facilities that can generate BM (bending magnet) and ID (insertion device) spectra and calculate their absorption in media, such as variable thickness windows/filters and crystals, and provide a finite difference engine for fast but sophisticated thermal and stress analyses for optical elements, such as filters and windows. After a thermal stress analyses, XRAP performs a buckling check. For complex geometries, an interface is provided directly to a finite element code. XRAP features a user‐friendly graphical interface that is based on the X‐window system.