Collected below are projects for my own PhD research in computational and cognitive (neuro)science, stuff I contribute to, as well as some fun personal projects. Associated code and papers are included wherever possible.

Modeling and Decomposing Neural Field Potentials

What: In this set of works, I build computational models of neural field potentials (e.g., ECoG) from populations of neurons, and then try to work backwards and infer variables about the neural population from both simulated and experimental field potential recordings.

Why: Features of the neural field potentials, such as oscillations and asynchronous activity, are routinely used in cognitive neuroscience as biomarkers of behavior, cognition, and disease, yet we have very little idea about how these mesoscale population-level signals come about. Personally, rather than just measuring them, I think having a theory-driven forward model of the signals we use would help us in better linking them with the behavioral variables we’re ultimately interested in.

Measuring Asynchronous (Stochastic) Population Firing (on-going)


Inferring Synaptic Excitation-Inhibition Balance (2017)

GitHub Paper Blog Post

Relating Spectral Power Law Changes to Population Firing Rate (2016)

GitHub Paper Blog Post

App beautiful app courtesy of Erik Peterson

Development of Network Activity in Brain Organoids

What: Collaborating with the Muotri Lab at UCSD, we (read: they) have developed human induced pluripotent stem cell (hiPSC)-derived brain organoids that display spontaneous and oscillatory network activity over a long developmental period. My role has since been to analyze the electrophysiological data (spiking and LFP) to characterize the developmental trajectory of network activity and relating it to structural and molecular variables, as well as unexpectedly learning a lot about electrical activity-dependent neurodevelopment in-vivo.

Why: Figuring out how neurons in the brain organize themselves over time, both structurally and dynamically, is one of the biggest ongoing challenges in systems and cognitive neuroscience. Brain organoids have recently emerged as a great model for neurodevelopment, having been shown to mimic in-vivo neurodevelopment structurally and in gene expression. By also tracking the emergence of network dynamics over time, as well as continuing to engineer models with higher fidelity, I’m hoping we can dissect how neural circuits organize themselves from the moment neurodevelopment begins, and learn when and how it goes wrong in diseases.

Nested Oscillatory Network Dynamics in Human Cortical Organoids (preprint)

GitHub Paper

(repo contains code for preprocessing Axion Maestro multi-electrode array data.)

Defining “Cognition” and “Cognitive Processes”

What: This hacked-up project that first took a week to implement has turned into a full ideological commitment. I scraped from scientific publications usages of “cognitive processes” words, like ‘attention’ and ‘memory’, and compare 1) which of these cognitive processes are similar, at least from the (crude) perspective of how scientists use them, and 2) how cognitive scientists and neuroscientists use them differently.

Why: Much of cognitive science and cognitive neuroscience aim to characterize and understand “cognitive processes” - processes of the mind that are internal to the organism. Going into my PhD as a freshly minted engineer, it bothered me to no end that there were very few concrete and non-circular definitions for these processes. Precisely because they are internal processes, definitions are hard to pin down, so I took a behaviorist approach and looked at how cognitive scientists and neuroscientists use them in relation to each other in practice - sometimes using the same words to mean very different things - by generating a data-driven ontology scrapped from scientific abstracts. Inspired by Cognitive Atlas, Neurosynth, ERP-SCANR, and BrainSCANR.

Automated Generation of Cognitive Ontology via Web Text-Mining

GitHub Paper

Other Science Projects

Parameterizing Neural Power Spectra - Fitting Oscillatory Peaks and 1/f background (FOOOF).

GitHub Paper

neurodsp - Toolbox for Analyzing Time Series Data in Neuroscience