Beispiel #1
0
	def observe(self):
		#send getData signal to the arduino and get the data back
		#get data into self.Batch
		#Cartesian conversion from Polar coordinates.
		self.Batch = interact.observe()
                toCart.toCartesian(self.Batch)
                #print(self.Batch)
		self.transform()
                self.Batch = iqd.outlierRemoval(self.Batch,1)
                [a1 , b1] = line.line(self.Batch)
                self.m.append(a1)
                self.c.append(b1)
		return
Beispiel #2
0
import numpy as np
import toCart

x = np.array([[45,1],[60,1],[30,1]],dtype=float)

toCart.toCartesian(x)

print(x)