def makeRadials(self, numRadials):
        ''' make geodesic radials from number of radials '''
        segmentAngle = 360.0/float(numRadials)
        segmentAngleList = []
        a = 0.0
        while a < 360.0:
            segmentAngleList.append(a)
            a += segmentAngle

        fields = {'x':'DOUBLE', 'y':'DOUBLE', 'Bearing':'DOUBLE', 'Range':'DOUBLE'}
        tab = self._makeTempTable("radTable", fields)
        cursor = arcpy.da.InsertCursor(tab, ['x', 'y', 'Bearing', 'Range'])
        for i in self.center:
            pt = i.firstPoint
            for r in segmentAngleList:
                cursor.insertRow([pt.X, pt.Y, r, self.ringMax])
        del cursor
        self.deleteme.append(tab)
        outRadialFeatures = os.path.join("in_memory", "outRadials")
        arcpy.BearingDistanceToLine_management(tab, outRadialFeatures, 'x', 'y',
                                               'Range', self.distanceUnits, 'Bearing', "DEGREES",
                                               "GEODESIC", "#", self.sr)
        self.deleteme.append(outRadialFeatures)
        self.radialFeatures = outRadialFeatures
        return outRadialFeatures
dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/visibility/toolboxes/scripts/RangeRingUtils.py/RingMaker.makeRadials/original