You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseValueError("The phase function Legendre coefficients must all be between -1 and 1.")
252
-
if (np.any(-0.95>Leg_coeffs_all[:, 1:]) andnp.any(Leg_coeffs_all[:, 1:] >0.95)):
253
-
warnings.warn("Some phase function Legendre coefficients have a magnitude that is very close to 1 (this excludes the zeroth index coefficient which must be 1) and this may cause numerical instability.")
254
250
# Conditions on the number of quadrature angles (NQuad), Legendre coefficients (NLeg) and loops (NFourier)
255
251
ifnotNQuad>=2:
256
252
raiseValueError("There must be at least two streams.")
0 commit comments