Method

NumCosmoHaloPositionprojected_radius_prefactor

Declaration [src]

gdouble
nc_halo_position_projected_radius_prefactor (
  NcHaloPosition* hp,
  NcHICosmo* cosmo
)

Description [src]

Computes the cosmology- and lens-redshift-dependent prefactor (R_H_Mpc * D_A) used by #nc_halo_position_projected_radius(). When converting many angular separations to projected radii for the same lens, compute this once and pass to #nc_halo_position_projected_radius_from_prefactor().

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

The data is owned by the caller of the method.

Return value

Type: gdouble

The projected radius prefactor in Mpc.