python code for proj. aterramento - analysis and code for labview