forked from kegge13/BistroMath
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBistroMath_opt.inc
105 lines (76 loc) · 2.46 KB
/
BistroMath_opt.inc
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{21/02/2020}
{$INCLUDE TOunits\TOmath_opt.inc}
//use list of scans in multiple scan reference}
{$DEFINE MULTIREF_INDEX}
//derivative over a fixed distance independent of the steps with at least 3 points
{$DEFINE FIXED_DISTANCE_DERIVATIVE}
//filter over a fixed distance independent of the steps with at least 3 points
{$DEFINE FIXED_DISTANCE_FILTER}
{25/05/2020}
//discrete fixed distance stepping filter to avoid floating point rounding errors (QuadFilter and Derive)
//needed for port to FPC to get comparable results with Delphi7
{$DEFINE DISCRETE_FIXED_DISTANCE}
//use threaded versions of calculation intensive code
{$DEFINE THREADED}
{09/08/2015: THREAD_PLOT and THREAD_FILES added}
{11/02/2021: THREADED_AMOEBE transferred from TOmath}
{$IFDEF THREADED}
//for development/testing only
{.DEFINE THREAD_USESTATS}
//use threads for fillseries proves to be stable, marginally faster
{$DEFINE THREAD_PLOT}
//use thread for filesearch, problematic
{.DEFINE THREAD_FILES}
//use multiple threads for pddfit
{$DEFINE THREADED_AMOEBE}
//show messages on locked curves
{.DEFINE LOCKING_MSSG}
{$ENDIF}
{09/12/2015: preload parser in WellForm}
{$DEFINE PRELOAD}
//various time consuming speed tests, only for testing purposes
{.$DEFINE SPEEDTEST}
{$IFDEF SPEEDTEST}
{.DEFINE MEDIAN_SPEEDTEST}
{.DEFINE GAMMA_SPEEDTEST}
{.DEFINE DIVIDE_SPEEDTEST}
{.DEFINE PANEL_SPEEDTEST}
{.DEFINE ONDATA_SPEEDTEST}
{$DEFINE PDDERROR_SPEEDTEST}
{$ENDIF SPEEDTEST}
{19/05/2020: deleting one line at a time shows to be very slow}
{$DEFINE MEMO_ALLCLEAR}
{21/05/2020}
{$DEFINE FPC_SUPPORT_X87_TYPES_ON_WIN64}
{15/12/2015: fff-analysis based symmetry}
{.DEFINE FFF_SYMMETRY}
{24/11/2017: research on position integral stopped}
{.DEFINE POSINTEGRAL}
//show extrapolation of pdd fit
{.DEFINE SHOW_X_FIT}
{.DEFINE X_FIT_TEST}
//alternative model for pddfit costfunction
{$DEFINE ENR_WEIGHTED_PDDFIT}
//set up printing
{$DEFINE form2pdf}
{$IFDEF form2pdf}
{$DEFINE form2pdfsel}
{$DEFINE form2pdfall}
{$DEFINE form2pdfcurrent}
{$ENDIF}
{$IFDEF Windows}
{$DEFINE JwaWinBase}
{$ENDIF}
//general debug
{.DEFINE COMPILED_DEBUG}
{.DEFINE TEST_RULES}
{.DEFINE READRFB_TEST}
{.DEFINE WELLHOFER_DUMPDATA}
{.DEFINE SIGMOID_RANGE_SYMMETRIC}
{.DEFINE KEEP_SIGMOID_ESTIMATE}
{.DEFINE HEAPTRACE}
{.DEFINE HEAPTRACE_REPORT}
{.DEFINE SelfTest}
{$IFNDEF DEBUG}
{$UNDEF SelfTest}
{$ENDIF}