|
2 | 2 |
|
3 | 3 | #************************************************************************************************* |
4 | 4 | #**") |
5 | | -#** Copyright (c) 2020-2021 Danny Petschke. All rights reserved. |
| 5 | +#** Copyright (c) 2020-2022 Dr. Danny Petschke. All rights reserved. |
6 | 6 | #**") |
7 | 7 | #** This program is free software: you can redistribute it and/or modify |
8 | 8 | #** it under the terms of the GNU General Public License as published by |
|
23 | 23 |
|
24 | 24 | __demoMode = True # disable if running from real data |
25 | 25 |
|
26 | | -# NOTE: spectrum and IRF (or mono-exponential decay spectrum) data vectors require equal length! |
| 26 | +# NOTE: SPECTRUM and IRF (or mono-exponential decay spectrum) data vectors require equal length! |
27 | 27 |
|
28 | 28 | __roi_start = 0 |
29 | | -__roi_end = 7400 |
| 29 | +__roi_end = 7400 # Note: number of channels is internally limited by CONTIN to <= 4000, so adjust the '__binFactor' in order to fit the given number of channels into this range |
30 | 30 |
|
31 | 31 | # file path (and name) to the SPECTRUM data: |
32 | 32 |
|
|
36 | 36 | __specDataDelimiter = '\t' |
37 | 37 |
|
38 | 38 | # file path (and name) to the IRF data: |
| 39 | + |
39 | 40 | __filePathRefOrIRFSpec = 'testData/ref_10ps.dat' |
40 | 41 | __refDataDelimiter = '\t' |
41 | 42 |
|
42 | | -# define the number of rows, which should be skipped during the import (e.g. for ignoring the header entries): |
| 43 | +# define the number of rows to be skipped during the import of the data (e.g. for ignoring the header entries): |
| 44 | + |
43 | 45 | __skipRows = 5; |
44 | 46 |
|
45 | 47 | # fixed mono-decay component in units of picoseconds [ps] (1/lambda = tau): |
46 | 48 |
|
47 | | -# Note: set to something like 1E-6 if you provide numerical IRF data as input |
48 | | -__tau_monoDecaySpec_in_ps = 182. #[ps] |
| 49 | +# Note: set to values below 1E-6 if you are providing numerical IRF data as input otherwise the decay rate in [ps]: |
| 50 | + |
| 51 | +__tau_monoDecaySpec_in_ps = 182. # [ps] |
| 52 | + |
| 53 | +# used to simulate the IRF in case of '__demoMode' == True: |
49 | 54 |
|
50 | 55 | __t_zero = 2000 # channel number |
51 | 56 | __irf_fwhm = [270.04,498.63] # [ps] |
52 | 57 | __irf_intensity = [0.9382,0.0618] # [ps] |
53 | 58 | __irf_t0 = [0.,6.6] # [ps] |
54 | 59 |
|
55 | | -# grid of characteristic lifetimes with equally distributed grid points defining the resulting intensity spectrum |
| 60 | +# grid of characteristic lifetimes with equally distributed grid points defining the resulting intensity spectrum to be expected as output: |
| 61 | + |
56 | 62 | __gridTau_start = 10.0 # [ps] |
57 | 63 | __gridTau_stop = 3000.0 # [ps] |
58 | | -__gridPoints = 100 # 10 ... 100 Note: this value is internally limited to 100 by CONTIN |
| 64 | +__gridPoints = 100 # 10 ... 100 Note: this value is internally limited by CONTIN |
| 65 | + |
| 66 | +# channel/bin resolution [ps]: |
| 67 | + |
| 68 | +__channelResolutionInPs = 10. # >= 10 ... Note: this value is internally limited by CONTIN. If lower, increase '__binFactor' to fit into this range |
| 69 | +__binFactor = 2 # Note: number of channels is internally limited by CONTIN to <= 4000, so adjust the '__binFactor' in order to fit the given number of channels into this range |
59 | 70 |
|
60 | | -# channel/bin resolution [ps] |
61 | | -__channelResolutionInPs = 5. # >= 10 ... Note: this value is internally limited by CONTIN |
62 | | -__binFactor = 1 |
| 71 | +# background estimation/calculation region: |
63 | 72 |
|
64 | | -# background estimation: |
65 | 73 | __bkgrd_startIndex = 6500; |
66 | 74 | __bkgrd_count = 900; # number of channels with respect to the 'startIndex' |
0 commit comments