Skip to content

Add example notebook for dandiset 001754#133

Merged
bendichter merged 3 commits intodandi:masterfrom
bendichter:add-notebook-001754
Feb 27, 2026
Merged

Add example notebook for dandiset 001754#133
bendichter merged 3 commits intodandi:masterfrom
bendichter:add-notebook-001754

Conversation

@bendichter
Copy link
Member

Summary

  • Adds an educational notebook for dandiset 001754 — hippocampal CA1 place cell recordings from rats during the Neurolab Space Shuttle mission (STS-90)
  • Demonstrates streaming NWB data from DANDI via remfile, exploring file structure, visualizing position trajectories, spike rasters, computing 2D place fields with pynapple, and comparing spatial representations across behavioral epochs (Escher Staircase vs Magic Carpet)
  • Includes side-by-side comparison of pynapple-computed rate maps with pre-computed rate maps from the original Knierim, McNaughton & Poe (2000) analysis stored in the NWB file

Contents

  • 001754/CatalystNeuro/001754_demo.ipynb — executed notebook with all outputs
  • 001754/CatalystNeuro/environment.yml — conda environment specification
  • 001754/CatalystNeuro/README.md — dataset description and setup instructions

Test plan

  • Notebook executes end-to-end without errors via streaming from DANDI
  • All 5 figure sections render correctly (trajectories, raster, place fields comparison, epoch comparison, spike positions)
  • Review notebook renders correctly on GitHub

🤖 Generated with Claude Code

…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>
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

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>
bendichter and others added 2 commits February 26, 2026 13:28
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>
@bendichter bendichter merged commit 109f1ce into dandi:master Feb 27, 2026
1 check 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.

1 participant