![]() ![]() ![]() Version 2 does not include the graphic capabilities, and thus does not require some of the additional python packages necessary for plotting. It will also create graphs for the center, FWHM, intensity, and calibrated intensity. It will output individual space delimited txt files for each peak. This python script will parse the peak data output by Fityk when running the generated Fityk script. This output txt file can be parsed using the peaks.py script. The generated Fityk script will create a space delimited text file that contains all the peak parameters and uncertainties for each spectrum. The first spectrum in the series needs to be manually fit initially using Fityk, to create the desired peaks, and to determine the appropriate background, if any, that should be subtracted from each spectrum. This generated text file will be of the form _script_sample_name.fit This python script will generate a text file that can be executed as a script by Fityk which will open up, fit, and output parameters of a series of space delimited spectra. The scripts will assist in fitting and analyzing large amounts of spectra acquired from the same sample or something that where the expected Spectrum changes gradually, such as a linescane or a temperature-dependent experiment. These scripts are compatible with Fityk 0.9.8. These are a series of python 2.7 scripts that make use of the wonderful fitting software, Fityk, which has an available 0.9.8 version for free, written by Marcin Wojdyr. Iterative Spectral Fitting with Fityk and Python ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |