API Reference
This page is auto-generated from the package source by Sphinx’s
autosummary extension. Adding a name to nstat.__all__
automatically makes it appear here on the next docs build — there is
no manual list to maintain.
The grouping below mirrors the categories in
Class Definitions and the public-API section of
AGENT_GUIDE.md. Click any symbol to jump to its rendered
docstring (with parameter tables, type hints, and links to source).
Core data primitives
|
Multi-dimensional time-series signal object (Matlab |
|
Canonical Pythonic signal abstraction for nSTAT. |
|
Canonical covariate type for model design matrices. |
|
Point-process (spike train) object (Matlab |
|
Canonical spike train type for point-process analyses. |
|
Experimental event markers for highlighting epochs in figures. |
|
Confidence interval for a time series or Covariate. |
Collections
|
MATLAB-facing spike-train collection class. |
|
Collection of aligned spike trains for ensemble analyses. |
|
|
|
Ordered collection of |
|
|
|
Ordered collection of |
Experiment and configuration
|
Single-trial data container binding spikes, covariates, and events (Matlab |
|
Description of a single GLM fit configuration. |
|
Spike-history basis defined by a set of window boundaries. |
|
Modeling and inference
|
Collection of static methods for GLM analysis of point-process data. |
|
Conditional Intensity Function for point-process modelling. |
|
Conditional intensity function abstraction used by standalone workflows. |
|
Conditional intensity function with closed-form derivatives. |
|
GLM fit results for one neuron across one or more model configs (Matlab |
|
Population-level summary across multiple neurons (Matlab |
|
MATLAB-compatible alias for FitSummary. |
|
Population-level (multivariate) time-rescaling GOF result. |
|
Multivariate (marked) time-rescaling goodness-of-fit for a population. |
|
Compute peri-stimulus time histogram (PSTH) from multiple spike trains. |
Decoding
|
Static-method library for neural decoding and state-space estimation. |
|
Canonical decoding API for the Python nSTAT package. |
|
|
Simulation
|
|
|
|
|
|
Simulate a spike train from a log-linear CIF driven by a stimulus. |
|
|
|
Standalone Python replacement for the MATLAB/Simulink 2-neuron NetworkTutorial. |
|
Plot style
|
Persist the plotting style for future sessions. |
|
Return the persisted global plotting style. |
|
Apply the current nSTAT plot style to a matplotlib figure or axes. |
Installation and data
|
Configure the Python package and optionally install example data. |
|
MATLAB-style alias that delegates to |
|
|
|
|
|
|
|
MATLAB-style tuple-returning alias for |
|
Return the canonical paper-example data directories. |
MATLAB bridge (optional)
|
Return True if |
|
Resolve the path to the MATLAB nSTAT repo containing |
|
Programmatically point to the MATLAB nSTAT repo. |
Exceptions and warnings
|
Raised when a required dataset is missing from the local checkout. |
|
Raised when MATLAB Engine interaction fails. |
|
Issued when MATLAB/Simulink is unavailable and the native Python simulation is used instead. |
|
Raised when MATLAB/Python parity validation fails. |
|
Raised when a legacy workflow has not yet been ported. |