Method

NumCosmoMathSphereMappix2ang_nest

Declaration [src]

void
ncm_sphere_map_pix2ang_nest (
  NcmSphereMap* smap,
  const gint64 nest_index,
  gdouble* theta,
  gdouble* phi
)

Description [src]

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

Parameters

nest_index

Type: const gint64

A pixel index in NESTED 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.