예제 #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];
예제 #2
0
def arctan2(a, b, out=None):
    '''Inverse tangent of a/b with correct choice of quadrant'''
    return _maths.arctan2(a, b, out)
예제 #3
0
def arctan2(a, b, out=None):
    '''Inverse tangent of a/b with correct choice of quadrant'''
    return _maths.arctan2(a, b, out)