Skip to content

Instantly share code, notes, and snippets.

@frankzickert
Created October 6, 2022 12:02
Show Gist options
  • Save frankzickert/d4ba6e6fac2ec7fa27777453fc3877e4 to your computer and use it in GitHub Desktop.
Save frankzickert/d4ba6e6fac2ec7fa27777453fc3877e4 to your computer and use it in GitHub Desktop.
from math import asin, sqrt
def prob_to_angle(theta):
return 2*asin(sqrt(theta))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment