Code & Tools

Back to Home

Implementation of Susceptible-Infected-Susceptible (SIS) epidemic model for large and heterogeneous networks. Core algorithms written in Modern Fortran with a high-level Python interface (NumPy & NetworkX). Available as a Python package on PyPI (pip install dynSIS) with an interactive Google Colab notebook.

Efficient Gillespie algorithms for spreading phenomena in large and heterogeneous higher-order networks (simplicial complexes and hypergraphs). Implemented in Modern Fortran with Python interface compatible with HIF and XGI formats, published as a package on PyPI (pip install hyperSIS), and accompanied by an interactive Google Colab notebook. Published in Nature Communications 17, 8665 (2026).

Hands-on tutorial and interactive laboratory for simulating epidemic spreading phenomena on complex networks, prepared for the ENREDANDO 2026 school. Covers Homogeneous mixing, Heterogeneous mean-field (HMF), Quenched mean-field (QMF), and Optimized Gillespie algorithms (SIS-OGA). Includes runnable Google Colab notebook and reproducible Python code.

A modern Fortran random-number library centered on xoshiro256** as the default generator. Also implements the KISS (Keep It Simple Stupid) generator as derived types, enabling multiple independent RNG streams in scientific simulations. Available via Fortran Package Manager (fpm).

Continuous monitoring and standardized dataset of COVID-19 cases and deaths in Brazil at municipal and federative units level. Widely utilized by international and national monitoring platforms including Our World in Data (University of Oxford), Johns Hopkins University CSSE COVID-19 Dashboard, G1, and numerous academic studies.

COVID-19 Brazil Dashboard#

FeaturedDashboard

Interactive dashboard for visualizing COVID-19 cases and deaths in Brazil, based on the covid19br dataset. Provides time-series plots, a map and statistics in different levels from municipal to national.

Data processing pipelines for COVID-19 vaccination microdata from OpenDataSUS across all 27 Brazilian federative units. Generates standardized, compressed tabular outputs for epidemiological research. Developed at the Department of Physics of UFV as part of the CAPES epidemic modeling project.

Spatiotemporal risk map dashboard for COVID-19 spreading, developed with researchers from Universidad de Zaragoza and Universitat Rovira i Virgili.

NetworkF: Modern Fortran library for complex networks#

PrivatePackage

Base object-oriented Modern Fortran library for complex networks. Implements high-performance data structures, graph algorithms, and topological characterization with object-oriented programming (OOP) and Fortran Package Manager (fpm).

HyperNetF: Higher-order networks in Modern Fortran#

PrivatePackage

Object-oriented Modern Fortran framework for higher-order network structures (simplicial complexes and hypergraphs). Designed for large-scale structural analysis and fast traversal with OOP and Fortran Package Manager (fpm).

HyperDynF: Dynamical processes on higher-order networks in Fortran#

PrivatePackage

Modern Fortran framework for simulating dynamical and spreading processes running on higher-order networks and hypergraphs. Built with object-oriented design and Fortran Package Manager (fpm).

Object-oriented Modern Fortran module (tictoc_t) for measuring CPU execution and elapsed wall-clock time. Supports start/pause (tic/toc), cumulative timings, and formatted reporting. Available via Fortran Package Manager (fpm).

A comprehensive collection of common data structures and utility functions in Modern Fortran. Includes implementations for dynamic lists (dynamical_list_t), fixed-size lists (fixed_list_t), and max heaps (maxheap_t). Additionally provides various random sampler algorithms (sampler_base_t, choose_sampler) for weighted selection, and a hashing function (djb2). Available via Fortran Package Manager (fpm).

Modern Fortran module (pipe_mod) providing on-the-fly file compression and decompression using named pipes (FIFOs). Encapsulates the pipe_t derived type with pipe_writer and pipe_reader constructors supporting gzip, pigz, lz4c, and lzop. Modernized fork of SokolAK/Fortran-Data-Compression for the Fortran Package Manager (fpm).

mathtools-fortran: Computational physics and math routines#

PrivateCode

Collection of computational physics and numerical mathematics routines in Modern Fortran: power iteration method, Newton-Raphson nonlinear solvers, dynamic histogram builders, and statistical estimators. Built with Fortran Package Manager (fpm).

Data and simulation code for the research paper 'Effects of infection fatality ratio and social contact matrices on vaccine prioritization strategies' (Schulenburg, Cota, Costa, Ferreira). Simulation routines written in high-performance Fortran, with data analysis and plotting pipelines in Python (Pandas, Matplotlib, Seaborn).

Real-time scraper, parser, and converted CSV datasets from the Brazilian Electoral Court (Divulga TSE) for the second round of the 2022 federal elections, with municipal-level breakdowns and automated state charts.

Implementation of the one-dimensional Contact Process (CP) stochastic epidemic model written entirely in BIRL (Bambam's "It's time to build muscles" language), an esoteric programming language.

A lighthearted web application to scramble, anagram, and mix words and letters (labs.wcota.me).

Interactive tool that extracted and visualized friendship networks from Facebook profiles using the Facebook Graph API. (Historic report available at blog.wcota.me).