Constructor

NumCosmoGalaxyPositionFactorFlatnew

Declaration [src]

NcGalaxyPositionFactorFlat*
nc_galaxy_position_factor_flat_new (
  const gdouble ra_min,
  const gdouble ra_max,
  const gdouble dec_min,
  const gdouble dec_max
)

Description [src]

Creates a new NcGalaxyPositionFactorFlat uniform over the rectangular footprint [ra_min, ra_max] x [dec_min, dec_max].

Parameters

ra_min

Type: const gdouble

Minimum right ascension.

ra_max

Type: const gdouble

Maximum right ascension.

dec_min

Type: const gdouble

Minimum declination.

dec_max

Type: const gdouble

Maximum declination.

Return value

Type: NcGalaxyPositionFactorFlat

A new NcGalaxyPositionFactorFlat.

The caller of the function takes ownership of the data, and is responsible for freeing it.