The IFR project is a data handling user interface for the FAR-IR beamline of the Canadian Light Source Inc.. The platform uses an in house method to remove interference fringes from OPUS FTIR spectroscopy data.
The Interference-Fringe-Removal functionality is accessible through a user interface that initializes by running the
IFR/main.py
script or by compiling and running as an executable.
A typical work flow should emulate the following pattern:
- Load sample and background data,
- Locate all fringes in the interferogram and select them by adding in their bounds to the "Fringe Localization" window,
- Using the "Fringe Select" window, check which fringes to remove,
- Select plotting preferences using the "Included Plots" and "Data Mode" controls,
- Increase the
Plot Point reduction Factor
for more efficient plotting, - Update the spectrograph plot by pressing the "Update Plot" button,
- Pan and zoom to the desired viewing window,
- Reduce the
Plot Point Reduction Factor
and press "Update Plot" to view the effects of fringe removal on your data, - Iterate steps 3 - 8 until satisfied with the resulting data,
- Select a zero filling factor, and
- Save the ackground single beam, sample single beam, absorbance, and transmittance spectral data as well as the removed fringe locations as
.dpt
files using the "Save Filtered Data" button.
The program assumes that the input OPUS (.0
) files have an interferogram data block that meets the requirements of being:
- Appropriatly Apodized,
- Phase Corrected,
- Single Sided, and
- Mono-Directional.
The inputted OPUS files must also contain a single beam spectral data block. Example OPUS data files can be seen in the IFR/data
folder.