v1.7.0
[1.7.0] - 2025-10-17
Added
-
Flexible Signal Normalization: New
normalize_signal()function supporting both z-score (mean/std) and median/MAD normalization methods- Median/MAD normalization provides robust statistics less sensitive to outliers
- Configurable normalization baseline via
normalization_maskornormalization_time_rangeparameters - All detectors (
Kay_ripple_detector,Karlsson_ripple_detector,Roumis_ripple_detector,multiunit_HSE_detector) now support these parameters - Enables advanced use cases: normalize during immobility only, use baseline period, exclude artifacts
- Comprehensive test coverage including 23 new tests for normalization functionality
-
Tutorial Notebook: Added
examples/ripple_detection_tutorial.ipynbwith step-by-step guide- Demonstrates basic ripple detection workflow
- Shows how to use different normalization methods
- Includes visualization examples
Changed
- Parameter Enhancement: Added
normalization_method,normalization_mask, andnormalization_time_rangeparameters to all detector functions- Default behavior unchanged (z-score normalization on full signal)
- New parameters provide fine-grained control over normalization baseline
Deprecated
use_speed_threshold_for_zscoreparameter inmultiunit_HSE_detector- Use
normalization_mask=speed < speed_thresholdinstead for equivalent functionality - Deprecation warning added with migration guidance
- Use
Fixed
- Updated README badges to reference release workflow and codecov
- Reformatted pyproject.toml for better readability
Removed
- PR test GitHub Actions workflow (consolidated with main test workflow)