Model Factories

All of these can be imported from halotools.empirical_models.

HOD Model Factories

HodModelFactory(**kwargs) Class used to build HOD-style models of the galaxy-halo connection.
HodMockFactory([Num_ptcl_requirement, …]) Class responsible for populating a simulation with a population of mock galaxies based on an HOD-style model built by the HodModelFactory class.

Subhalo Model Factories

SubhaloModelFactory(**kwargs) Class used to build models of the galaxy-halo connection in which galaxies live at the centers of subhalos.
SubhaloMockFactory(**kwargs) Class responsible for populating a simulation with a population of mock galaxies based on models generated by SubhaloModelFactory.