Method

NumCosmoMathSphereMappix2ang_ring

Declaration [src]

void
ncm_sphere_map_pix2ang_ring (
  NcmSphereMap* smap,
  const gint64 ring_index,
  gdouble* theta,
  gdouble* phi
)

Description [src]

Converts a pixel index from RING to spherical coordinates and returns the angles theta and phi.

Parameters

ring_index

Type: const gint64

A pixel index in RING ordering.

theta

Type: gdouble*

The polar angle of the pixel.

The argument will be set by the function.
phi

Type: gdouble*

The azimuthal angle of the pixel.

The argument will be set by the function.