Tue, 24 Jan 2017 02:26:19 +0100
Moved "from __future__ import print_function"
before "# !/usr/bin/env python3"
Now it should work with Python 3.x .
Added some comments and a compact code description at the top.
From C:\Users\volker\Documents\atmospheric_lidar_ghk Running lidar_correction_ghk.py Reading input file optic_input_example_lidar.py for Lidar system: xx , example lidar --- Input parameters: value ±error / ±steps ---------------------- Laser: DOLP = 1.00000; rotation alpha = 0.0000± 2.0000/ 1 Diatt., Tunpol, Retard., Rotation (deg) Emitter 0.0000± 0.1000/ 0, 1.0000, 0±180/ 0, 0.0000± 1.0000/ 0 Receiver 0.0000± 0.1000/ 1, 1.0000, 0±180/ 0, 0.0000± 0.5000/ 0 Calibrator 0.9998± 0.0001/ 1, 0.4000, 0± 0/ 0, 0.0000± 0.1000/ 0 --- Pol.-filter --- ERT, RotT : 0.0010± 0.0010/ 1, 0.0000± 1.0000/ 1 ERR, RotR : 0.0010± 0.0010/ 1, 90.0000± 1.0000/ 1 --- PBS --- TP,TS : 0.9500± 0.0100/ 1, 0.0200± 0.0100/ 1 RP,RS : 0.0500± 0.0100/ 1, 0.9800± 0.0100/ 1 DT,TT,DR,TR,Y : 0.9588, 0.4850, -0.9029, 0.5150, 1 --- Combined PBS + Pol.-filter --- DT,TT,DR,TR : 1.0000, 0.2427, -0.9999, 0.2578 LDRCal during calibration in calibration range: 0.009± 0.005/ 1 Rotation Error Epsilon For Normal Measurements = False linear polarizer before receiver Parallel signal detected in transmitted channel RS_RP_depend_on_TS_TP = False ======================================================================== GR , GT , HR , HT , K(0.004), K(0.2) , K(0.45) 1.90111, 1.95685,-1.90091, 1.95676, 0.93372, 0.94595, 0.95689 ======================================================================== LDRtrue, LDRsimx, LDRCorr 0.00400, 0.00418, 0.00400 0.02000, 0.02068, 0.02000 0.10000, 0.10321, 0.10000 0.30000, 0.30952, 0.30000 0.45000, 0.46426, 0.45000