astropy:docs

HodMockFactory

class halotools.mock_factory.HodMockFactory(snapshot, composite_model, bundle_into_table=True, populate=True, additional_haloprops=[])[source] [edit on github]

Bases: object

The constructor of this class takes a snapshot and a composite model as input, and returns a Monte Carlo realization of the composite model painted onto the input snapshot.

Methods Summary

build_profile_lookup_tables([...])
populate() Method used to call the composite models to sprinkle mock galaxies into halos.
process_halo_catalog() Method to pre-process a halo catalog upon instantiation of the mock object.

Methods Documentation

build_profile_lookup_tables(prof_param_table_dict={})[source] [edit on github]
populate()[source] [edit on github]

Method used to call the composite models to sprinkle mock galaxies into halos.

process_halo_catalog()[source] [edit on github]

Method to pre-process a halo catalog upon instantiation of the mock object. This processing includes identifying the catalog columns that will be used to construct the mock, and building lookup tables associated with the halo profile.

Page Contents