snorer.galactic_to_beta¶
snorer.galactic_to_beta(l,b,GC_coord=[0,0])¶
Transform galactic coordinate \((\ell,b)\) to off-center angle \(\beta\). See Eqs. (2) in Coordinate Transformations.
Parameters:
l: array_like
Galactic longitude, rad.
b: array_like
Galactic latitude, rad.
GC_coord: list
Galactic coordinate for arbitrary galactic center \((\ell_g,b_g)\). Default is Milky Way centerGC_coord = [0,0].
Returns:
out: scalar/ndarray
Off-center angle \(\beta\), rad. The result is scalar if all inputs are scalars.