Logo coherent WaveBurst  
Library Reference Guide
Logo
CWB_Plugin_Linear_Bilinear_Regression_Rank_Config.C
Go to the documentation of this file.
1 {
2  //!REGRESSION
3  // Config Plugin for linear/bilinear ranking analysis for one detector
4 
5  //---------------------------------------------------------------------
6  // MAIN REGRESSION RANK
7  //---------------------------------------------------------------------
8 
9  bool SAVE_TREE = true; // if true then results are saved to tree
10  bool SAVE_ASCII = true; // if true then results are saved to ascii file
11 
12  TString REGRESSION_RANK = "LINEAR"; // regression rank [LINEAR/BILINEAR]
13  int CUT_LOW_FREQ = 32; // if > 0 the data in [0:CUT_LOW_FREQ] are set to 0
14 
15  //---------------------------------------------------------------------
16  // REGRESSION PARAMETERS FOR H1
17  //---------------------------------------------------------------------
18 
19 
20  TString FRLIST_WITNESS = "input/H1_RDS_R_L1_937473000_947017000.frl";
21  TString CHLIST_LINEAR = "input/S6B_H1_Linear_Regression_Channel_List.txt";
22  TString CHLIST_WITNESS = "input/S6B_H1_Witness_Channel_List.txt";
23 
24  TString CHNAME_LINEAR = "H0:PEM-COIL_MAGX";
25 
26  int RESAMPLING_INDEX = 11; // resample target/witness channels to pow(2,RESAMPLING_INDEX)
27 
28  double WFLOW = 0; // lower frequency used to made the bilinear channels
29  double WFHIGH = 10; // high frequency used to made the bilinear channels
30 
31  //---------------------------------------------------------------------
32  // REGRESSION PARAMETERS
33  //---------------------------------------------------------------------
34 
35  double LAYER_WIDTH = 1.0; // frequency layer resolution used in the regression analysis
36  double fPOWERLINE = 60.0; // powerline frequency (Hz)
37  int lPOWERLINE = 2; // low power line harmonic (lPOWERLINE*fPOWERLINE)
38  int hPOWERLINE = 2; // high power line harmonic (hPOWERLINE*fPOWERLINE)
39  double FWIDTH = 5; // frequency width used by regression
40 
41  // PARAMETERS FOR LINEAR REGRESSION
42 
43  int L_NFILTER = 5; // half-size length of a unit filter (setFilter)
44  double L_APPLY_THRESHOLD = 0.2; // threshold used in apply
45  double L_SOLVE_THRESHOLD = 0.0; // eigenvalue threshold (solve)
46  double L_SOLVE_NEIGEN_PER_LAYER = 0; // number of selected eigenvalues (solve)
47  char L_SOLVE_REGULATOR = 'h'; // regulator (solve)
48 
49  // PARAMETERS FOR BILINEAR REGRESSION
50 
51  int B_NFILTER = 5; // half-size length of a unit filter (setFilter)
52  double B_APPLY_THRESHOLD = 0.2; // threshold used in apply
53  double B_SOLVE_THRESHOLD = 0.0; // eigenvalue threshold (solve)
54  double B_SOLVE_NEIGEN_PER_LAYER = 0; // number of selected eigenvalues (solve)
55  char B_SOLVE_REGULATOR = 'h'; // regulator (solve)
56 
57 }
TString("c")