Typedefs | |
typedef double(* | hmpdf_ell_filter_f) (double, void *) |
typedef double(* | hmpdf_k_filter_f) (double, double, void *) |
typedef double(* | hmpdf_massfunc_corr_f) (double, double, void *) |
typedef double(* | hmpdf_mass_resc_f) (double, double, void *) |
typedef double(* | hmpdf_conc_resc_f) (double, double, void *) |
typedef double(* | hmpdf_mass_cuts_f) (double, void *) |
typedef double(* | hmpdf_noise_pwr_f) (double, void *) |
typedef double(* | hmpdf_bias_resc_f) (double, double, void *) |
typedef double(* | hmpdf_dndz_f) (double, void *) |
typedef double(* hmpdf_ell_filter_f) (double, void *) |
Function pointer typedef for user-defined ell-space filter. Passed to hmpdf_init() as hmpdf_custom_ell_filter.
ell | angular wavenumber |
p | pointer that allows user to pass other parameters. Passed to hmpdf_init() as hmpdf_custom_ell_filter_params. |
typedef double(* hmpdf_k_filter_f) (double, double, void *) |
Function pointer typedef for user-defined k-space filter. Passed to hmpdf_init() as hmpdf_custom_k_filter.
k | comoving wavenumber in 1/Mpc |
z | redshift |
p | pointer that allows user to pass other parameters. Passed to hmpdf_init() as hmpdf_custom_k_filter_params. |
typedef double(* hmpdf_massfunc_corr_f) (double, double, void *) |
Function pointer typedef for user-defined mass function rescaling. Passed to hmpdf_init() as hmpdf_massfunc_corr.
z | redshift |
M | halo mass (M200m, Msun/h) |
p | pointer for additional parameters |
typedef double(* hmpdf_mass_resc_f) (double, double, void *) |
Function pointer typedef for user-defined mass rescaling. Passed to hmpdf_init() as hmpdf_mass_resc.
z | redshift |
M | halo mass (M200m, Msun/h) |
p | pointer for additional parameters |
typedef double(* hmpdf_conc_resc_f) (double, double, void *) |
Function pointer typedef for user-defined concentration rescaling. Passed to hmpdf_init() as hmpdf_conc_resc.
z | redshift |
M | halo mass (M200m, Msun/h) |
p | pointer for additional parameters |
typedef double(* hmpdf_mass_cuts_f) (double, void *) |
Function pointer typedef to pass redshift-dependent upper limit in mass. Passed to hmpdf_init() as hmpdf_mass_cuts.
z | redshift |
p | pointer for additional parameters |
typedef double(* hmpdf_noise_pwr_f) (double, void *) |
Function pointer typedef for user-defined noise power spectrum. Passed to hmpdf_init() as hmpdf_noise_pwr.
ell | angular wavenumber |
p | pointer that allows user to pass other parameters. Passed to hmpdf_init() as hmpdf_noise_pwr_params. |
typedef double(* hmpdf_bias_resc_f) (double, double, void *) |
Function pointer typedef for user-defined bias rescaling. Passed to hmpdf_init() as hmpdf_bias_resc.
z | redshift |
M | halo mass (M200m, Msun/h) |
p | pointer for additional parameters |
typedef double(* hmpdf_dndz_f) (double, void *) |
Function pointer typedef for user-defined source redshift distribution. Passed to hmpdf_iniit() as hmpdf_dndz.
z | redshift |
p | pointer for additional parameters |
enum hmpdf_mdef_e |
enum hmpdf_signaltype_e |
enum hmpdf_integr_mode_e |
Fixed point integration modes.
The integrals over halo mass and redshift are performed using fixed point quadratures, with modes taken from this enum. See the GSL documentation for details.
Enumerator | |
---|---|
hmpdf_legendre | |
hmpdf_chebyshev | |
hmpdf_gegenbauer | |
hmpdf_jacobi | |
hmpdf_laguerre | |
hmpdf_hermite | |
hmpdf_exponential | |
hmpdf_rational | |
hmpdf_chebyshev2 |
enum hmpdf_configs_e |
Options to hmpdf_init().
The variadic argument list in hmpdf_init() can be used to pass non-default options. [syntax is explained in the documentation for hmpdf_init()].
There is a large number of options, many of which the typical user will not need to use. Here is a brief synopsis:
Frequently used options:
Less frequently used options:
Integration grids:
Covariance matrix calculation:
Enumerator | |
---|---|
hmpdf_N_threads | number of threads to use in multithreaded parts of the code.
|
hmpdf_verbosity | larger values yield more detailed print output. If 0 (default), only error messages are printed.
|
hmpdf_warn_is_err | Controls the behaviour when a warning is encountered. Positive values will treat warnings as error and return, zero value will continue execution but print a message to stderr, and negative values will ignore the warning.
|
hmpdf_class_pre | optional CLASS precision file.
|
hmpdf_N_z | number of sample points in redshift integration.
|
hmpdf_z_min | minimum redshift.
|
hmpdf_z_max | maximum redshift.
|
hmpdf_dndz | source redshift distribution for hmpdf_kappa. If set to null (default), a delta distribution is assumed at source redshift. Otherwise, source redshift should be chosen such that the source distribution is essentially zero for larger redshifts.
|
hmpdf_dndz_params | additional parameters to pass to hmpdf_dndz.
|
hmpdf_N_M | number of sample points in halo mass integration.
|
hmpdf_M_min | minimum halo mass, in M200m definition and Msun units.
|
hmpdf_M_max | maximum halo mass, in M200m definition and Msun units.
|
hmpdf_N_signal | number of points on which the one-point PDF is sampled internally
|
hmpdf_signal_min | minimum signal value at which PDF is sampled internally.
|
hmpdf_signal_max | maximum signal value at which PDF is sampled internally.
|
hmpdf_N_theta | number of points on which the signal profiles are sampled.
|
hmpdf_rout_scale | radial cut-off.
|
hmpdf_rout_rdef | mass/radius definition in terms of which the radial cut-off is specified.
|
hmpdf_pixel_side | pixel sidelength, in arcmin.
|
hmpdf_tophat_radius | includes the effect of smoothing the map with a tophat of given radius (in arcmin).
|
hmpdf_gaussian_fwhm | includes the effect of smoothing the map with a Gaussian of given FWHM (in arcmin).
|
hmpdf_custom_ell_filter | pass a user-defined ell-space filter (for example, to include effect of a Wiener filter). Signature of this function pointer has to conform to the typedef hmpdf_ell_filter_f.
|
hmpdf_custom_ell_filter_params | pass parameters to the ell-space filter (as its last argument).
|
hmpdf_custom_k_filter | pass a user-defined k-space filter, with possible redshift-dependence (for example, to emulate small-scale simulation resolution issues). Signature of this function pointer has to conform to the typedef hmpdf_k_filter_f.
|
hmpdf_custom_k_filter_params | pass parameters to the k-space filter (as its last argument).
|
hmpdf_massfunc_corr | Correction prefactor for the Tinker mass function.
|
hmpdf_massfunc_corr_params | Additional parameters to pass to the above function.
|
hmpdf_mass_resc | Rescaling function for halo masses going into the profiles (masses going into mass function and bias are not affected).
|
hmpdf_mass_resc_params | Additional parameters to pass to the above function.
|
hmpdf_conc_resc | Rescaling function for concentration.
|
hmpdf_conc_resc_params | Additional parameters to pass to the above function.
|
hmpdf_mass_cuts | Redshift-dependent upper mass limits.
|
hmpdf_mass_cuts_params | Additional parameters to pass to the above function.
|
hmpdf_bias_resc | Rescaling function for bias.
|
hmpdf_bias_resc_params | Additional parameters to pass to the above function.
|
hmpdf_Arico20_Nz | The number of parameter samples (in redshift) for the BCM. The code interpolates in redshift between the ones that are given.
|
hmpdf_Arico20_z | The redshifts where the parameter values are given. Must be in increasing order. Does not need to be passed if Nz==1.
|
hmpdf_Arico20_params | The parameters for the Arico+2020 BCM. If passed, the convergence profiles will be computed using the BCM. Only applicable if computing the kappa PDF. The ordering is specified by hmpdf_Arico20_params_e. Each redshift corresponds to a contiguous block in the array.
|
hmpdf_profiles_N | Number of profiles to write to file. This is a hack for that only works with the BCM. Will print the component density profiles to disk.
|
hmpdf_profiles_fnames | The file names the profiles should be printed to.
|
hmpdf_profiles_Nr | The redshifts and masses for which to evaluate profiles. In the order [z0, M0, z1, M1, z2, M2, ... ] Masses in units of M200m, Msun/h.
|
hmpdf_profiles_r | Number of radii where to evaluate profiles.
|
hmpdf_DM_conc_params | The radii for which to evaluate profiles. In units of R200c.
|
hmpdf_bar_conc_params | The concentration parameters for the DM component. If passed, also those for the baryonic component must be given. Same format as hmpdf_Duffy08_conc_params. The parameterization is in terms of the hydro mass.
|
hmpdf_N_phi | The concentration parameters for the baryonic component. If passed, also those for the DM component must be given. Same format as hmpdf_Duffy08_conc_params. The parameterization is in terms of the hydro mass.
|
hmpdf_phi_max | maximum pixel separation in covariance matrix calculation (in arcmin).
|
hmpdf_pixelexact_max | up to which pixel separation (in units of pixel sidelength) the summation is performed exactly (integration afterwards).
|
hmpdf_phi_jitter | technical (for covariance matrix). For numerical stability, at small pixel separations an average is used, around the desired pixel separation. This option sets how wide (in phi) the averaging is done.
|
hmpdf_phi_pwr | technical (for covariance matrix). Increasing this number increases the sample points at small pixel separation.
|
hmpdf_zintegr_type | Fixed point integration mode for redshift integration.
|
hmpdf_zintegr_alpha | Fixed point integration alpha for redshift integration
|
hmpdf_zintegr_beta | Fixed point integration beta for redshift integration.
|
hmpdf_Mintegr_type | Fixed point integration mode for halo mass integration.
|
hmpdf_Mintegr_alpha | Fixed point integration alpha for halo mass integration.
|
hmpdf_Mintegr_beta | Fixed point integration beta for halo mass integration.
|
hmpdf_Duffy08_conc_params | Fit parameters in the Duffy+2008 concentration model. Still relevant even if hmpdf_DM_conc_params and hmpdf_bar_conc_params are passed (then it is used for mass conversions).
|
hmpdf_Tinker10_hmf_params | Fit parameters in the Tinker+2010 halo mass function.
|
hmpdf_Battaglia12_tsz_params | Fit parameters in the Battaglia+2012 pressure profile model.
|
hmpdf_noise_pwr | Option to add pixel-wise Gaussian noise with this power spectrum.
|
hmpdf_noise_pwr_params | To pass custom parameters to the function hmpdf_noise_pwr.
|
hmpdf_map_fsky | If you want to use the stochastic map-mapmaking algorithm (simplified simulations), this is a required setting. It is the sky fraction spanned by the map.
|
hmpdf_map_pixelgrid | Increasing this value yields a more accurate averaging of the signal profiles in each pixel.
|
hmpdf_map_poisson | If set to zero, the number of halos will not be drawn from the Poisson distribution but rather from a much more concentrated one. In that case, the mean (i.e. the averaged one-point PDF) is correctly and much faster approached, while the scatter of individual histograms will not be correct.
|
hmpdf_end_configs | If this option is set, the resulting simplified simulations (maps) will have this random seed. This means that, given equal map dimensions, the maps will have all halos in identical positions.
|