This is a partial python adaptation of JS script by Pierre Markuse(@pierre_markuse) for wildfire and burn scar visualization in Sentinel-2 images
Original script is here
You need only numpy & matplotlib to run this demo
Used in mass processing of images for a project about field fires (mainly due to stubble burning) in Ukraine, by Texty.org.ua. We've found and processed thousands satellite photos from burning areas to visualize scale of a problem. The project is here. Right now it's in Ukrainian only, but with many interesting pictures: