Few steps, python guide to particle tracking with Approximate Nearest Neighbor library Annoy.

Neighboring particle hits collected in “buckets”

For a refresher on processing and visualizing particles with Python, check out my earlier post. Tracking particles in High Energy Physics is about connecting together the hits produced by the same particle. In a typical High Luminosity collision event, 100K hits are produced by 10K particles leading to an average particle size of 10 hits.

The challenge is then to connect the right 10 hits together from a collection of similarly looking 100K hits and to do it under a second! This is the reason why we…


In few lines of code, explore an LHC simulated particle collision. As an ambitious physics student who wants to dive into the data analysis and machine learning world or as an experienced data wizard who wants to play with light-speed particles, this post will equip you with the technical hacks and scientific perspective you have been looking for!

But first, the data

Simulation data points generated when protons collide in the Large Hadron Collider (LHC). You like this visualization? Checkout my HEP viz post.

When protons collide at nearly the speed of light, thousands new particles emerge in the detector. Since every HEP detector is designed to trace the passage of particles, each interaction is recorded as a measurement. These are the measurements you can see…

Sabrina Amrouche

Data scientist / Physicist / Entrepreneur

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store