# dataforresearch/hmotp architecture

> Architecture diagram of the GitHub repository dataforresearch/hmotp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dataforresearch/hmotp
- Repository: https://github.com/dataforresearch/hmotp

## Overview

HMoTP is a machining dataset accompanied by Python signal-feature extraction utilities. The README describes per-cutting CSV signals across seven force, moment, and vibration channels, with tool-wear values stored separately. A researcher can use a signal with `exfeature` to obtain time-, frequency-, and wavelet-domain features; the implementation directly delegates wavelet-energy calculations to `WaveletPacketEnergy`. The tree contains no dataset files or CSV-loading code, so dataset-to-function use is shown as an unverified relationship rather than an implemented ingestion path.

Main entry points: [`MultidomainFeatureExtraction.py`](https://github.com/dataforresearch/hmotp/blob/main/MultidomainFeatureExtraction.py) (Feature Extraction), [`WaveletPacketEnergy.py`](https://github.com/dataforresearch/hmotp/blob/main/WaveletPacketEnergy.py) (Wavelet Energy)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_researcher(("Researcher"))
node_dataset[("Cutting Data")]
node_features["Feature Extraction"]
node_wavelet["Wavelet Energy"]

node_researcher -->|"uses signals"| node_dataset
node_researcher -.->|"extracts features"| node_features
node_dataset -.->|"supplies signal"| node_features
node_features -->|"calls"| node_wavelet

click node_features "https://github.com/dataforresearch/hmotp/blob/main/MultidomainFeatureExtraction.py"
click node_wavelet "https://github.com/dataforresearch/hmotp/blob/main/WaveletPacketEnergy.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_researcher toneIndigo
class node_dataset toneAmber
class node_features,node_wavelet toneTeal
```

## Components

### Other components

- **Researcher**
- **Cutting Data**
- [Feature Extraction](https://github.com/dataforresearch/hmotp/blob/main/MultidomainFeatureExtraction.py): `MultidomainFeatureExtraction.py`
- [Wavelet Energy](https://github.com/dataforresearch/hmotp/blob/main/WaveletPacketEnergy.py): `WaveletPacketEnergy.py`

## Connections

- Researcher → Cutting Data: uses signals (evidence: `README.md`)
- Researcher → Feature Extraction: extracts features
- Cutting Data → Feature Extraction: supplies signal
- Feature Extraction → Wavelet Energy: calls (evidence: `MultidomainFeatureExtraction.py`)
