Exemplo n.º 1
0
	def getPolarDataset(self, datasetX, datasetY):
		datasetRho = DatasetMaths.sqrt( DatasetMaths.power(datasetX, 2) + DatasetMaths.power(datasetY, 2) );
		datasetTheta=DatasetMaths.arctan2(datasetY, datasetX);

		datasetThetaInDegree = DatasetMaths.toDegrees(datasetTheta);
		
		return [datasetRho, datasetThetaInDegree];
Exemplo n.º 2
0
def arctan2(a, b, out=None):
    '''Inverse tangent of a/b with correct choice of quadrant'''
    return _maths.arctan2(a, b, out)
Exemplo n.º 3
0
def arctan2(a, b, out=None):
    '''Inverse tangent of a/b with correct choice of quadrant'''
    return _maths.arctan2(a, b, out)