Metadata-Version: 2.4
Name: spectroview
Version: 26.48.1
Summary: SPECTROView: A Tool for Spectroscopic Data Processing and Visualization
Author-email: Van Hoan Le <van-hoan.le@cea.fr>
License-Expression: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/CEA-MetroCarac/SPECTROview
Keywords: SPECTROview,fit,fitting,spectra,spectrum,spectroscopic,visualization,Raman,Photoluminescence,wafer-data,2D-maps,data-analysis,MVVM,PySide6,Qt,hyperspectral-imaging
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Topic :: Scientific/Engineering :: Chemistry
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS :: MacOS X
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=2.0.2
Requires-Dist: pandas>=3.0.1
Requires-Dist: scipy>=1.17.1
Requires-Dist: matplotlib<3.10.9,>=3.8.0
Requires-Dist: openpyxl>=3.1.5
Requires-Dist: pyarrow>=15.0.0
Requires-Dist: pybaselines>=1.2.1
Requires-Dist: PySide6>=6.10.2
Requires-Dist: superqt>=0.7.8
Requires-Dist: pywin32>=306; platform_system == "Windows"
Requires-Dist: markdown>=3.6.0
Requires-Dist: certifi>=2026.10.23
Requires-Dist: openai>=1.0.0
Requires-Dist: anthropic>=0.30.0
Requires-Dist: ollama>=0.4.0
Requires-Dist: truststore>=0.9.0
Requires-Dist: mcp>=2.2.0
Requires-Dist: pyyaml>=6.0.1
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == "dev"
Requires-Dist: pytest-qt>=4.3.0; extra == "dev"
Requires-Dist: black; extra == "dev"
Requires-Dist: flake8; extra == "dev"
Provides-Extra: test
Requires-Dist: pytest>=8.0.0; extra == "test"
Requires-Dist: pytest-qt>=4.3.0; extra == "test"
Provides-Extra: standalone
Requires-Dist: velopack>=1.2.161; extra == "standalone"
Requires-Dist: pyinstaller>=6.10.0; extra == "standalone"
Dynamic: license-file

<p align="center">
    <img src="https://raw.githubusercontent.com/CEA-MetroCarac/SPECTROview/main/docs/assets/top_banner.png" alt="SPECTROview Banner" width="100%">
</p>

<p align="center">
    <a href="https://pypi.org/project/spectroview/"><img src="https://img.shields.io/pypi/v/spectroview.svg?color=blue&logo=pypi&logoColor=white" alt="PyPI version"></a>
    <a href="https://pypi.org/project/spectroview/"><img src="https://img.shields.io/pypi/pyversions/spectroview.svg?color=yellow&logo=python&logoColor=white" alt="Python Versions"></a>
    <a href="https://pypi.org/project/spectroview/"><img src="https://img.shields.io/pypi/dm/spectroview.svg?color=green&label=downloads" alt="Downloads"></a>
    <a href="https://github.com/CEA-MetroCarac/SPECTROview/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-GPL_v3-lightgrey.svg" alt="License: GPL v3"></a>
    <a href="https://CEA-MetroCarac.github.io/SPECTROview/"><img src="https://img.shields.io/badge/docs-latest-green.svg" alt="Docs"></a>
    <a href="https://github.com/CEA-MetroCarac/SPECTROview/stargazers"><img src="https://img.shields.io/github/stars/CEA-MetroCarac/SPECTROview?style=flat&logo=github&color=blue" alt="GitHub Stars"></a>
    <a href="https://github.com/CEA-MetroCarac/SPECTROview/issues"><img src="https://img.shields.io/github/issues/CEA-MetroCarac/SPECTROview?logo=github&color=blue" alt="GitHub Issues"></a>
    <a href="https://cea-metrocarac.github.io/SPECTROview/user_manual/installation/"><img src="https://img.shields.io/badge/platform-Windows%20%7C%20Linux%20%7C%20macOS-lightgrey" alt="Platform"></a>
    <a href="https://doi.org/10.1016/j.softx.2026.102862"><img src="https://img.shields.io/badge/DOI-10.1016%2Fj.softx.2026.102862-blue.svg" alt="DOI"></a>
    <a href="https://doi.org/10.1016/j.softx.2026.102862"><img src="https://img.shields.io/badge/Published_in-SoftwareX-orange" alt="SoftwareX"></a>
</p>

<h1 align="center">SPECTROview</h1>

<p align="center">
   A free, open-source software designed for advanced spectroscopic data analysis.<br>
    It supports discrete spectra and hyperspectral datasets such as 2D maps and wafer maps,<br>
    with integrated visualization tools that streamline your analytical workflow.
</p>

---

## ✨ Key Features

| Feature | Description |
|---|---|
| 🤖 **AI Chat Agent** | Talk to SPECTROview in plain language to filter data, run analyses, and create or customize multiple plots — powered by your own local (Ollama) or cloud LLM |
| 🔌 **Local MCP Server** | Opt-in localhost access to the running datasets, spectra, maps, fits, and graphs for external MCP clients |
| ⚡ **Vectorized Batch Fit Engine** | Ultra-fast fitting via batched matrix operations — simultaneously fit multiple spectra or large 2D maps |
| 🧩 **Custom Fit Models** | Build and reuse custom fit models tailored to your specific spectroscopic profiles |
| 📊 **Versatile Data Processing** | Seamlessly handle both 1D spectral data and 2D hyperspectral data |
| 📋 **Unified Results** | Collect and compile all best-fit results with a single click |
| 🎨 **Advanced Visualization** | Dedicated workspace for fast, publication-ready visualizations |
| 🖥️ **Optimized UI** | Designed for quick inspection, filtering, and comparison of large spectral datasets |

---

## 🎬 Demonstrations

<details open>
<summary><strong>📁 Dedicated workspaces for discrete spectra, hyperspectral data, and visualization</strong></summary>
<br>
<p align="center">
    <img src="https://raw.githubusercontent.com/CEA-MetroCarac/SPECTROview/main/docs/assets/overview.gif" alt="SPECTROview Overview" width="100%">
</p>
</details>

<details open>
<summary><strong>📐 Design custom fit models and simultaneously process multiple spectra</strong></summary>
<br>
<p align="center">
    <img src="https://raw.githubusercontent.com/CEA-MetroCarac/SPECTROview/main/docs/assets/fitting.gif" alt="Fitting Demo" width="100%">
</p>
</details>

<details open>
<summary><strong>📈 Rapidly generate publication-ready data visualizations</strong></summary>
<br>
<p align="center">
    <img src="https://raw.githubusercontent.com/CEA-MetroCarac/SPECTROview/main/docs/assets/graphs.gif" alt="Graphs Demo" width="100%">
</p>
</details>

---

## 🚀 Quick Start

**SPECTROview** is available as a **ready-to-use Desktop App** (no Python required) or as a **Python package**.

### Option 1: Desktop App (Recommended)

Download the installer for your system from [**GitHub Releases**](https://github.com/CEA-MetroCarac/SPECTROview/releases):

- **Windows**: `Setup.exe` *(standard installer with automatic updates)* or `Portable.zip` *(extract and run)*
- **macOS (Apple Silicon)**: `.dmg` for **Apple Silicon Macs (M1 or newer)** *(drag into Applications)*
- **Linux**: `.deb` *(Ubuntu / Debian)* or `.AppImage` *(single runnable file)*

👉 Follow the step-by-step [**Installation Guide**](https://cea-metrocarac.github.io/SPECTROview/user_manual/installation/) for first-launch tips (including macOS security prompt & Linux setup).

### Option 2: Python (`pip`, Python &ge; 3.12)

```bash
pip install spectroview
spectroview
```

See the [**Installation Guide**](https://cea-metrocarac.github.io/SPECTROview/user_manual/installation/) for upgrade commands, development builds, and troubleshooting.

---

## 📚 Documentation

Full documentation is available at [**CEA-MetroCarac.github.io/SPECTROview**](https://CEA-MetroCarac.github.io/SPECTROview/):

| Resource | Link |
|---|---|
| ⬇️ **Installation Guide** | [Desktop & Python setup](https://cea-metrocarac.github.io/SPECTROview/user_manual/installation/) (Windows, macOS, Linux & `pip`) |
| 📖 **User Manual** | [Online manual](https://cea-metrocarac.github.io/SPECTROview/user_manual/) (also accessible within the app) |
| 🛠️ **Developer Guide** | [Developer docs](https://cea-metrocarac.github.io/SPECTROview/developer/) |
| 📝 **Changelog** | [Release notes](https://github.com/CEA-MetroCarac/SPECTROview/releases) |
| 📂 **Examples** | [`/examples`](https://github.com/CEA-MetroCarac/SPECTROview/tree/main/examples) — sample datasets and supported formats |

---

## 🙏 Acknowledgements

This work was carried out at the CEA — Platform for Nanocharacterisation (PFNC) and supported by the "Recherche Technologique de Base" program of the French National Research Agency (ANR).

---

## 📄 Citation

If you use **SPECTROview** in your work, please cite:

> Le, Van Hoan. "SPECTROview: An Open-Source Application for Interactive Spectroscopic Data Processing, Fitting, and Visualization." *SoftwareX* 35 (September 2026): 102862. [https://doi.org/10.1016/j.softx.2026.102862](https://doi.org/10.1016/j.softx.2026.102862).

<details>
<summary><strong>BibTeX</strong></summary>

```bibtex
@article{le2026spectroview,
    title     = {SPECTROview: An Open-Source Application for Interactive
                 Spectroscopic Data Processing, Fitting, and Visualization},
    author    = {Le, Van Hoan},
    journal   = {SoftwareX},
    volume    = {35},
    pages     = {102862},
    year      = {2026},
    month     = sep,
    publisher = {Elsevier},
    doi       = {10.1016/j.softx.2026.102862}
}
```
</details>

---
