Add example notebook for dandiset 001754#133
Merged
bendichter merged 3 commits intodandi:masterfrom Feb 27, 2026
Merged
Conversation
…space flight) Demonstrates streaming NWB data from DANDI, exploring file structure, visualizing position trajectories, spike rasters, computing place fields with pynapple, and comparing across behavioral epochs (Escher Staircase vs Magic Carpet). Includes side-by-side comparison with pre-computed rate maps from the original Knierim, McNaughton & Poe (2000) analysis. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
bendichter
added a commit
to catalystneuro/claude-skills
that referenced
this pull request
Feb 25, 2026
Adds a new phase covering the workflow for creating educational demonstration notebooks that show how to read, visualize, and analyze NWB data from DANDI. Tested on dandiset 001754 (hippocampal place cells during space flight). PR submitted: dandi/example-notebooks#133 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The pynapple compute_2d_tuning_curves was auto-ranging from data min/max, causing the Y axis to start at ~65 instead of 0 (since the rat never visited the lower Y range). This misaligned the computed maps with the pre-computed ones. Adding minmax=((0, 255), (0, 255)) forces both axes to span the full pixel coordinate range. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use flat tuple minmax=(0, 255, 0, 255) as expected by pynapple's compute_2d_tuning_curves. Re-executed notebook so all figures reflect the corrected bin ranges. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
remfile, exploring file structure, visualizing position trajectories, spike rasters, computing 2D place fields withpynapple, and comparing spatial representations across behavioral epochs (Escher Staircase vs Magic Carpet)Contents
001754/CatalystNeuro/001754_demo.ipynb— executed notebook with all outputs001754/CatalystNeuro/environment.yml— conda environment specification001754/CatalystNeuro/README.md— dataset description and setup instructionsTest plan
🤖 Generated with Claude Code