Conversion electron spectra: A line shape analysis for permanent magnet spectrographs