Skip to content

Conversation

@bendichter
Copy link
Contributor

Added support for TimeIntervals neurodata type in the Timeseries Alignment widget:

  • Extended TAItem type with itemType discriminator ("timeseries" | "timeintervals")
  • Implemented TimeIntervals data fetching from start_time/stop_time datasets
  • Added NaN-aware min/max utility functions to filter invalid time values
  • Fallback to max start time when stop times are NaN
  • Assigned teal color for TimeIntervals visualization

This enables visualization of interval-based temporal data alongside traditional timeseries objects in the alignment view.

See for example http://localhost:5173/nwb?url=https://api.dandiarchive.org/api/assets/80c44180-236d-4970-968b-02bba97baf62/download/&dandisetId=001435&dandisetVersion=draft

image

bendichter and others added 2 commits November 12, 2025 15:52
…time calculations

Added support for TimeIntervals neurodata type in the Timeseries Alignment widget:
- Extended TAItem type with itemType discriminator ("timeseries" | "timeintervals")
- Implemented TimeIntervals data fetching from start_time/stop_time datasets
- Added NaN-aware min/max utility functions to filter invalid time values
- Fallback to max start time when stop times are NaN
- Assigned teal color for TimeIntervals visualization

This enables visualization of interval-based temporal data alongside traditional timeseries objects in the alignment view.
@magland magland merged commit 06adcb3 into flatironinstitute:main-v2 Nov 13, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants