mlgidBASE Documentation

Welcome to the mlgidBASE documentation!

mlgidBASE is a Python package for machine learning–driven analysis of grazing-incidence wide-angle X-ray scattering (GIWAXS) data. It provides a full workflow from peak detection to matching with known crystal structures.

mlgid

The package builds on the following components:

  • mlgidDETECT — for peak detection

  • pygidFIT — for two-dimensional peak fitting

  • mlgidMATCH — for matching experimental peaks to known structures

Key Features

Initialization

Can be created from a pygid.Conversion object or loaded directly from a NeXus file.

Methods

Provides functions for:

Visualization

Supports visualization at all stages of the analysis pipeline: Tutorial 6: Visualization.

Peak Adjustment

Includes functions to add or delete peaks, either interactively or programmatically: Tutorial 7: Operations with peaks.

Data Access

Enables retrieving analysis results from the NeXus file for further processing: Tutorial 8: Operations with saved data.