Repository navigation
Add spatial autocorrelograms, grid-cell demos and position copying - #57
Merged
Merged
Conversation
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.
Adds spatial autocorrelograms beside the rate map, with SC off by default, MATLAB jet(64) colours and a configurable minimum overlap. A shows SC alone; Shift+A adds or removes it alongside other plots. Masked Pearson correlations use RustFFT with WebAssembly SIMD through a reusable 2D DSP adapter; direct-correlation reference tests cover all lags, invalid overlaps and constant maps.
Simulated T5–8 now contain 2–5 grid cells per tetrode. Each trial shares an orientation and a base spacing of about 36 cm, with module spacing increasing by powers of 1.4. Grid membership and cell phases remain stable across trials. Other place cells on these tetrodes have broader fields and higher background activity; the existing cut-cell counts are preserved.
Holding Cmd/Ctrl-C enters copy mode after 500 ms. Hovering the position pane targets paths instead of tile plots; extended mode selects cells for spike overlays and supports additional trials/cuts without changing the displayed recording. Exports have editable trial headings, 160 px paths with speed dwell, and one shared coloured cell legend at the bottom. Selected cells stay clear while other tiles fade.
Validation: