A standalone Windows application for Laser Induced Breakdown Spectroscopy (LIBS) data analysis. This tool allows users to import, adjust, and analyze LIBS data, offering functionalities such as spectrum adjustment, plotting, and elemental line identification using a built-in periodic table.
The application launches with a mode selector:
- Import Data: Load LIBS spectral data files.
- Adjust Spectrum: Normalize and smooth (Moving Average, Gaussian, Savitzky-Golay, Median, Wavelet).
- Adjust Plot: Customize plot appearance and axis settings.
- Search Element: Periodic table interface for elemental line identification.
- Export: Save plots and processed data.
- Spectrometer Control: Connect to an Ocean Optics USB4000 via python-seabreeze.
- Live View: Real-time spectrum display with configurable integration time and averaging.
- Hardware Trigger: Arm external edge trigger for laser-synchronized capture.
- Auto-Save: Automatic saving of triggered spectra with sample naming and shot counter.
- Send to Analysis: Hand off captured spectra directly to Analysis Mode (no disk I/O).
- Simulation Mode: Built-in simulated spectrometer for testing without hardware.
Note
python-seabreeze requires the spectrometer to use a WinUSB/libusb compatible driver rather than the default Ocean Optics driver.
If the device is not detected:
1 Install Zadig
2 Connect spectrometer
3 Select device from list
4 Replace driver with WinUSB
5 Restart software
Note: OceanView will not work while WinUSB is installed. Reinstall Ocean Optics drivers to restore vendor software.****
The software is provided as a standalone executable for Windows. No installation or prerequisites are required.
📥 Download the latest version here
Always get the latest version with bug fixes and new features from our GitHub releases.
- Clone the repository.
- Install the required libraries:
pip install -r requirements.txt - Run the application:
python main.py
-
Run the Software: Double-click the executable, or run
python main.pyfrom source. -
Choose a Mode: Select Analysis or Acquisition from the launcher.

-
Adjust and Analyze:
- 3.1 Visual Apearance: Use the 'Adjust Plot' tab to change the plot's visual apearance

- 3.2 Normalization: Use the 'Adjust Spectrum' tab to apply apply normalization fitlers
- 3.3 Peak Search: Use the 'Search Element' tab to search desired peaks. Select elements of interes by cliking in the periodic table, and select wanted ionization levels and peak database.

- 3.4 Final adjustments: Use the next tab to define an intensity treshold for peaks of itnerest and hide unlabel peaks.

- 3.1 Visual Apearance: Use the 'Adjust Plot' tab to change the plot's visual apearance
-
Export Results: Once satisfied, you can export your plots and adjusted data.
This project is currently in active development. If you have suggestions, feedback, or would like to contribute, please contact the author
I'd like to extend my gratitude to:
- Onteko Inc. for providing the resources that made the development of this software possible.
- Teresa Flores, Phd for her invaluable spectroscopy expertise, guidance throughout the project, and for conducting the essential experimentation that led to the development of the elemental databases.