Metadata-Version: 2.4
Name: sedinconnect
Version: 3.2.0
Summary: Stand-alone sediment connectivity index (IC) assessment tool for catchments
Author-email: Stefano Crema <stefano.crema@irpi.cnr.it>, Marco Cavalli <marco.cavalli@irpi.cnr.it>
Maintainer-email: Stefano Crema <stefano.crema@irpi.cnr.it>
License: GPL-2.0-or-later
Project-URL: Homepage, https://github.com/HydrogeomorphologyTools/SedInConnect_3.2
Project-URL: Documentation, https://github.com/HydrogeomorphologyTools/SedInConnect_3.2#readme
Project-URL: Repository, https://github.com/HydrogeomorphologyTools/SedInConnect_3.2.git
Project-URL: Bug Tracker, https://github.com/HydrogeomorphologyTools/SedInConnect_3.2/issues
Keywords: sediment,connectivity,hydrology,geomorphology,dtm,cavalli,morpheus
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: GIS
Classifier: Topic :: Scientific/Engineering :: Hydrology
Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: numpy>=1.20
Requires-Dist: numba>=0.56
Requires-Dist: scipy>=1.8
Requires-Dist: matplotlib>=3.5
Requires-Dist: PyQt5>=5.15
Provides-Extra: gui
Requires-Dist: PyQt5>=5.15; extra == "gui"
Provides-Extra: all
Requires-Dist: PyQt5>=5.15; extra == "all"

# SedInConnect 3.2

**Stand-alone and programmatic Sediment Connectivity Index (IC) assessment tool for catchments.**

Developed at **CNR-IRPI Padova (Italy)** within the **MORPHEUS PRIN 2023-2026 Project**.

---

## 🚀 Installation

```bash
pip install sedinconnect
```

Or install directly from GitHub:
```bash
pip install git+https://github.com/HydrogeomorphologyTools/SedInConnect_3.2.git
```

---

## 💻 Python API Usage

```python
import sedinconnect as sic

# Compute sediment connectivity in a single line
ic_file = sic.compute_ic(
    dtm="path/to/dtmfel.tif",
    target="path/to/target.shp",
    output="path/to/output_ic.tif",
    window_size=3
)
print("Saved IC to:", ic_file)
```

---

## 🖥️ Command Line (CLI) Usage

```bash
sedinconnect --dtm "dtm.tif" --target "streams.shp" --output "ic.tif" --auto-weight --window-size 3
```

---

## 🎨 Graphical User Interface (GUI)

```bash
sedinconnect
```

---

## 📚 References
* Cavalli et al. (2013), *Geomorphology*, 188, 31-41.
* Borselli et al. (2008), *Catena*, 75(3), 268-277.
* Crema & Cavalli (2018), *Computers & Geosciences*, 111, 39-45.
