Skip to content

Commit 58f9801

Browse files
author
dpscience
committed
update readme
update readme
1 parent 002d263 commit 58f9801

File tree

1 file changed

+25
-17
lines changed

1 file changed

+25
-17
lines changed

README.md

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# DLTReconvolution
2-
Copyright (c) 2016-2018 Danny Petschke ([email protected]). All rights reserved.<br><br>
2+
Copyright (c) 2017-2019 Danny Petschke ([email protected]). All rights reserved.<br><br>
33
DLTReconvolution - A Python based Software for the Analysis of Lifetime Spectra using the iterative least-square Reconvolution Method
44

55
# Short Introduction
@@ -19,14 +19,13 @@ DLTReconvolution - A Python based Software for the Analysis of Lifetime Spectra
1919
```python
2020
#save output as *.txt file after success?
2121
__saveReconvolutionSpectrum = False
22-
__saveReconvolutionSpectrumPath = 'testData/recovolutionSpectrumOutput.txt'
23-
__saveReconvolutionSpectrumResidualPath = 'testData/recovolutionSpectrumResidualsOutput.txt'
22+
__saveReconvolutionSpectrumPath = 'output/...*txt'
23+
__saveReconvolutionSpectrumResidualPath = 'output/...*txt'
2424

2525
#!note: IRF output is only saved if the model function is used, meaning--> (__bUsingModel = True)
2626
__saveReconvolutionIRF = False
27-
__saveReconvolutionIRFPath = 'testData/recovolutionIRFOutput.txt'
28-
__saveReconvolutionIRFResidualPath = 'testData/recovolutionIRFResidualsOutput.txt'
29-
27+
__saveReconvolutionIRFPath = 'output/...*txt'
28+
__saveReconvolutionIRFResidualPath = 'output/...*txt'
3029

3130
#channel/bin resolution [ps]
3231
__channelResolutionInPs = 5.0
@@ -35,13 +34,13 @@ __channelResolutionInPs = 5.0
3534
__binningFactor = 1;
3635

3736
#expected number of components (number of exponential decay functions - LIMITED to MAX: 4):
38-
__numberOfExpDec = 2
37+
__numberOfExpDec = 3
3938

4039
#expected lifetimes (tau) -> start values in [ps] (required for the levenberg marquardt fit using lmfit library)
4140
#note: only the first '__numberOfExpDec' related values are considered (e.g.: for __numberOfExpDec = 2 --> __expectedTau_1_in_ps AND __expectedTau_2_in_ps)
42-
__expectedTau_1_in_ps = 240.0;
43-
__expectedTau_2_in_ps = 1200.0;
44-
__expectedTau_3_in_ps = 2800.0;
41+
__expectedTau_1_in_ps = 190.0;
42+
__expectedTau_2_in_ps = 385.0;
43+
__expectedTau_3_in_ps = 1200.0;
4544
__expectedTau_4_in_ps = 160.0;
4645

4746
#background estimation (right side of spectrum data):
@@ -51,19 +50,27 @@ __bkgrd_count = 999;
5150
#fixed background? (value of estimated background is used)
5251
__bkgrdFixed = False;
5352

53+
#NOTE: Spectrum and IRF (or mono-exponential decay spectrum) data vectors require equal length!!!
5454

55-
#NOTE: Spectrum and IRF data vectors require equal length!!!
55+
#define the number of rows which should be skipped during the import:
56+
__skipRows = 5;
5657

5758
#file path which contains the SPECTRUM data:
58-
__filePathSpec = 'testData/spectrum_5ps.dat'
59+
__filePathSpec = 'testData/bi207_ref/sn_5ps.dat'
5960
__specDataDelimiter = '\t'
6061

6162
#file path which contains the IRF data:
62-
__filePathIRF = 'testData/irf_5ps.dat'
63+
__filePathIRF = 'path to irf data'
6364
__irfDataDelimiter = '\t'
6465

65-
#define the number of rows which should be skipped during the import:
66-
__skipRows = 0;
66+
67+
#set TRUE if the irf is retrieved from a mono-exponential decay spectrum such as well annealed metals or 207-Bi (in this case, the IRF data will be ignored):
68+
__bUsingMonoDecaySpecForIRF = True
69+
70+
__tau_monoDecaySpec_in_ps = 182.0 #[ps] 207-Bi
71+
72+
__filePathMonoDecaySpec = 'testData/bi207_ref/bi207_5ps.dat'
73+
__monoDecaySpecDataDelimiter = '\t'
6774

6875
#using model function for IRF?
6976
__bUsingModel = False
@@ -94,6 +101,7 @@ You can cite all versions by using the <b>DOI 10.5281/zenodo.1255105</b>. This D
94101
## v1.x
95102
DLTReconvolution v1.0:<br>[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1255106.svg)](https://doi.org/10.5281/zenodo.1255106)<br>
96103
DLTReconvolution v1.1:<br>[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1414107.svg)](https://doi.org/10.5281/zenodo.1414107)<br>
104+
DLTReconvolution v1.2:<br><b>not officialy released yet...<br>
97105

98106
# Requirements
99107
- [LMFIT](https://lmfit.github.io/lmfit-py/model.html)
@@ -104,7 +112,7 @@ DLTReconvolution v1.1:<br>[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14
104112

105113
# License (BSD-3-Clause)
106114

107-
Copyright (c) 2016-2018 Danny Petschke ([email protected]). All rights reserved.<br><br>
115+
Copyright (c) 2017-2019 Danny Petschke ([email protected]). All rights reserved.<br><br>
108116

109117
Redistribution and use in source and binary forms, with or without modification,<br>
110118
are permitted provided that the following conditions are met:<br><br>
@@ -131,4 +139,4 @@ are permitted provided that the following conditions are met:<br><br>
131139
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,<br>
132140
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<br>
133141

134-
see also [BSD-3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
142+
see also [BSD-3-Clause License](https://opensource.org/licenses/BSD-3-Clause)

0 commit comments

Comments
 (0)