A Diagnostic Method for Time Resolved Spatial Profile Measurements of Proton and Impurity Density and Temperature