-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConstants.py
40 lines (38 loc) · 939 Bytes
/
Constants.py
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
serName = 'd'
nFiles = 20
# dimSize = 1024
dimSize = 2048
numInFocus = 10
idxInFocus = numInFocus - 1
refIdx = 10
predefDfStep = 2.0e-9
nIterations = 20
# pxWidth = 20.5144e-12 # 380kx
pxWidth = 10.3935e-12 # 720kx
# pxWidth = 718.243e-12
# pxWidth = 359.122e-12
# pxWidth = 286.515e-12
# pxWidth = 143.258e-12
# pxWidth = 20.5144e-12
# pxWidth = 634.331e-12
# pxWidth = 502.377e-12
# pxWidth = 141.918e-12
# pxWidth = 390.772e-12
# pxWidth = 52.8781e-12
ewfLambda = 1.97e-12
dfStepMin, dfStepMax, dfStepChange = 0.4, 1.2, 0.02
ccWidgetDim = 768
padFactor = 512
minPxThreshold = 0.1 # 10%
maxPxThreshold = 2.0 # 200%
inputDir = 'input/'
resultsDir = 'results/'
imgResultsDir = resultsDir + 'img/'
ccfResultsDir = resultsDir + 'ccf/'
focResultsDir = resultsDir + 'foc/'
cropResultsDir = resultsDir + 'crop/'
ccfMaxDir = resultsDir + 'ccfmax/'
ccfName = 'ccf'
focName = 'foc'
cropName = 'crop'
ccfMaxName = 'ccfmax'