Method

NumCosmoMathSphereMapang2pix_nest

Declaration [src]

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

Description [src]

Converts spherical coordinates to a pixel index in NESTED ordering.

Parameters

theta

Type: const gdouble

A polar angle.

phi

Type: const gdouble

An azimuthal angle.

nest_index

Type: gint64*

The pixel index in NESTED ordering.

The argument will be set by the function.