Python binding for Indel Motiongenerate varlog data from pythonimportpyindelimportnumpyasnpx=np.linspace(-np.pi, np.pi, 1000) doc=pyindel.VarlogDoc() group1=doc.add_group("group1") group1.add_channel("sin", np.sin(x)) group1.add_channel("cos", np.cos(x), unit='mm', color='#202020') doc.save("lalelu.xlog")load varlog data into pythonimportpyindelimportmatplotlib.pyplotaspltdoc=pyindel.load_xlog('myfile.xlog') x_cmds=doc.group("X").channel("cmdS").datay_cmds=doc.group("Y").channel("cmdS").dataz_cmds=doc.group("Z").channel("cmdS").datafig=plt.figure() ax=plt.axes(projection="3d") ax.plot3D(x_cmds, y_cmds, z_cmds, 'gray') plt.show()