hmf.helpers.sample

Module for dealing with sampled mass functions.

Provides routines for sampling theoretical functions, and for binning sampled data.

Functions

dndm_from_sample(m, V[, nm, bins])

Generate a binned dn/dm from a sample of halo masses.

sample_mf(N, log_mmin[, sort])

Create a sample of halo masses from a theoretical mass function.