Skip to content

[DB-7] Event-based data segmentation for preprocessing #54

@nmy2103

Description

@nmy2103

Summary

Currently, preprocessing operates on the entire recording with time-based segmentation, where the full signal is divided into fixed-duration windows (e.g., 60-second segments). We'd like to add support for event-based segmentation and preprocessing in the PhysioView Dashboard. This feature will allow users to preprocess physiological data (ECG, PPG, EDA) within specific event windows defined by uploaded event timing files, with optional further segmentation into fixed-size windows within each event. This enhancement will enable researchers to analyze physiological responses during specific experimental events.

Acceptance Criteria

  • Users can upload an event timing file
    • Invalid uploads are checked
  • Dashboard callback and utility functions are refactored
    • When the window size is specified, events are further segmented into fixed-duration windows
    • When the window size is unspecified, each event is processed as a single unit
  • Users can select event-specific data in the current dcc.Dropdown(id = 'subject-dropdown') for displaying

Follow-up Tasks

  • Update the documentation with examples of event-based preprocessing workflows

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions