This module provides functions for generating several hmf.hmf.MassFunction instances from a combination of lists of parameters, in optimal order.

The underlying idea here is that typically modifying say the redshift has a smaller number of re-computations than modifying the base cosmological parameters. Thus, in a nested loop, the redshift should be the inner loop.

It is not always obvious which order the loops should be, so this module provides functions to determine that order, and indeed perform the loops.


get_best_param_order(kls[, q]) Get an optimal parameter order for nested loops.
get_hmf(req_qauntities[, get_label, ...]) Yield framework instances for all combinations of parameters supplied.