1 # This Python script will be executed from within the main lidar_correction_ghk.py |
1 # This Python script will be executed from within the main lidar_correction_ghk.py |
2 # Probably it will be better in the future to let the main script rather read a conguration file, |
2 # Probably it will be better in the future to let the main script rather read a conguration file, |
3 # which might improve the portability of the code within an executable. |
3 # which might improve the portability of the code within an executable. |
4 # Due to problems I had with some two letter variables, most variables are now with at least |
4 # Due to problems I had with some two letter variables, most variables are now with at least |
5 # three letters mixed small and capital. |
5 # three letters mixed small and capital. |
|
6 # To be used with lidar_correction_ghk.py ver. 0.9.5 and larger |
6 |
7 |
7 # Do you want to calculate the errors? If not, just the GHK-parameters are determined. |
8 # Do you want to calculate the errors? If not, just the GHK-parameters are determined. |
8 Error_Calc = True |
9 Error_Calc = True |
9 |
10 |
10 # Header to identify the lidar system |
11 # Header to identify the lidar system |
12 EID = "xx" # Earlinet station ID |
13 EID = "xx" # Earlinet station ID |
13 LID = "example lidar" # Additional lidar ID (short descriptive text) |
14 LID = "example lidar" # Additional lidar ID (short descriptive text) |
14 print(" Lidar system :", EID, ", ", LID) |
15 print(" Lidar system :", EID, ", ", LID) |
15 |
16 |
16 # +++ IL Laser and +-Uncertainty |
17 # +++ IL Laser and +-Uncertainty |
17 bL = 1. #degree of linear polarization; default 1 |
18 DOLP, dDOLP, nDOLP = 0.995, 0.005, 1 #degree of linear polarization; default 1 |
18 RotL, dRotL, nRotL = 0., 2., 1 #alpha; rotation of laser polarization in degrees; default 0 |
19 RotL, dRotL, nRotL = 0., 2., 1 #alpha; rotation of laser polarization in degrees; default 0 |
19 |
20 |
20 # +++ ME Emitter optics and +-Uncertainty; default = no emitter optics |
21 # +++ ME Emitter optics and +-Uncertainty; default = no emitter optics |
21 DiE, dDiE, nDiE = 0.0, 0.1, 0 # Diattenuation |
22 DiE, dDiE, nDiE = 0.0, 0.1, 0 # Diattenuation |
22 TiE = 1.0 # Unpolarized transmittance |
23 TiE = 1.0 # Unpolarized transmittance |
120 |
121 |
121 # --- measured LDRm will be corrected with calculated parameters GHK |
122 # --- measured LDRm will be corrected with calculated parameters GHK |
122 LDRmeas = 0.3 |
123 LDRmeas = 0.3 |
123 |
124 |
124 # --- this is just for correct transfer of the variables to the main file |
125 # --- this is just for correct transfer of the variables to the main file |
|
126 DOLP0, dDOLP, nDOLP = DOLP, dDOLP, nDOLP |
125 RotL0, dRotL, nRotL = RotL, dRotL, nRotL |
127 RotL0, dRotL, nRotL = RotL, dRotL, nRotL |
126 # Emitter |
128 # Emitter |
127 DiE0, dDiE, nDiE = DiE, dDiE, nDiE |
129 DiE0, dDiE, nDiE = DiE, dDiE, nDiE |
128 RetE0, dRetE, nRetE = RetE, dRetE, nRetE |
130 RetE0, dRetE, nRetE = RetE, dRetE, nRetE |
129 RotE0, dRotE, nRotE = RotE, dRotE, nRotE |
131 RotE0, dRotE, nRotE = RotE, dRotE, nRotE |