Generation And Modeling Of Radiation For Clinical And Research Applications