Skip to content
Snippets Groups Projects

INSIGHT

In Situ Grazing-Incidence Scattering Heuristic Tool

Processing detector images for analyzing in-situ and in-operando GIWAXS and GISAXS data.

What INSIGHT can do

The package INSIGHT is built for easy, fast and highly customizable (batch) analysis for GIXS data. Customized Pythons scripts are easily created and multiple demo-files help the user to create the script they want.

The workflow includes batch-compatible transformation to q-space, extracting radial and azimuthal cuts, representing the data in publication-ready quality. GIWAXS simulation features have been added for indexing GIWAXS patterns.

INSIGHT is optimized for batch processing.

Features include:

  • transform images to reciprocal space
  • do tube-cuts, cake-cuts, pseudo XRDs, qr-qz reshapes, chi-q reshapes
  • 3D detector rotation possible for full flexibility
  • data-loss workflow possible
  • use fixed geometry or let them vary (e.g., SDD or inca changes)
  • applying masks, flatfield corrections, gap masks
  • intensity corrections include: angular pixel sensitivity, air attenuation, polarization
  • subtracting background
  • correcting tilt
  • removing hot pixel
  • investigating count distributions
  • image processing such as smoothing or upsampling
  • easy and beautiful plotting (also for SAXS)
  • saving files and plots
  • investigating and fitting isolated q-region
  • tracking the fitting parameters during evolution
  • SDD normalization for each image

And it does it all flexibly - you can decide whether to closely follow the steps interactively or do one-click analysis when all is set up.

Documentation

More information is available in the documentation file or the demo files.

Demo files

Multiple demo files are available to demonstrate the capabilities of INSGIHT and give users a starting point. The demo scripts can be easily extended and changed - and can be the base for your first INSIGHT script!

INSIGHT installation

INSIGHT can be installed via

pip install PATH

PATH is the full path to the tar or gz files on your local system.

Python version 3.8 or higher is recommended. INSGIHT is dependent on multiple packages that are installed automatically when calling pip. These include: numpy, pandas, matplotlib, lmfitL, fabio, scipy, datetime, scikit-image, astropy, fast-histogram, ipython, h5py, numba, pyqt5, numexpr, pathos.

Licence information

INSIGHT: In Situ GIXS Heuristic Tool

Copyright (c) 2021 Manuel A. Reus, Lennart K. Reb

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

For more information see the LICENCE.txt file or <https://www.gnu.org/licenses/>.

This program comes with ABSOLUTELY NO WARRANTY.

Contact information

mail: insight@ph.tum.de

Prof. Peter Müller-Buschbaum
Technical University of Munich
TUM School of Natural Sciences
Department of Physics
Chair for Functional Materials
James-Franck-Str. 1
85748 Garching
Germany