RESOURCES
Code, data, and notes.
A loose collection of things I've built or written that might be useful to other people — small tools, research code released alongside papers, a couple of datasets, and a few notes.
§ 01 — Tools
Tools.
Small utilities I've built for my own workflow that happen to be useful to other people too.
-
TERMINAL
TODO listGITHUB ↗
A customised version of the Todo.txt utility — keep your to-do list directly from the terminal.
-
TELEGRAM
Reminders BotGITHUB ↗
A small Telegram bot that sends scheduled reminders. I use it to nudge my students about deadlines.
-
TELEGRAM
Memes BotGITHUB ↗
A Telegram bot that drops random memes I keep handy for the Computational Physics class.
§ 02 — Data
Data.
-
NETWORKS
Hospital networksGITHUB ↗
Network data used in Assessing the risk of spatial spreading of diseases in hospitals (Front. Phys., 2022).
§ 03 — Code
Research code.
Mostly research code released alongside papers, grouped by language. Use at your own risk — much of it was written under deadline.
-
C
COVID-19 modellingGITHUB ↗
Baseline scenario from Modelling the impact of testing, contact tracing and household quarantine on second waves of COVID-19 (Nat. Hum. Behav., 2020) and the PNAS 2022 follow-up.
-
C · Python
Economy & COVID-19ZENODO ↗
Code for the epidemic (C) + economic (Python) model from The unequal effects of the health–economy trade-off during the COVID-19 pandemic (Nat. Hum. Behav., 2023).
-
C
SIR on a network — GillespieGITHUB ↗
Quick-and-dirty SIR simulations on a network using the Gillespie algorithm.
-
Python
Hospitalisation dynamicsGITHUB ↗
Code from Unraveling the COVID-19 hospitalisation dynamics in Spain using Bayesian inference (BMC Med. Res. Methodol., 2023).
-
Python
Transfer entropy & epidemicsGITHUB ↗
Code from Informational approach to uncover the age-group interactions in epidemic spreading from macro analysis (Phys. Rev. E, 2024).
-
Python
Worm co-propagation — GillespieGITHUB ↗
Co-propagation of two worms in a network via Gillespie, used in Dynamics of defensive and malicious worm co-propagation across networked systems (Chaos Soliton. Fract., 2025).
-
R
Thesis ggplot2 scriptsGITHUB ↗
The R scripts that produced the plots in my Ph.D. thesis. Examples included — feel free to crib.
§ 04 — Other
Other things.
-
UNITY · C#
Astro PuttGITHUB ↗
My B.Sc. final project — a VR golf videogame set in space, built in Unity and C#.
-
BOOKDOWN
Networks, Epidemics, and Collective BehaviorBOOKDOWN ↗
My Ph.D. thesis in bookdown — Chapters 1–2 on the link between physics and networks, Chapter 3 a brief history of epidemic modelling, the last chapter on Pokémon and Forocoches.