Method

NumCosmoMathSphereMapang2pix_ring

Declaration [src]

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

Description [src]

Converts spherical coordinates to a pixel index in RING ordering.

Parameters

theta

Type: const gdouble

A polar angle.

phi

Type: const gdouble

An azimuthal angle.

ring_index

Type: gint64*

The pixel index in RING ordering.

The argument will be set by the function.