This file is indexed.

/usr/lib/python2.7/dist-packages/dipy/testing/spherepoints.py is in python-dipy 0.10.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
''' Create example sphere points '''

import numpy as np

def _make_pts():
    ''' Make points around sphere quadrants '''
    thetas = np.arange(1,4) * np.pi/4
    phis = np.arange(8) * np.pi/4
    north_pole = (0,0,1)
    south_pole = (0,0,-1)
    points = [north_pole, south_pole]
    for theta in thetas:
        for phi in phis:
            x = np.sin(theta) * np.cos(phi)
            y = np.sin(theta) * np.sin(phi)
            z = np.cos(theta)
            points.append((x,y,z))
    return np.array(points)


sphere_points = _make_pts()