Metadata-Version: 2.4
Name: hypmix
Version: 0.2.2
Summary: A Hyperspectral Linear Mixture anlysis code for python.
License-File: LICENSE
Author: Z.M. Vig
Author-email: zvig@umd.edu
Requires-Python: >=3.13, <3.15
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: cmap (>=0.6.2,<0.7.0)
Requires-Dist: h5py (>=3.14.0,<4.0.0)
Requires-Dist: numpy (>=2.2,<3.0.0)
Requires-Dist: pyqtgraph (>=0.14.0,<0.15.0)
Requires-Dist: pyside6 (>=6.10.1,<7.0.0)
Requires-Dist: rasterio (>=1.4.3,<2.0.0)
Requires-Dist: spectralio (>=0.1.7,<0.2.0)
Requires-Dist: typing-extensions (>=4.15.0,<5.0.0)
Description-Content-Type: text/markdown

# hypmix
Hyperspectral Unmixing Library for Python

## Installation

```bash
pip install hypmix
```

## Usage
```python
import hypmix

em_list = []
for data, wvl in zip(spectrum_list, wvl_list):
    spec=hypmix.Spectrum(data, wvl)
    em_list.append(hypmix.EndMember("endmember1", spec))

model = hypmix.MixtureModel(em_list, data_cube)
model.add_virtual_shade()

res = model.run("save/path/results.hdf5", "model_name")
hypmix.save_model_result(res)
```

## MixView GUI
![Image of a Graphical User Interface](./src/hypmix/resources/images/gui_example.png)

