INSIGHT
In Situ Grazing-Incidence Scattering Heuristic Tool
Processing detector images for analyzing in-situ and in-operando GIWAXS and GISAXS data.
The corresponding publication can be found at [link](https://doi.org/10.1107/S1600576723011159).
Here you can find the link to an online executable Jupyter Notebook [demo](https://colab.research.google.com/drive/1OEjcewGFovH7DAzFtZtvwkVxSM2wG3mZ?usp=sharing).
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 a 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 INSIGHT 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. INSIGHT 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.
License information
INSIGHT: In Situ GIXS Heuristic Tool
Copyright (c) 2024 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