-
Notifications
You must be signed in to change notification settings - Fork 0
/
Variables.m
47 lines (33 loc) · 1.36 KB
/
Variables.m
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
%% Variables file!
%tester
new = 1 % means it runs the newest fitting version; Suggested KEEP 1)
RunCrossCorrect = 1 % run 0 for non cross-correct run 1 for cross-correct
%% load file
%Filename (witout numbering, needs underscore after file name before numbering)
MainFILE = 'FF' % ('TOA-TOT-norm_145_50THL_20s_hits')
%Directory
UserDIR = '/Volumes/LACIESHARE/20190210/'
FileTYPE = '.h5' % (.h5)
NumberingFormat = '00000' % ('000000')
NumberofFiles = 30
%% Preperation'
%smoothing spline
strength = 5 %smoothing of curves over number of pixels for the Average curve.
%very important removes ToT' of all datasets from being processed for
%correction (13)
fromToT = 3 %start ToT %used to clear very small toT values (3)
toToT = 1024 % end ToT % could be used to set a final correction point (1024)
outlierRemovalStrength = 0.15
minimumCounts = 30000 %minimum counts for a pixel to be considered for a correction
%% bad pixels
BadP = 0 %2%(number of bad pixels) (10)
BadP_T = []%[118983 121208] % add bad pixels
%% For Average curve
stepAvg = 3 % Curve fitting bandstep (3) can fail at other settings
UsePoly = 3 % polynomal curve factor (poly 2 or 3 supported) poly 2 is considered to be inferior
%% Chip information
Dim_x = 256
Dim_y = 256
Chipnr = 4
%% Save Location and file name
resultfile = '/Users/ericva/Desktop/Maastricht/300um_Maastricht_Ikrum20.h5' % full save location