cogpy.detect.slowwave

Slow-wave / UP-DOWN state detection (v2.6.5).

Bandpass → zero-crossing trough detection → duration & amplitude gating. Follows the same EventDetector pattern as RippleDetector.

References

  • Isomura et al. 2006: DOWN = 200-500 ms silence, UP = 0.3-1 s activity

  • Swanson et al. 2025: 25th percentile binarization, DOWN >80 ms

  • Battaglia et al. 2004: delta 0.8-4 Hz, SPW coincides with D-U transitions

  • yasa.detection.sw_detect: negative half-wave approach

Functions

gamma_envelope_validator(lfp, events, *[, ...])

Validate slow-wave events against broadband gamma envelope.

Classes

SlowWaveDetector(*[, freq_range, dur_neg, ...])

Slow-wave detector: bandpass → zero-crossing trough detection → gating.