Text this: A Method for Calculating Atmospheric Radiation Produced by Relativistic Electron Precipitation