misc/py-detecta: New port: Library to detect events in data

This commit is contained in:
Yuri Victorovich 2022-12-27 13:10:04 -08:00
parent 8e26ebd0d3
commit 11cd9ddf54
4 changed files with 37 additions and 0 deletions

View File

@ -383,6 +383,7 @@
SUBDIR += py-colorbrewer
SUBDIR += py-colored
SUBDIR += py-crudini
SUBDIR += py-detecta
SUBDIR += py-dictdiffer
SUBDIR += py-eemeter
SUBDIR += py-emoji

23
misc/py-detecta/Makefile Normal file
View File

@ -0,0 +1,23 @@
PORTNAME= detecta
DISTVERSION= 0.0.5
CATEGORIES= misc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Library to detect events in data
WWW= https://github.com/demotu/detecta
LICENSE= APACHE20
PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
${PYNUMPY}
BUILD_DEPENDS= ${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}
USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.mk>

3
misc/py-detecta/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1672174658
SHA256 (detecta-0.0.5.tar.gz) = d2ea7d13dfbbc994d6ce385a7f8dc0a85fe675a8a8e712a64ec56e54c40603ed
SIZE (detecta-0.0.5.tar.gz) = 9301

10
misc/py-detecta/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
detecta is a Python module to detect events in data.
The following functions are implemented in detecta:
* detect_peaks.py: detects peaks in data based on their amplitude and other
features.
* detect_onset.py: detects onset in data based on amplitude threshold.
* detect_cusum.py: detects abrupt changes in data using cumulative sum algorithm
(CUSUM).
* detect_seq.py: detects initial and final indices of sequential data identical
to a parameter.