Skip to content

Commit

Permalink
fix toc and fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
rcpeene committed Jun 24, 2024
1 parent d70d8f6 commit 0a20217
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ parts:
- file: visualization/visualize_2p_responses.ipynb
- file: visualization/visualize_unit_spikes.ipynb
- file: visualization/visualize_2p_vr_behavior.ipynb
- file: visualization/visualize_neuropixels_probes.ipynb
- file: visualization/visualize_templates.ipynb
- caption: First-Order Analysis
chapters:
- file: first-order/receptive_fields.ipynb
Expand Down
4 changes: 2 additions & 2 deletions docs/visualization/visualize_unit_spikes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"source": [
"# Visualizing Neuronal Unit Spikes\n",
"\n",
"In our files, the data contains a *spike train* array for each putative neuron. These are arrays of timestamps when a neuron spikes. Since neurons spike different numbers of times and during different times, it would be difficult to analyze many neurons together with the data in this form. One way to solve this is to make a 3-Dimensional *spike matrix*. This is a 3D array with the dimensions `neurons`, `time`, and `trials`. The spike matrix consists of time bins which contain the count of spikes at each time, for each neuron, and for each trial. The spike matrix can be sliced or averaged to produce useful 2D plots, or can be plugged in to more complex analysis. One application of this can be seen in [Statistically Testing Spike Responses to Stimulus](../first-order/test_unit_spikes.ipynb)."
"In our files, the data contains a *spike train* array for each putative neuron. These are arrays of timestamps when a neuron spikes. Since neurons spike different numbers of times and during different times, it would be difficult to analyze many neurons together with the data in this form. One way to solve this is to make a 3-Dimensional *spike matrix*. This is a 3D array with the dimensions `neurons`, `time`, and `trials`. The spike matrix consists of time bins which contain the count of spikes at each time, for each neuron, and for each trial. The spike matrix can be sliced or averaged to produce useful 2D plots, or can be plugged in to more complex analysis. One application of this can be seen in [Statistically Testing Spike Responses to Stimulus](../first-order/test_unit_responses.ipynb)."
]
},
{
Expand Down Expand Up @@ -1128,7 +1128,7 @@
"metadata": {},
"source": [
"### Spike Plots From Spike Matrix\n",
"To demonstrate visually how it can be used, the plots below show different slices of the spike matrix. The first plot, *Unit Spikes Across Trials* shows the spiking behavior of one Unit across all trials. Set `unit` below to change which unit you'd like be shown. Following this is the *Unitwise Spike Plot*, which shows the spikes of all Units during the time window of one trial. Finally, the *Average Unitwise Spike Plot* shows the spikes of all units averaged across all trials. By themselves, these plots don't tell much. Useful versions of similar plots are depicted in notebooks such as [Identifying Optotagged Units](../first-order/optotagging.ipynb), and [Statistically Testing Spike Responses to Stimulus](../first-order/test_unit_spikes.ipynb)"
"To demonstrate visually how it can be used, the plots below show different slices of the spike matrix. The first plot, *Unit Spikes Across Trials* shows the spiking behavior of one Unit across all trials. Set `unit` below to change which unit you'd like be shown. Following this is the *Unitwise Spike Plot*, which shows the spikes of all Units during the time window of one trial. Finally, the *Average Unitwise Spike Plot* shows the spikes of all units averaged across all trials. By themselves, these plots don't tell much. Useful versions of similar plots are depicted in notebooks such as [Identifying Optotagged Units](../first-order/optotagging.ipynb), and [Statistically Testing Spike Responses to Stimulus](../first-order/test_unit_responses.ipynb)"
]
},
{
Expand Down

0 comments on commit 0a20217

Please sign in to comment.