dispos

ginga.util.wcs.dispos(dra0, decd0, dra, decd)[source]

Compute distance and position angle solving a spherical triangle (no approximations).

Source/credit: Skycat Author: A.P. Martinez

Parameters:
dra0float

Center RA in decimal degrees.

decd0float

Center DEC in decimal degrees.

drafloat

Point RA in decimal degrees.

decdfloat

Point DEC in decimal degrees.

Returns:
phifloat

Phi in degrees (East of North).

distfloat

Distance in arcmin.