Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenSN-Library/OpenSN-Library
/ ra2deg
Function
ra2deg
TopoConfigurators/Standard/opensn/utils/tools.py:3–4 ·
view source on GitHub ↗
(ra : float)
Source
from the content-addressed store, hash-verified
1
import
math
2
3
def
ra2deg(ra : float) -> float:
4
return
ra * 180 / math.pi
5
6
def
dec2ra(dec : float) -> float:
7
return
dec * math.pi / 180
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected