Home
last modified time | relevance | path

Searched refs:norm1d (Results 1 – 1 of 1) sorted by relevance

/dports/astro/astrometry/astrometry.net-0.85/util/
H A Dcelestial_mechanics.py46 def norm1d(x): function
81 r = norm1d(dx)
97 dx /= norm1d(dx)
157 return -1. * GM / norm1d(x)
174 zhat = angmom / norm1d(angmom)
175 evec = np.cross(v, angmom) / GM - x / norm1d(x)
176 e = norm1d(evec)
180 xhat /= norm1d(xhat)
185 i = np.arccos(angmom[2] / norm1d(angmom))