Преглед изворни кода

Merge branch 'master' of jpgill86/ephy_testing_data into master

Andrew Davison пре 4 година
родитељ
комит
ff3c0184bc

BIN
axograph/corrupt-comment.axgx


+ 14 - 0
axograph/create-test-files-using-axographio.py

@@ -0,0 +1,14 @@
+import numpy as np
+import axographio
+
+names = ['Time (s)', 'Data 1 (V)', 'Data 2 (V)']
+
+t = np.arange(0, 10, 0.01)
+data1 = np.sin(1*t)
+data2 = np.cos(2*t)
+
+f1 = axographio.file_contents(names, [t, data1, data2])
+f1.write('written-by-axographio-without-linearsequence.axgx')
+
+f2 = axographio.file_contents(names, [axographio.aslinearsequence(t), data1, data2])
+f2.write('written-by-axographio-with-linearsequence.axgx')

BIN
axograph/written-by-axographio-with-linearsequence.axgx


BIN
axograph/written-by-axographio-without-linearsequence.axgx