Python scripts for radiation calculations