Skip to content

A tool for visualizing and analyzing OPUS spectral data with temperature correlation and peak analysis.

License

Notifications You must be signed in to change notification settings

vadondaniel/opus-spectrum-visualizator

Repository files navigation

OPUS Visualizator

Python License Platform Last Commit

A tool for visualizing and analyzing OPUS spectral data with temperature correlation and peak analysis.


📦 Installation (End-User)

The easiest way to install is by using the prebuilt Windows installer.

1. Download the Installer

  1. Go to the Releases page on GitHub.
  2. Download the file named similar to: OpusSpectrumVisualizatorInstaller.exe

2. Install

  1. Double-click the downloaded .exe file.
  2. Follow the installation prompts.

3. Launch

Start the program from the Desktop Icon, Start Menu or search for Opus Spectrum Visualizator.


📚 Usage Guide

  1. Select the folder containing OPUS files.

  2. Select the .txt file containing temperature data.

  3. Start the processing.

  4. (Optional) Set absorbance range filter to filter out extremes or undesired intervals.

  5. Inspect or export processed spectra.

  6. For 3D visualization: set desired options, then click Plot 3D.

  7. For peak analysis: adjust parameters, then either

    • click Export as CSV to save results, or
    • click Peak Analysis to visualize directly.

🖼 Screenshots

Main Interface

Main UI

Spectral Data Visualization

3D Surface Plot

3D Visualization

3D Surface Plot

3D Scatter Plot

3D Scatter Plot

Peak Analysis

Peak Analysis


⚙️ Installation (Developer / Source Build)

If you want to run or modify the program from source, follow these steps:

1. Requirements

2. Clone or Download the Repository

Either clone using Git:

git clone https://github.com/vadondaniel/opus-spectrum-visualizator.git
cd opus-spectrum-visualizator

Or download the repository or a release as a ZIP from GitHub and extract it.

3. Run the Application

Launch with Python:

python main.pyw

(or just open the main.pyw file)

The program will automatically install missing dependencies on first run.

4. Build an Executable

(Optional) Create a standalone .exe using PyInstaller:

pyinstaller --onefile main.spec

The executable will appear in the /dist/ folder as main.exe

5. Build an Installer

(Optional) Using Inno Setup:

  1. Run pyinstaller main.spec.
  2. Open installer.iss in Inno Setup.
  3. Compile (Ctrl+F9).

The installer will appear in the /Output/ folder as OpusSpectrumVisualizatorInstaller.exe

Using a version installed with the installer starts considerably faster than a standalone executable file from step 4 above.


🛠 Libraries Used

  • PyQt6 – graphical interface
  • matplotlib – 2D & 3D plotting
  • pandas & numpy – data parsing and correlation
  • SpectroChemPy – OPUS file processing

📄 License & Attribution

This project uses read_opus.py by LCS – Laboratoire Catalyse et Spectrochimie, Caen, France, licensed under CeCILL-B.

  • You may use, modify, and distribute this software.
  • Attribution must be retained.
  • Provided "as-is" without warranty.

Original source: SpectroChemPy GitHub

About

A tool for visualizing and analyzing OPUS spectral data with temperature correlation and peak analysis.

Topics

Resources

License

Stars

Watchers

Forks