Metadata-Version: 2.4
Name: uniovi-simur-wearablepermed-pipeline
Version: 1.20.0
Summary: Uniovi Simur WearablePerMed Pipeline.
Home-page: https://github.com/SiMuR-UO/uniovi-simur-wearablepermed-pipeline.git
Author: 'Miguel Angel Salinas Gancedo, Alejandro Castellanos Alonso, Antonio Miguel López Rodriguez'
Author-email: 'uo34525@uniovi.es, uo265351@uniovi.es, amlopez@uniovi.es'
License: MIT
Project-URL: Documentation, https://pyscaffold.org/
Project-URL: Source, https://github.com/SiMuR-UO/uniovi-simur-wearablepermed-pipeline
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
License-File: LICENSE.txt
Requires-Dist: importlib-metadata; python_version < "3.8"
Requires-Dist: build==1.3.0
Requires-Dist: cachetools==6.2.0
Requires-Dist: chardet==5.2.0
Requires-Dist: colorama==0.4.6
Requires-Dist: contourpy==1.3.3
Requires-Dist: cycler==0.12.1
Requires-Dist: distlib==0.4.0
Requires-Dist: et_xmlfile==2.0.0
Requires-Dist: filelock==3.19.1
Requires-Dist: fonttools==4.60.0
Requires-Dist: kiwisolver==1.4.9
Requires-Dist: matplotlib==3.10.6
Requires-Dist: numpy==2.3.3
Requires-Dist: openpyxl==3.1.5
Requires-Dist: packaging==25.0
Requires-Dist: pandas==2.3.2
Requires-Dist: patsy==1.0.1
Requires-Dist: pillow==11.3.0
Requires-Dist: platformdirs==4.4.0
Requires-Dist: pluggy==1.6.0
Requires-Dist: pyparsing==3.2.4
Requires-Dist: pyproject-api==1.9.1
Requires-Dist: pyproject_hooks==1.2.0
Requires-Dist: python-dateutil==2.9.0.post0
Requires-Dist: pytz==2025.2
Requires-Dist: scipy==1.16.2
Requires-Dist: setuptools==80.9.0
Requires-Dist: setuptools-scm==9.2.0
Requires-Dist: six==1.17.0
Requires-Dist: statsmodels==0.14.5
Requires-Dist: tox==4.30.2
Requires-Dist: tzdata==2025.2
Requires-Dist: uniovi-simur-wearablepermed-utils==1.31.0
Requires-Dist: virtualenv==20.34.0
Requires-Dist: wheel==0.45.1
Provides-Extra: testing
Requires-Dist: setuptools; extra == "testing"
Requires-Dist: pytest; extra == "testing"
Requires-Dist: pytest-cov; extra == "testing"
Dynamic: license-file

<!-- These are examples of badges you might want to add to your README:
     please update the URLs accordingly

[![Built Status](https://api.cirrus-ci.com/github/<USER>/uniovi-simur-wearablepermed-pipeline.svg?branch=main)](https://cirrus-ci.com/github/<USER>/uniovi-simur-wearablepermed-pipeline)
[![ReadTheDocs](https://readthedocs.org/projects/uniovi-simur-wearablepermed-pipeline/badge/?version=latest)](https://uniovi-simur-wearablepermed-pipeline.readthedocs.io/en/stable/)
[![Coveralls](https://img.shields.io/coveralls/github/<USER>/uniovi-simur-wearablepermed-pipeline/main.svg)](https://coveralls.io/r/<USER>/uniovi-simur-wearablepermed-pipeline)
[![PyPI-Server](https://img.shields.io/pypi/v/uniovi-simur-wearablepermed-pipeline.svg)](https://pypi.org/project/uniovi-simur-wearablepermed-pipeline/)
[![Conda-Forge](https://img.shields.io/conda/vn/conda-forge/uniovi-simur-wearablepermed-pipeline.svg)](https://anaconda.org/conda-forge/uniovi-simur-wearablepermed-pipeline)
[![Monthly Downloads](https://pepy.tech/badge/uniovi-simur-wearablepermed-pipeline/month)](https://pepy.tech/project/uniovi-simur-wearablepermed-pipeline)
[![Twitter](https://img.shields.io/twitter/url/http/shields.io.svg?style=social&label=Twitter)](https://twitter.com/uniovi-simur-wearablepermed-pipeline)
-->

[![Project generated with PyScaffold](https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold)](https://pyscaffold.org/)

# Description

> Uniovi Simur WearablePerMed Pipeline.

## Schaffolding
Execute PyScaffold command to create the project:
```
$ putup --markdown uniovi-simur-wearablepermed-pipeline -p wearablepermed_pipeline \
     -d "Uniovi Simur WearablePerMed Pipeline." \
     -u https://github.com/SiMuR-UO/uniovi-simur-wearablepermed-pipeline.git 
```

Create a virtual environment inside for your project and active it:
```
$ python3 -m venv .venv
$ source .venv/bin/activate
```

Install and upgrade tox automation project manager:
```
$ pip install --upgrade tox
```

Install and upgrade project modules:
```
$ pip install -U pandas uniovi-simur-wearablepermed-utils
```

## Code and Debugging

Install library modules:
```
$ pip install -r requirements.txt
```

Install module locally for debugg
```
$ pip install -e .
```

Update project requirements:
```
$ pip freeze > requirements.txt
```

If you want upgrade the pipeline library to the last **uniovi-simur-wearablepermed-utils** you must execute this command (two times):

```
$ pip install uniovi-simur-wearablepermed-utils --upgrade
```

## Project management

Project commands for: test, clean, build, generate documentation or publish your library in pypi repository.
Don't forget update the version library from **setup.cfg** project build file

```
$ tox
$ tox -e clean
$ tox -e build
$ tox -e docs
$ tox -e publish -- --repository pypi
```

## Testing

Execute one pipeline from this command:
```
python3 main.py \
    --verbose \
    --execute-steps 2,3,4,5,6 \
    --dataset-folder /home/miguel/git/uniovi/simur/uniovi-simur-wearablepermed-utils/data/input \
    --participants-missing-file /home/miguel/temp/wearablepermed_pipeline/missing_end_datetimes.csv \
    --crop-columns 1:7 \
    --window-size 250 \
    --window-overlapping-percent 50 \
    --ml-models ESANN,RandomForest \
    --ml-sensors thigh,hip,wrist \
    --output-case-folder /home/miguel/git/uniovi/simur/uniovi-simur-wearablepermed-utils/data/output \
    --case-id case_sample
```

<!-- pyscaffold-notes -->

## Note

This project has been set up using PyScaffold 4.6. For details and usage
information on PyScaffold see https://pyscaffold.org/.
