Sage calculations of the flux and energy for H-Rays