Blog
Notes on signal processing, statistics, neuroscience and scientific programming.
-
Optimization models in Python with PuLP
Facility location, the p-median problem, the traveling salesman and vehicle routing, written as integer linear programs and solved in Python.
-
Numerical Hell: When Cross-Language Code Breaks (Part 1)
The same FIR filter gives different coefficients, and different detections, in MATLAB, Octave, Python and R.
-
EDF files' specification
A byte-by-byte tour of the EDF and EDF+ file formats for biomedical signals.
-
Innocent P-hacking
Why p-values estimated with too few simulations can lead to contradictory conclusions.
-
x86-assembling, cross-compilation and C
Building tiny cross-platform binaries for numerical C code with SmallerC and YASM.
-
Smoothing, exponential averages and digital filters
Exponential smoothing is a low-pass filter in disguise.
-
Spectrum and eigendecomposition
How the spectrum of a time series relates to the eigenvalues of its covariance matrix.