get_b_from_angle¶
- luminet.isoradial.Isoradial.get_b_from_angle(angle: float | numpy.ndarray) float | numpy.ndarray¶
Get the impact parameter \(b\) for a given angle \(\alpha\) on the isoradial.
This method does not calculate the impact parameter, but rather finds the closest impact parameter to the given angle.
- Parameters:
angle (float | np.ndarray) – Angle \(\alpha\) in radians.
See also
calc_b_from_angle()to explicitly solve for the impact parameter.- Returns:
float |
ndarray– The impact parameter \(b\) for the given angle \(\alpha\).