Improve radiation script

This is an update of the radiation analysis scripts that I wanted to do for quite a while now.
(I took #219 as opportunity to include these improvements.)