/blockhead

Python library for segmenting and averaging time and depth series.

Primary LanguageLassoMIT LicenseMIT

GitHub code size in bytes Code Coverage Slack Kofi

blockhead

Blockhead is a tool for aligning structure within timeseries.

We're currently supporting the scale space segmentation algorithm. This algorithm finds edges in timeseries as a function of scale. It's useful for segmenting timeseries that have shocks. As a an applied method, it's used in machine learning applications of well-log data in minerals and oil and gas exploration.

Features

Install from source

Currently blockhead can be installed from source:

git clone https://github.com/brendonhall/blockhead.git

cd blockhead

pip install .

Install with Poetry

pip install poetry

git clone https://github.com/brendonhall/blockhead.git

cd blockhead

poetry install
*Coming soon, pip install -U blockhead*

Testing

python -m unittest discover