Nice. Maybe a practical implementation would be to take the picture when a certain steady threshold is reached. Like when you handhold a 500mm lens press shutter and then try to hold it as still as possible to avoid shake. If you don't reach the chosen threshold value, you should try other hold positions and measure if that improves stability.