-
Notifications
You must be signed in to change notification settings - Fork 25
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
Timelapse microscopy example #452
base: main
Are you sure you want to change the base?
Conversation
droumis
commented
Nov 21, 2024
Your changes were successfully integrated in the dev site, make sure to review the pages of the projects you touched before merging this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another super solid example! I've left suggestions part of the review. My main feedback is that the annotating app still feels experimental (more than what you shared in your previous example), it's a feature that needs users and their feedback to mature. Hopefully this example will help with that!
description: Display and annotate time-lapse microscopy in Neuroscience | ||
|
||
examples_config: | ||
created: 2024-11-21 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reminder to update it before merging.
"id": "f0de8be5-81d9-4755-b7aa-afbacd5166e3", | ||
"metadata": {}, | ||
"source": [ | ||
"For example, a dynamic process of interest could be [neural action potentials](https://en.wikipedia.org/wiki/Action_potential), and the data might come from a [miniature microscope](http://miniscope.org/)(**see image in this notebook's header**) that captures the change in fluorescence of special proteins caused by electrochemical fluctuations indicative of neuronal activity. These video-like datasets often contain many more frames in the 'Time' dimension compared to the number of pixels in the height or width of each frame.\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"For example, a dynamic process of interest could be [neural action potentials](https://en.wikipedia.org/wiki/Action_potential), and the data might come from a [miniature microscope](http://miniscope.org/)(**see image in this notebook's header**) that captures the change in fluorescence of special proteins caused by electrochemical fluctuations indicative of neuronal activity. These video-like datasets often contain many more frames in the 'Time' dimension compared to the number of pixels in the height or width of each frame.\n" | |
"For example, a dynamic process of interest could be [neural action potentials](https://en.wikipedia.org/wiki/Action_potential), and the data might come from a [miniature microscope](http://miniscope.org/) (**see image in this notebook's header**) that captures the change in fluorescence of special proteins caused by electrochemical fluctuations indicative of neuronal activity. These video-like datasets often contain many more frames in the 'Time' dimension compared to the number of pixels in the height or width of each frame.\n" |
"### App Versions\n", | ||
"We will build three different visualization approaches to cater to different use cases:\n", | ||
"\n", | ||
"1. **Basic Viewer:** A one-line application using `hvPlot` for quick visualization of the image stack.\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"1. **Basic Viewer:** A one-line application using `hvPlot` for quick visualization of the image stack.\n", | |
"1. **Basic Viewer:** A one-line application using [hvPlot](https://hvplot.holoviz.org/) for quick visualization of the image stack.\n", |
"We will build three different visualization approaches to cater to different use cases:\n", | ||
"\n", | ||
"1. **Basic Viewer:** A one-line application using `hvPlot` for quick visualization of the image stack.\n", | ||
"2. **Intermediate Viewer with Side Views:** Uses `HoloViews` for additional interactive elements, scalebars, and linked side views, aiding better navigation of the image stack and identification of regions of interest.\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"2. **Intermediate Viewer with Side Views:** Uses `HoloViews` for additional interactive elements, scalebars, and linked side views, aiding better navigation of the image stack and identification of regions of interest.\n", | |
"2. **Intermediate Viewer with Side Views:** Uses [HoloViews](https://holoviews.org/) for additional interactive elements, scalebars, and linked side views, aiding better navigation of the image stack and identification of regions of interest.\n", |
"\n", | ||
"1. **Basic Viewer:** A one-line application using `hvPlot` for quick visualization of the image stack.\n", | ||
"2. **Intermediate Viewer with Side Views:** Uses `HoloViews` for additional interactive elements, scalebars, and linked side views, aiding better navigation of the image stack and identification of regions of interest.\n", | ||
"3. **Advanced Viewer with Annotations and Linked Timeseries:** Building from the intermediate `HoloViews` viewer, this version adds annotation capabilities using `HoloNote`, allowing for interactive spatial annotations with linked timeseries.\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"3. **Advanced Viewer with Annotations and Linked Timeseries:** Building from the intermediate `HoloViews` viewer, this version adds annotation capabilities using `HoloNote`, allowing for interactive spatial annotations with linked timeseries.\n", | |
"3. **Advanced Viewer with Annotations and Linked Timeseries:** Building from the intermediate `HoloViews` viewer, this version adds annotation capabilities using [HoloNote](https://holonote.holoviz.org/), allowing for interactive spatial annotations with linked timeseries.\n", |
"source": [ | ||
"### Working with Annotations\n", | ||
"\n", | ||
"How to add new annotations: \n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could also remind the reader or let them know that there's a video that shows how it's done, once watched it all becomes much easier as the UX of HoloNote isn't super intuitive.
"cell_type": "markdown", | ||
"id": "c8d52e0c-eac2-429d-8658-f8ad17c2cfb1", | ||
"metadata": {}, | ||
"source": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As done before, it'd be nice to show the end state of the app here, so the reader can better approach where this is going.
"id": "c8d52e0c-eac2-429d-8658-f8ad17c2cfb1", | ||
"metadata": {}, | ||
"source": [ | ||
"In the final version, we'll add annotation capabilities using `HoloNote` and link these annotations to timeseries plots of mean intensity over time.\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I missed a little bit of neurosciency narrative here (even if I don't necessarily understand it!), what are we annotating and why?
" tools=['hover', 'crosshair'],\n", | ||
" toolbar='right',\n", | ||
" apply_hard_bounds=True,\n", | ||
" scalebar=True,\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no scalebar displayed at all in fact? Bug maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok the test data size is slightly more than 4MB. I guess that's fine but we have to be careful with the size of these files (all files in general), as test data files for previous projects were smaller.
Your changes were successfully integrated in the dev site, make sure to review the pages of the projects you touched before merging this PR. |