These are tutorials to get started using the SanPy desktop GUI.
Please watch the videos as you follow along with a recipes.
Load a file, detect spikes, and run some plugins¤
Recipe for remaking the SanPy manuscript figure 3 from the GUI. Here we will load a raw data file, detect some spikes, and run some plugins.
- Run SanPy
- Select menu
File -> Open ...
- Open data file
2021_07_20_0010.abf
from thedata/
folder - Select a sweep with a number of spikes (for example, sweep 14)
- Select
Fast Neuron
in theDetection - Presets
popup - If it is not already shown, display the derivative of the recording with the
View - Derivative
menu - In the derivative plot, click and drag the horizontal cursor (C) to set the desired dvdt threshold for spike detection
- Right click the derivative plot and select the
Set dvdt Threshold
menu - Click the
Detect dV/dt
button in theDetection
panel.
Finally, run the plugins to genarate Figure 3 a/b
- Select the
Plugins - Plot Recording
menu, this will generate panel (a) - Select the
Plugins - Plot FI
menu, this will generate panel (b)
Screen shot of the main GUI.
Right click the dvdt plot and select Set dvdt Threshold
.
Figure 3a, the Plot Recording
plugin.
Figure 3b, the Plot FI
plugin.
Loading a folder, detect spikes in multiple files, and run the Plot Tool (pool) plugin¤
Recipe for remaking the SanPy manuscript Figure 4 from the GUI.
Please note, this will not be the same exact data but the plots will be similar.
- Run SanPy
- Use
Load Folder ...
to load the provided sample data in thedata/
folder. - Load and analyze two raw data files. Try with
19114001.abf
and20191009_0005.abf
- Use the
Set Meta Data
plugin to set theCondition1
of one file toControl
, and the other file toDrug
- Run the
Plot Tool (pool)
plugin - Set the interface as follows
- Plot Type: Violin Plot
- Hue: Condition1
- X-Stat: Condition1
- Y-Stat: Spike Frequency (Hz)
The plot in the plugin should look something like this
The step above can be repeated for any Y-Stat
such as Take Off Potential (mV)
or other.
Likewise, a scatter plot is easily created by selecting Plot Type Scatter Plot
and choosing the desired X-Stat and Y-Stat.
Load a file, detect spikes, set spike conditions and plot with Plot Tool plugin¤
Recipe for remaking the SanPy manuscript Figure 6 from the GUI.
Please note, this will not be the same exact data but the plots will be similar.
We are working on a recipe, check back soon!