MetaCell / MetaCell/nwb-explorer

option to add event markers when plotting BehavioralEvents data

Open
#260 0 comments 0 reactions 0 assignees View on GitHub
PRIORITY: Medium
Dominant language
JavaScript
Stars
27
Forks
16
PR merge metrics
No merged PRs in 30d

Description

The BehavioralEvents data interface seems to be used for time series with irregular events (https://nwb-schema.readthedocs.io/en/latest/format.html?highlight=events#behavioralepochs). In the example file below, all the data have the same value but the timestamps are irregularly spaced. Adding the option to plot markers+lines could help with visualization (like shown in the nwbwidgets display in the bottom of the picture below)

![Screen Shot 2021-07-26 at 8 33 30 PM](https://user-images.githubusercontent.com/40640337/127084446-2b532298-90ee-478f-b640-c5c01df66fba.png)

The example is from `acquisition.lick_times.time_series.lick_left_times` from [this file](https://dandiarchive.s3.amazonaws.com/blobs/063/b97/063b9771-b0c0-4b84-8b7d-fb52929b3087) from dandiset 00006

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the case using acquisition.lick_times.time_series.lick_left_times from the linked dandiset file and inspect the BehavioralEvents plotting entry point. Determine how the existing plot handles irregular timestamps, then add an option for markers plus lines and verify that the example renders the event markers as shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.