Method

NumCosmoHaloPositionpolar_angles

Declaration [src]

void
nc_halo_position_polar_angles (
  NcHaloPosition* hp,
  gdouble ra,
  gdouble dec,
  gdouble* theta,
  gdouble* phi
)

Description [src]

Considering a spherical coordinate system where the halo is at the north pole, this function calculates the polar and azimuthal angles of a point in the sky. That is, $\theta$ = theta provides the angular separation from the halo to the point in the sky, and $\phi$ = phi provides the azimuthal angle.

Parameters

ra

Type: gdouble

The right ascension.

dec

Type: gdouble

The declination.

theta

Type: gdouble*

The polar angle.

The argument will be set by the function.
phi

Type: gdouble*

The azimuthal angle.

The argument will be set by the function.