-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsample_parameters.dat
More file actions
74 lines (59 loc) · 2.88 KB
/
Copy pathsample_parameters.dat
File metadata and controls
74 lines (59 loc) · 2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
EXPERIMENT_DATA ../na25_expt/thick_1042gate_5keVch.mca
REBIN_FACTOR 1
ADD_BACKGROUND const
FORCE_POSITIVE_AMPLITUDE yes
USE_RELATIVE_INTENSITIES yes
PLOT_OUTPUT no
VERBOSE no
SIMULATED_DATA ../4969/10/sim_5keVch_biased.mca
SIMULATED_DATA ../4969_6739feeding/10/sim_5keVch_biased.mca 0.158906936183264 0.214985815679432
SIMULATED_DATA ../4969_7621feeding/10/sim_5keVch_biased.mca 0.121194526670479 0.224866235588867
SPECTRUM START_CHANNEL END_CHANNEL
1 305 315
2 302 318
3 295 315
4 285 315
5 285 300
6 285 300
<---END_OF_PARAMETERS--->
This is a parameter file for the peak comparison code.
The code will analyze and compare data in the two specified .mca files,
in the specified range of spectra and channels. If you change the
format of the file, prepare for unforeseen consequences.
Valid parameters and their descriptions follow:
EXPERIMENT_DATA
Contains the path to the .mca or .fmca file containing experiment data.
REBIN_FACTOR
An integer value between 1 and 100, specifying a factor to rebin the imported spectra by (default 1).
ADD_BACKGROUND
no: Don't add any background.
const: Add a constant background to the simulated data.
lin: Add a linear background to the simulated data.
quad: Add a quadratic background to the simulated data.
FORCE_NEGATIVE_SLOPE_BACKGROUND
yes: Force the background term to decrease (or stay constant) with increasing energy.
no: Leave background parameters free.
PLOT_OUTPUT
no: Show chisq stats only.
yes: Show a plot of the simulated and experimental data alongside chisq stats.
detailed: Same as 'yes', except plot all simulated datasets and background as well.
detailed_nobg: Same as 'detailed', except don't show background.
VERBOSE
no: Only print the fit chisq value (useful for interfacing with bash scripts).
yes: Print the results of reading in the parameter file and fitting.
debug: Print the above plus debug info.
SAVE_RESULTS
no: Do not save fit results.
yes: Save fit results to a file (fit_poisson.fmca) alongside scaling factors (scalingFactors.dat).
SIMULATED_DATA
Contains the path(s) to the .mca or .fmca file(s) containing simulated data.
Multiple datasets may be specified, each on a separate line.
Two numbers can be specified after the filename, corresponding
to low and high limits for the relative intensity of that data,
relative to any other datasets specified. Note: Intensity limits are
only valid for the second and later files, the first file will be assumed
to have relative intensity 1.
SPECTRUM START_CHANNEL END_CHANNEL
Contains a list of the spectra to analyze in the experiment and simulated data,
along with the channel range to analyze. Multiple spectra may be specified,
each on a separate line. Channel numbers are specified assuming a rebin factor of 1.