Skip to main content

Neuralyzer::Transforms::V2::Examples::AnalogHilbertPhaseParams

Neuralyzer::Transforms::V2::Examples::AnalogHilbertPhaseParams

Parameters for Hilbert phase/amplitude extraction. More…

#include <AnalogHilbertPhase.hpp>

Public Types

Name
enum class OutputType { phase, amplitude}

Public Attributes

Name
OutputType output_type
rfl::Validator< size_t, rfl::Minimum< 1 > > discontinuity_threshold
Gap size (in samples) above which to split processing into chunks.
size_t max_chunk_size
Maximum samples per chunk (0 = no limit, process entire signal).
rfl::Validator< double, rfl::Minimum< 0.0 > > overlap_fraction
Fraction of overlap between chunks (0.0 to 0.5).
bool use_windowing
Apply Hann window to reduce edge artifacts.
bool apply_bandpass_filter
Whether to apply bandpass filtering before Hilbert transform.
rfl::Validator< double, rfl::Minimum< 0.0 > > filter_low_freq
Bandpass filter low cutoff (Hz).
rfl::Validator< double, rfl::Minimum< 0.0 > > filter_high_freq
Bandpass filter high cutoff (Hz).
rfl::Validator< int, rfl::Minimum< 1 > > filter_order
Butterworth filter order (1-8).
rfl::Validator< double, rfl::Minimum< 0.0 > > sampling_rate
Sampling rate in Hz (0 = auto-detect from data).

Detailed Description

struct Neuralyzer::Transforms::V2::Examples::AnalogHilbertPhaseParams;

Parameters for Hilbert phase/amplitude extraction.

Uses reflect-cpp for automatic JSON serialization/deserialization with validation.

Example JSON: ```json

{ “output_type”: “phase”, “discontinuity_threshold”: 1000, “max_chunk_size”: 100000, “overlap_fraction”: 0.25, “use_windowing”: true, “apply_bandpass_filter”: false, “filter_low_freq”: 5.0, “filter_high_freq”: 15.0, “filter_order”: 4, “sampling_rate”: 1000.0 }


## Public Types Documentation

### enum OutputType

| Enumerator | Value | Description |
| ---------- | ----- | ----------- |
| phase | |   |
| amplitude | |   |




## Public Attributes Documentation

### variable output_type

```cpp
OutputType output_type = OutputType::phase;

variable discontinuity_threshold

rfl::Validator< size_t, rfl::Minimum< 1 > > discontinuity_threshold = 1000;

Gap size (in samples) above which to split processing into chunks.

variable max_chunk_size

size_t max_chunk_size = 100000;

Maximum samples per chunk (0 = no limit, process entire signal).

variable overlap_fraction

rfl::Validator< double, rfl::Minimum< 0.0 > > overlap_fraction = 0.25;

Fraction of overlap between chunks (0.0 to 0.5).

variable use_windowing

bool use_windowing = true;

Apply Hann window to reduce edge artifacts.

variable apply_bandpass_filter

bool apply_bandpass_filter = false;

Whether to apply bandpass filtering before Hilbert transform.

variable filter_low_freq

rfl::Validator< double, rfl::Minimum< 0.0 > > filter_low_freq = 5.0;

Bandpass filter low cutoff (Hz).

variable filter_high_freq

rfl::Validator< double, rfl::Minimum< 0.0 > > filter_high_freq = 15.0;

Bandpass filter high cutoff (Hz).

variable filter_order

rfl::Validator< int, rfl::Minimum< 1 > > filter_order = 4;

Butterworth filter order (1-8).

variable sampling_rate

rfl::Validator< double, rfl::Minimum< 0.0 > > sampling_rate = 1000.0;

Sampling rate in Hz (0 = auto-detect from data).


Updated on 2026-11-13 at 20:25:41 +0000