Example Index
A visual gallery of the runnable nSTAT examples, mirroring the MATLAB Examples help index. Start with the five paper examples (each a self-contained script with a generated figure gallery), then explore the workflow tutorial notebooks. See also the Paper-Aligned Toolbox Map.
Paper examples
The five canonical examples from Cajigas, Malik & Brown (2012), each reproduced as a standalone Python script. Click a card for its full figure gallery; the Paper Examples page lists every script, run command, and output.
Example 01
mEPSC Poisson models
Do mEPSCs follow constant vs piecewise Poisson firing under Mg²⁺ washout?
Example 02
Whisker-stimulus GLM
Do explicit stimulus and spike history sharpen thalamic GLM fits?
Example 03
PSTH and SSGLM dynamics
How do PSTH and state-space GLM capture within- and across-trial dynamics?
Example 04
Place-cell receptive fields
Which basis — Gaussian or Zernike — better fits hippocampal place cells?
Example 05
PPAF and PPHF decoding
How well do adaptive/hybrid point-process filters decode stimulus and reach state?
By concept — where to start
If you’ve read a Concepts page and want the matching runnable code, this table is the bridge. Tutorial scripts live in examples/tutorials/; the notebooks below are the MATLAB-help ports under notebooks/. New to nSTAT? Start with notebooks/00_getting_started.ipynb — a runnable end-to-end mirror of the 5-minute intro.
Concept page |
Tutorial scripts |
Notebooks |
Paper example |
|---|---|---|---|
– |
|||
|
Example 02 |
||
– |
– |
||
|
|
Example 05 |
|
Example 03 |
|||
– |
|||
– |
|||
|
– |
– |
|
|
– |
Example 04 |
Workflow tutorials
Executable notebooks that follow their MATLAB help-page counterparts step for step.
Simulation & example data
Fitting & analysis
Decoding & networks
Object & class references
Per-class scaffolds that mirror the MATLAB help index method-for-method. These are API reference stubs rather than standalone tutorials — see the Class Definitions and API Reference for the rendered docstrings.
SignalObjExamples CovariateExamples CovCollExamples nSpikeTrainExamples nstCollExamples EventsExamples HistoryExamples TrialConfigExamples ConfigCollExamples FitResultExamples FitResultReference FitResSummaryExamples
Supplementary checks
Small README demos that double as quick install and plotting checks.