|
|
|
@ -1987,7 +1987,7 @@ class Spreading(object):
|
|
|
|
|
@staticmethod
|
|
|
|
|
def _check_theta(theta):
|
|
|
|
|
L = abs(theta[-1] - theta[0])
|
|
|
|
|
if abs(L - np.pi) > _EPS:
|
|
|
|
|
if abs(L - 2 * np.pi) > _EPS:
|
|
|
|
|
raise ValueError('theta must cover all angles -pi -> pi')
|
|
|
|
|
nt = len(theta)
|
|
|
|
|
if nt < 40:
|
|
|
|
|