galpy.df.streamdf.pangledAngle¶
- streamdf.pangledAngle(angleperp, dangle, smallest=False)[source]¶
Return the probability of a given perpendicular angle at a given angle along the stream.
- Parameters:
angleperp (numpy.ndarray) – Perpendicular angle.
dangle (float) – Angle offset along the stream.
smallest (bool, optional) – Calculate for smallest eigenvalue direction rather than for middle. Default is False.
- Returns:
p(angle_perp|dangle)
- Return type:
numpy.ndarray
Notes
2013-12-06 - Written - Bovy (IAS)