Metadata-Version: 2.4
Name: hypmix
Version: 0.1.0
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
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: h5py (>=3.14.0,<4.0.0)
Requires-Dist: numpy (>=2.2,<3.0.0)
Requires-Dist: pyqt6 (>=6.10.0,<7.0.0)
Requires-Dist: rasterio (>=1.4.3,<2.0.0)
Requires-Dist: superqt (>=0.7.6,<0.8.0)
Requires-Dist: typing-extensions (>=4.14.1,<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)
```

