USAXS instrument data reduction
These are tools for data reduction of USAXS instrument at 12ID-E beamline. There are two options now (2026-04-26). Igor Pro based Indra and Python Matilda.
Igor Pro = Indra (+Nika)
Data reduction package “Indra” is set of macros for Igor Pro 9.x and 10.x from Wavemetrics. Inc. Note, that Indra also requires (for SAXS and WAXS) Nika installed.
Python = Matilda (BETA release)
Matilda is Python tool used at the beamline for automatic data reduction during experiments. Matilda provides two GUI tools - matilda-gui for data reduction and matilda-sample-plates for prepatration of positions of samples on our plates for data collection. Note, that Matilda is in BETA version without regular version tracking yet. Installation instructions. Matilda installs relatively significant dependencies (like pyFAI) to be able to reduce USAXS as well as SAXS and WAXS and uses conda to handle environment. Matilda has been tested on macOS, Windows, and Linux systems. Do not use unless you are experienced in Python use!
Note, that similarly to pyIrena, Matilda is file based and it appends reduced data in NXcanSAS format to original HDF5 NXsas files from our instrument. These Matilda reduced data can be then used directly in pyIrena, sasView or other tools which can use NXcanSAS data - or it can be imported easily in Igor Pro using Indra for Irena use.
Report any issues with it.
Current Indra version : 2.02 released 6/27/2025
Current Indra beta version : 2.05 released 1/6/2026
USAXS users with data from 2025-03 will benefit from January2026 beta version. Read links below.
To install:
For Igor 9.x, 10 GitHub installer & install Indra/Irena/Nika packages.
YouTube Movie instructions. Reducing USAXS fly scan data as well as SAXS and WAXS and merging them together.
Starting with version 1.40 these macros support also Osmic/Rigaku desktop USAXS instrument data. Actually, I support their "new" data format they provided to me on 4/1/2006. The old data format should work with limitations. I do not plan to add any better support of the old data format, since it is very unstable and varies from installation to installation. Request update of instrument software from them. Please note, that I have no relationship with Osmic/Rigaku. I support the data from this instrument only on as-is basis and with no warrantees to functionality of my software and results. I will provide bug fixing and user support related to my macros only on limited basis. I have no experience with Osmic/Rigaku instrument and I am not in any way responsible or related to support of their instrumentation.
Macros modification: While users are welcome to customize the macros for their own use, I do not suggest extensive modifications. I am open for suggestions for modifications and updates of these macros by myself. Especially if I find such modification useful for wider range of users, I’ll be happy to modify macros in any useful manner. I strongly urge anyone interested in other/different use of these macros to contact me and I will try to provide at least guidance and help for successful project.
Bugs reporting: Please send as complete description of the problem as you can to [email protected]. Please, if at all possible attach the Igor file in question, saved immediately after the problem occurred. Include release number of Indra 2 macros which you are using (suggestion: try updating the macros to last released version before reporting bug, may be t was removed in the mean time). Include as complete list of steps, as possible, which lead to the problem.
Help: I generally provide help to users. As long as the help requests do not overload me, I will continue to do so. However, it would be really nice if you could first read the manual, if things do not work – may be the answer is in the manual.
If you have any questions e-mail: [email protected]
