This app can be used to broaden spectra, or to simply smooth any data by applying a filter function. The filter function can be Gaussian or Lorentzian. Applying a filter function can be particularly useful to broaden spikes in a spectrum.
Download SpecBroaden.opx file, and then drag-and-drop onto the Origin workspace. An icon will appear in the Apps Gallery window.
NOTE: This tool requires OriginPro.
- Make a worksheet or a graph with the input data active. Click the Spectral Broadening icon in the Apps Gallery window.
- In the dialog, select XY data from the worksheet or the active plot in the graph as Input Data.
A value will be displayed for Sampling Interval, calculated according to your X data.
You can uncheck the Auto check box and specify a value if you don't want to use the calculated value.
- In Filter Settings branch, choose a filter function in Function drop-down list.
Two functions are available: Gaussian and Lorentzian.
Specify a value for Cutoff Frequency.
The filter is low pass, and the cut off frequency is the frequency at which the filter function is equal to half of its maximum value.
The cutoff frequency is half of the filter function's FWHM. And the cutoff frequency should be less than half of the sampling frequency.
- Click the Preview button to display the filtered curve in the right side panel.
Click the OK button to close dialog and create the filtered data output.
This tool requires x data to be evenly spaced.
If it is not, a warning message will be displayed at the bottom of the dialog.
Precision error may cause non-uniform x. You can ignore the warning message caused by this error.