pro sox22tem, fdir, klist, save=save, ps=ps ;+ ; NAME: ; SOX22TEM ; PURPOSE: ; Make a single electron temperature analysis with Fe ion fractions (H/He & Li/He) ; as free parameters ; EXPLANATION: ; Creating time integrated Level1 dataset to fit synthetic spectra and to derive ; physical parameters of an electron temperature and H/He and Li/He iron ion ; fractions. ; CALLING SEQUENCE: ; SOX22TEM, fdir, klist, save=save, ps=ps ; INPUTS: ; fdir Level1 file containing directory and file name (fdir-1.sav) ; klist klist(0): integration start spectrum number ; klist(1): number of spectral integration ; KEYWORDS ; save option for saving observed and fit spectra with fit parameters ; ps option for ps file ; MODIFICATION HISTORY: ; 8-Mar-2020 TW - Version 1.0