Skip to content

pyTailFit - A simple Python program enabling tail-fitting for the analysis of lifetime spectra using least-square optimization.

License

Notifications You must be signed in to change notification settings

dpscience/pyTailFit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Support this project and keep always updated about recent software releases, bug fixes and major improvements by following on github.

badge-followers badge-stars badge-forks

pyTailFit

badge-language badge-license

Copyright (c) 2021 Danny Petschke (danny.petschke@uni-wuerzburg.de). All rights reserved.

pyTailFit - A simple Python program enabling tail-fitting for the analysis of lifetime spectra using least-square optimzation.

Quickstart Guide (see example.py)

  • import the 'pyTailFit' module
import pyTailFit as ptf
  • import your data (or generate it synthetically) and apply the fit using pyTailFit ...
__,spectrum  = np.loadtxt('.../test-data.dat', delimiter='\t', skiprows=5, unpack=True, dtype='float')
        
time,data,fit=ptf.tail_fit(spectrum=spectrum[:],no_of_expected_decays=1,no_chn_right_of_peak=400,bin_width_in_ps=8.)

How to cite this Software?

  • You should at least cite the applied version of this program in your study.

You can cite all versions by using the DOI 10.5281/zenodo.5520010. This DOI represents all versions, and will always resolve to the latest one.

DOI

v1.x

pyTailFit v1.0
DOI

License of pyTailFit (GNU General Public License)

Copyright (c) 2021 Danny Petschke (danny.petschke@uni-wuerzburg.de) All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

For more details see GNU General Public License v3