Blog
Articles about computational science and data science, neuroscience, and open source solutions. Personal stories are filed under Weekend Stories. Browse all topics here. All posts are CC BY-NC-SA licensed unless otherwise stated. Feel free to share, remix, and adapt the content as long as you give appropriate credit and distribute your contributions under the same license.
tags · RSS · Mastodon · simple view · page 1/16
Distinguishing correlation from the coefficient of determination: Proper reporting of r and R²
I noticed that people sometimes report R² (‘R-squared’) instead of the Pearson correlation coefficient r when discussing the correlation between two variables. In the special case of a simple linear relationship this numerical equality is not strictly wrong, yet presenting R² as if it were the correlation coefficient might wrongly give the impression they are the same thing. In this post, we will therefore unpack the difference between these two measures, explain their mathematical definitions and proper usage discuss the best practices for when to use each in statistical reporting.
Rate models as a tool for studying collective neural activity
Rate models provide simplified representations of neural activity in which the precise spike timing of individual neurons is replaced by their average firing rate. This abstraction makes it possible to study the collective behavior of large neuronal populations and to analyze network dynamics in a tractable way. I recently played around with some rate models in Python, and in this post I’d like to share what I have learned so far about their implementation and utility.
On the role of gap junctions in neural modelling: Network example
As a follow-up to our previous post on gap junctions, we will now explore how gap junctions can be implemented in a network of spiking neurons (SNN) using the NEST simulator. Gap junctions are electrical synapses that allow direct electrical communication between neurons, which can significantly influence the dynamics of neural networks.
On the role of gap junctions in neural modelling
Gap junctions are specialized intercellular connections that facilitate direct electrical and chemical communication between neurons. Unlike synaptic transmission, which involves neurotransmitter release, gap junctions enable the direct passage of ions and small molecules through channels formed by connexins, leading to synchronized neuronal activity. In computational neuroscience, modeling gap junctions is crucial for understanding their role in neural network dynamics, synchronization, and various brain functions.
Shared dynamics, diverse responses: decoding decision-making in premotor cortex
Last week, I presented a recent study by Genkin et al., The dynamics and geometry of choice in the premotor cortex, in our Journal Club, and I found it conceptually compelling enough to summarize it here as well. The paper explores how perceptual decisions are encoded not in isolated neural responses but in population-wide latent dynamics. Traditionally, the neuroscience of decision-making has focused on ramping activity in individual neurons, heterogeneous peristimulus time histograms (PSTHs), and decoding strategies based on trial-averaged firing rates. In contrast, this work proposes that a shared low-dimensional decision variable evolves over time and explains the observed diversity in single-neuron responses. In our discussion, we focused on the paper’s central figures, using them to guide a step-by-step reconstruction of the study’s logic and findings.
Reflections on joining Bluesky: Opportunities and risks for the scientific community
Over the past two weeks, I have taken a closer look at Bluesky, exploring its features and dynamics through the lens of my own experience within the neuroscience community. So far, my impressions have been mixed: while some aspects of Bluesky are genuinely promising, others evoke certain concerns about the future of scientific communities on digital platforms. In this post, I would like to share a personal reflection on this recent shift, situating it within the broader context of academic social media migration.
New teaching material: Functional imaging data analysis – From calcium imaging to network dynamics
We have just completed our new course, Functional Imaging Data Analysis: From Calcium Imaging to Network Dynamics, for the first time as part of the Master of Neuroscience program. This course is now available freely online under ‘Teaching’, alongside my other open educational materials. All resources were created with a strict focus on open content and reproducibility, so that anyone interested can make full use of the lectures, figures, and example code without copyright concerns. Feel free to use and share it.
Miniforge: The minimal, open solution for institutional Python environments
DEVONthink has long been my preferred tool for managing personal knowledge. Its smart features, like automatic Wiki-links and AI-based classification, make it ideal for organizing interconnected notes. But these links often stay invisible without a visual layer. To address this, I developed a tool that generates interactive local graphs, embedded directly into each note. These graphs reveal how notes connect, highlighting clusters and patterns that text alone might miss. Fully local and integrated into DEVONthink 3, the system offers a lightweight way to navigate Markdown notes spatially. After refining it for my own workflow, I’m now sharing it for others who might benefit from clearer structure and better insight into their knowledge base.
Exploring connected notes: Local graph views for DEVONthink knowledge bases
DEVONthink has long been my preferred tool for managing personal knowledge. Its smart features, like automatic Wiki-links and AI-based classification, make it ideal for organizing interconnected notes. But these links often stay invisible without a visual layer. To address this, I developed a tool that generates interactive local graphs, embedded directly into each note. These graphs reveal how notes connect, highlighting clusters and patterns that text alone might miss. Fully local and integrated into DEVONthink 3, the system offers a lightweight way to navigate Markdown notes spatially. After refining it for my own workflow, I’m now sharing it for others who might benefit from clearer structure and better insight into their knowledge base.
Astrocytes enhance plasticity response during reversal learning
Astrocytes, a type of glial cell traditionally considered support cells in the brain, are now recognized as active participants in synaptic plasticity and memory. I found this development particularly compelling and presented the following study in our Journal Club. The paper by Squadrani et al. (2024) explores the role of astrocyte-mediated D-serine regulation in modulating learning flexibility, particularly during reversal learning — the ability to adapt to changes in the environment. The work builds on prior experiments by Bohmbach et al. (2022), which identified an astrocyte-neuron feedback loop involving endocannabinoids and astrocytic D-serine release in the hippocampus.