brightnessPerBlock: The code for this looks completely wrong.
energyPerBlock: For this, the scaling of the heat map is too low. I think we don't scale these to the block size anymore. I think we should when outputting them to the file. Maybe we could even update the scale data after all the frames were written and track the maximum. (same for the others)
There are some issues with the yuview stats file: