Skip to main content

Crate wifi_densepose_signal

Crate wifi_densepose_signal 

Source
Expand description

WiFi-DensePose Signal Processing Library

This crate provides signal processing capabilities for WiFi-based human pose estimation, including CSI (Channel State Information) processing, phase sanitization, feature extraction, and motion detection.

§Features

  • CSI Processing: Preprocessing, noise removal, windowing, and normalization
  • Phase Sanitization: Phase unwrapping, outlier removal, and smoothing
  • Feature Extraction: Amplitude, phase, correlation, Doppler, and PSD features
  • Motion Detection: Human presence detection with confidence scoring

§Example

use wifi_densepose_signal::{
    CsiProcessor, CsiProcessorConfig,
    PhaseSanitizer, PhaseSanitizerConfig,
    MotionDetector,
};

// Configure CSI processor
let config = CsiProcessorConfig::builder()
    .sampling_rate(1000.0)
    .window_size(256)
    .overlap(0.5)
    .noise_threshold(-30.0)
    .build();

let processor = CsiProcessor::new(config);

Re-exports§

pub use csi_processor::CsiData;
pub use csi_processor::CsiDataBuilder;
pub use csi_processor::CsiPreprocessor;
pub use csi_processor::CsiProcessor;
pub use csi_processor::CsiProcessorConfig;
pub use csi_processor::CsiProcessorConfigBuilder;
pub use csi_processor::CsiProcessorError;
pub use features::AmplitudeFeatures;
pub use features::CsiFeatures;
pub use features::CorrelationFeatures;
pub use features::DopplerFeatures;
pub use features::FeatureExtractor;
pub use features::FeatureExtractorConfig;
pub use features::PhaseFeatures;
pub use features::PowerSpectralDensity;
pub use motion::HumanDetectionResult;
pub use motion::MotionAnalysis;
pub use motion::MotionDetector;
pub use motion::MotionDetectorConfig;
pub use motion::MotionScore;
pub use hardware_norm::AmplitudeStats;
pub use hardware_norm::CanonicalCsiFrame;
pub use hardware_norm::HardwareNormError;
pub use hardware_norm::HardwareNormalizer;
pub use hardware_norm::HardwareType;
pub use phase_sanitizer::PhaseSanitizationError;
pub use phase_sanitizer::PhaseSanitizer;
pub use phase_sanitizer::PhaseSanitizerConfig;
pub use phase_sanitizer::UnwrappingMethod;

Modules§

bvp
Body Velocity Profile (BVP) extraction.
csi_processor
CSI (Channel State Information) Processor
csi_ratio
Conjugate Multiplication (CSI Ratio Model)
features
Feature Extraction Module
fresnel
Fresnel Zone Breathing Model
hampel
Hampel Filter for robust outlier detection and removal.
hardware_norm
Hardware Normalizer — ADR-027 MERIDIAN Phase 1
motion
Motion Detection Module
phase_sanitizer
Phase Sanitization Module
prelude
Prelude module for convenient imports
ruvsense
RuvSense – Sensing-First RF Mode for Multistatic WiFi DensePose (ADR-029)
spectrogram
CSI Spectrogram Generation
subcarrier_selection
Subcarrier Sensitivity Selection

Enums§

SignalError
Unified error type for signal processing operations

Constants§

VERSION
Library version

Type Aliases§

Result
Common result type for signal processing operations