Virtual Method

NumCosmoMathSkyFootprintgen_ra_dec

Declaration [src]

void
gen_ra_dec (
  NcmSkyFootprint* footprint,
  NcmRNG* rng,
  gdouble* ra,
  gdouble* dec
)

Description [src]

Samples a position uniformly distributed within footprint.

Parameters

rng

Type: NcmRNG

A NcmRNG.

The data is owned by the caller of the method.
ra

Type: gdouble*

The sampled right ascension (degrees).

The argument will be set by the function.
dec

Type: gdouble*

The sampled declination (degrees).

The argument will be set by the function.