Skip to main content

Fast, lightweight library for training Self-Organizing Maps on 2D time series, tailored for analyzing concentration-discharge hysteresis loops.

Project description

HySOM

Fast, lightweight Python library for training Self-Organizing Maps on 2D time series, tailored for analyzing concentration-discharge hysteresis loops.

NOTE: Currently, Python 3.14 is not yet supported due to missing precompiled dependencies. Please use Python 3.8–3.13. Support for Python 3.14 will be added shortly.

Overview

HySOM is a Python library that simplifies the training and visualization of Self-Organizing Maps (SOMs) for 2D time series. It is specifically designed for the study of concentration–discharge (C–Q) hysteresis loops. With HySOM, you can access the General T-Q SOM—a standard framework for classifying sediment transport hysteresis loops. The library also includes several visualization tools to streamline the analysis of sediment transport hysteresis loops. Additionally, HySOM allows you to train your own SOM for C–Q analysis.


Features

  • Direct access to the General T-Q SOM for sediment transport hysteresis loop analysis
  • Tools for analyzing and classifying C-Q hysteresis loops
  • Visualization utilities for SOM grids and hysteresis loops
  • Easy, yet flexible, training of rectangular Self-Organizing Maps for 2D sequences
  • Supports the Dynamic Time Warping distance function
  • Lightweight and dependency-minimized

The General T-Q SOM

Includes the General T–Q SOM, a standard framework for analyzing sediment transport hysteresis loops. Usage examples can be found in the Documentation

General T-Q SOM


📖 Documentation

Comprehensive documentation is provided, including quickstart tutorials, How-to guides and an API reference. Click Here!


📦 Dependencies

HySOM requires the following libraries for proper functioning (which are automatically installed when installing HySOM):

  • Python >3.8, < 3.14
  • numpy
  • tslearn
  • matplotlib

🤝 Contributing

We welcome contributions! If you'd like to include your own standard SOM for C-Q hysteresis analysis, improve the code, report issues, or request features, please open a GitHub issue or pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hysom-0.3.2.tar.gz (3.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hysom-0.3.2-py3-none-any.whl (982.5 kB view details)

Uploaded Python 3

File details

Details for the file hysom-0.3.2.tar.gz.

File metadata

  • Download URL: hysom-0.3.2.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for hysom-0.3.2.tar.gz
Algorithm Hash digest
SHA256 a7c00dae848992e3620e4ed40fa3d65dd0e091fcf901c9c8bfaeabdcb7491708
MD5 10355e1ed79995c146912d7ce9d1ac86
BLAKE2b-256 5b06c126d7e227a7eb23bd7a4f3b396698b1ab9337dc02e4fd19f4290d1bf311

See more details on using hashes here.

File details

Details for the file hysom-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: hysom-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 982.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for hysom-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d9e3d9b7bcc7a1a029020f55052ff773f7217ec4362447a30697c4fa8ef9c85a
MD5 e2516dee7a0316a599ef47bf32a273fb
BLAKE2b-256 7a5c81ce5ab7ad6473760dc0699463d1e67dd055fe4733f93e6f6c6e47dbc33b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page