load_signal
Load a machine vibration signal into memory, making it available by ID for efficient repeated use in vibration analysis and fault detection tools.
Instructions
Load a signal into the in-memory repository for fast repeated access.
Once loaded, reference the signal by its signal_id in other tools like
compute_power_spectral_density, diagnose_vibration, etc.
Args:
filepath: Filename relative to data/signals/, or absolute path.
signal_id: Custom ID (defaults to filename stem).
sampling_rate: Sampling rate in Hz (overrides metadata file).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | ||
| signal_id | No | ||
| sampling_rate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signal_id | Yes | Unique identifier for the stored signal | |
| filepath | Yes | Original file path | |
| load_timestamp | Yes | ISO 8601 timestamp when signal was loaded | |
| shape | Yes | Shape of the signal array | |
| num_samples | Yes | Number of samples | |
| sampling_rate | No | Sampling rate in Hz | |
| duration_s | No | Duration in seconds | |
| size_bytes | Yes | Approximate memory size in bytes | |
| signal_unit | No | Signal unit (g, mm/s, m/s², etc.) |