API Reference
Auto-generated documentation from source code docstrings.
| Module | Description |
|---|---|
| Models | Pydantic v2 data models (XPSSpectrum, XPSDataset, XPSSample, FitResult, etc.) |
| Data Loader | File parsing, format detection, spectrum structuring |
| Preprocessing | Binding energy calibration and normalization |
| Background Subtraction | Shirley, Tougaard, Linear background models |
| Peak Fitting | Voigt, Gaussian, Lorentzian deconvolution, spin-orbit doublets |
| Quantification | RSF-based atomic concentration calculation |
| Reference Data | Element database, photoelectron lines, peak identification |
| Export | CSV, Excel, and JSON serialization |
| Visualization | Matplotlib-based spectrum plotting |
| CLI | Command-line interface (Click) |