Searcharxiv⌕ Search

arXiv · 2610.26304

PyGPLA: A Python Package for Generalized Phase Locking Analysis

Abstract

Spike-field couplings measure the links between neuronal spiking and local field potential (LFP) and provide a tool to study how neural populations coordinate activity across spatial and temporal scales. While modern high-density electrophysiology enables the simultaneous recording of numerous LFP channels and neuronal units, this massive scale poses significant statistical and computational challenges for conventional pairwise coupling analyses. The number of channel-unit comparisons grows rapidly, and a coherent population-level structure can be obscured by high-dimensional coupling matrices. Generalized Phase Locking Analysis (GPLA) addresses this challenge by organizing spike-triggered LFP phase information into a complex coupling matrix and extracting dominant low-rank modes. These modes summarize whether a population is coupled to the field, which channels and units contribute to the coupling, and how their relative phases are organized. Here, we present PyGPLA, an open-source Python package implementing GPLA for high-density electrophysiological recordings. Designed for straightforward integration into existing neural data analysis pipelines, PyGPLA supports multivariate spike-LFP coupling analysis, from coupling estimation and interpretation to significance assessment using analytical and surrogate-based tests.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Amir Khani, Christian Beste, Shervin Safavi. 2026-10-19. PyGPLA: A Python Package for Generalized Phase Locking Analysis. https://arxiv.org/abs/2610.26304

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

On sources to variabilities of simple cells in the primary visual cortex: A principled theory for the interaction between geometric image transformations and receptive field responses

This paper gives an overview of a theory for modelling the interaction between geometric image transformations and receptive field responses for a visual observer that views objects and spatio-temporal events in the environment. This treatment is developed over combinations of (i) uniform spatial scaling transformations, (ii) spatial affine transformations, (iii) Galilean transformations and (iv) temporal scaling transformations. By postulating that the family of receptive fields should be covariant under these classes of geometric image transformations, it follows that the receptive field shapes should be expanded over the degrees of freedom of the corresponding image transformations, to enable a formal matching between the receptive field responses computed under different viewing conditions for the same scene or for a structurally similar spatio-temporal event. We conclude the treatment by discussing and providing partial support for a working hypothesis that the receptive fields of simple cells in the primary visual cortex ought to be covariant under these classes of geometric image transformations, and thus have the shapes of their receptive fields expanded over the degrees of freedom of the corresponding geometric image transformations.

q-bio.NC↗

Affective Valence as the Interoceptive Rate of Change of Jacobian Scale

Affect is widely held to depend on interoception. This paper proposes that valence is the rate at which interoception moves a self-sustaining system's responsiveness relative to its terminal set (roughly, death). Responsiveness is formalised as the scale of the system's Jacobian and interoception as its internal inputs: receptors, signals and forecasts of its energy reserve. Changes in responsiveness that bypass interoception, such as brain damage, are not felt. Language models have no valence because they are not self-sustaining. The chain rule splits valence over the system's parts and the causes that affect its internal inputs. With the log scale, these splits account for need-dependent pleasure, diffuse hunger and localised pain, negativity bias, and relief when a threat fails to arrive. In a minimal model of a body: (1) Blocking the reserve signal leaves depletion unfelt, and driving it produces hunger with an undepleted reserve. (2) Removing receptors or their gain, or driving receptors, reproduces congenital insensitivity to pain, asymbolia and phantom pain. (3) A receptor gain learned to sustain the body signals local damage to the whole body, so an injury hurts in proportion to its cost. (4) If the reserve also modulates the gain, the body learns to suppress pain due to receptors as energy runs low. (5) When it learns to maximise its own scale, it becomes a wirehead. The account explains when changes are felt, where they are felt, and when feelings mislead.

q-bio.NC↗

Does a Flux-Defined Markov Blanket Screen Self-Replicating Gray--Scott Spots? A Computational Test of a Blanket Condition from the Free Energy Principle

Friston's free energy principle holds that a system separated from its environment by a Markov blanket---a boundary whose states statistically screen its interior from its exterior---can be treated as performing approximate Bayesian inference, and that such blankets arise wherever coupling is short-range. We test this blanket condition in a concrete nonlinear pattern-forming system: self-replicating spots in a reaction-diffusion model that persist, compete, and reproduce. Directed boundary exchange and timescale separation hold up reasonably well, with qualifications. A flux-defined blanket does not screen interior from exterior. Flux removes only part of the linear dependence, and a nonlinear test shows that conditioning on flux \emph{increases} the dependence, consistent with conditioning on a collider, since flux is a joint function of concentrations on both sides of the boundary. The dependence is concentrated within about one organism radius of the boundary. A band of the surrounding field that thick screens the interior from the exterior beyond it, as any short-range field would, which is not evidence of inference.

q-bio.NC↗