API Reference
=============

.. toctree::
   :maxdepth: 2

   xpcs_toolkit
   cli
   fileio
   modules
   simplemask
   plotting
   threading
   utils
   constants
   gui

Core Components
---------------

- **XpcsFile**: Data container and analysis
- **CLI**: Command-line interface for batch processing
- **Analysis Modules**: G2 correlation, SAXS analysis, two-time correlation
- **SimpleMask**: Mask editing and Q-map generation
- **File I/O**: HDF5 reading and Q-space mapping
- **Constants**: Application-wide configuration values
- **GUI**: PySide6 interactive visualization
- **Utils**: Threading, memory management, optimization
