Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streaming Timeseries example #469

Merged
merged 27 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
fad9b45
init streaming example
droumis Dec 6, 2024
6e991af
remove notebook command
droumis Dec 6, 2024
633c566
fix nb name
droumis Dec 6, 2024
840fcad
remove unused mne_lsl.sample import
droumis Dec 6, 2024
ac269ef
remove unused imports
droumis Dec 6, 2024
5b62a04
apply black and isort
Dec 6, 2024
601ed17
update iframe cell
amaloney Dec 6, 2024
ba15b94
Markdown
amaloney Dec 6, 2024
d855e5f
fix non-terminating error
amaloney Dec 9, 2024
3d0767c
reduce periodic callback time
amaloney Dec 10, 2024
7ddc3ad
Merge branch 'main' into streaming-ts
droumis Dec 11, 2024
3992c20
clear nb outputs
maximlt Dec 11, 2024
625c4a8
fixes some PR comments
amaloney Dec 12, 2024
c20c915
fix hide-input cell tag
droumis Dec 14, 2024
30d43e0
update the intro to provide more neurosciency context
droumis Dec 14, 2024
1f5c910
add docstring explaining channel positions plot
droumis Dec 14, 2024
7e29868
add stream follow point
droumis Dec 14, 2024
0a494bf
add extensive explanation for requested streaming components
droumis Dec 14, 2024
7a0165f
add minimal app for key streaming components
droumis Dec 14, 2024
d335429
refactor to use param parameters
droumis Dec 14, 2024
31ab8fa
fix header img by unnesting from div
droumis Dec 14, 2024
6174cf8
clear nb
droumis Dec 14, 2024
a15128a
clarify minimal callback
droumis Dec 15, 2024
c07caa9
minor updates to minimal example
droumis Dec 16, 2024
735e9c8
remove-input instead of hide-input
maximlt Dec 16, 2024
71fd10d
move neuroscience cat up
maximlt Dec 16, 2024
8ec3407
lighten and simplify the warning message
maximlt Dec 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
513 changes: 513 additions & 0 deletions streaming_timeseries/anaconda-project-lock.yml

Large diffs are not rendered by default.

67 changes: 67 additions & 0 deletions streaming_timeseries/anaconda-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: streaming_timeseries
description: Streaming display of multichannel timeseries data.

examples_config:
created: 2024-12-06
maintainers:
- "droumis"
labels:
- "panel"
- "holoviews"
categories:
amaloney marked this conversation as resolved.
Show resolved Hide resolved
- Neuroscience
title: "Streaming Timeseries"
deployments:
# - command: notebook
- command: dashboard

user_fields: [examples_config]

channels:
- conda-forge
- nodefaults

packages: &pkgs
- notebook>=6.5.2 # required
- python=3.11
- numpy>=2.1.3 # auto min pinned 2024-12-06
- panel>=1.4.2
- hvplot>=0.10.0
- pandas>=2.2.1
- holoviews>=1.19.0 # 1.19: wide df handling, scalebars
- h5py>=3.12.1 # auto min pinned 2024-12-06
- mne-lsl>=1.8.0 # auto min pinned 2024-12-06
- jupyterlab>=4.3.2 # auto min pinned 2024-12-06
- pyproj==3.6.1
- bokeh>=3.6.2 # 3.6.2: scalebar fixes
- pip
- pip:
- tsdownsample>=0.1.3
- mne[hdf5]>=1.8.0 # auto min pinned 2024-12-06

dependencies: *pkgs

commands:
lab:
unix: jupyter lab streaming_timeseries.ipynb
windows: jupyter lab streaming_timeseries.ipynb
notebook:
notebook: streaming_timeseries.ipynb
dashboard:
unix: panel serve --rest-session-info --session-history -1 streaming_timeseries.ipynb --show
supports_http_options: true

variables: {}

downloads:
EEG_ANT_data:
url: https://datasets.holoviz.org/eeg_ant/v1/sample-ant-raw.fif
description: |
EEG ANT Dataset
filename: data/sample-ant-raw.fif

platforms:
- linux-64
- osx-64
- win-64
- osx-arm64
Binary file added streaming_timeseries/assets/streaming_aux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added streaming_timeseries/assets/streaming_header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added streaming_timeseries/assets/streaming_nb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading