fit_seq Basic Example¶
Basic usage example for fit_seq utility. Yon can find example file from TRXASprefitpack-example fit_seq subdirectory.
In fit_seq sub directory you can find
example_1.txt,example_2.txt,example_3.txt,example_4.txtfiles. These examples are generated from rate equation example section 1. sequential decay with varying time zero of each scan around -150 ps.Type
fit_seq -hThen it prints help message. You can find detailed description of arguments in the utility section of this document.Type
fit_seq example -sdt 1 --irf g --fwhm_G 100 -t0 -150 -150 -150 -150 --tau 500 10000 --no_baseThe first and the only one positional argument is prefix of time delay scan file to read. In this example you set four initial time zero parameter-t0 -150 -150 -150 -150, so it searchsexample_1.txt,…,example_4.txtfiles and read them all. If you set one initial time zero parameter like-t0 -150then it reads only one fileexample_1.txteven though there are four of files whoose prefix isexample. First optional argument-sdtor--seq_decay_typesets the type of sequential decay. In this example we set--sdt1, no raising. Second optional argument--irfset temporal shape of probe pulse. In this example we set--irftog, gaussian shape. Third optional argument--fwhm_Gis initial full width and half maximum of temporal shape of probe pulse. Since we use gaussian shape irf, we need to set initialfwhm_G. Fourth optional argument is--tauinitial lifetime constant for each decay. In this example we set two decay lifetime component with initial value 500, 10000 respectively. If--no_baseis not set, it will use infinite life time component to fit long lived spectral feature (eventhough it does not exist). Thus if you think there is not long lived spectral feature in your time delay scan result please set--no_baseoption to avoid over fitting.After fitting process is finished, you can see both fitting result plot and report for fitting result in the console. Upper part of plot shows fitting curve and experimental data. Lower part of plot shows residual of fit (data-fit).

In the excited state contribution section in the fitting result report, you can find contribution of each excited state in each time delay scan.

Close all fitting result plot windows then
example_abs.txt,example_fit.txt,example_fit_report.txtandexample_res_i.txtfiles will be generated.
example_abs.txt contains coefficient of each excited states in each time delay scan
example_fit.txt contains fitting curve of time delay scan
example_fit_report.txt contains fitting result report.
example_res_i.txt contains residual of time delay scan (data-fit)