PreservingNgalAssembiasZheng07Cens

class halotools.empirical_models.PreservingNgalAssembiasZheng07Cens(**kwargs)[source] [edit on github]

Bases: halotools.empirical_models.Zheng07Cens, halotools.empirical_models.PreservingNgalHeavisideAssembias

Assembly-biased modulation of Zheng07Cens that preserves N_gals.

Parameters:

threshold : float, optional

Luminosity threshold of the mock galaxy sample. If specified, input value must agree with one of the thresholds used in Zheng07 to fit HODs: [-18, -18.5, -19, -19.5, -20, -20.5, -21, -21.5, -22]. Default value is specified in the model_defaults module.

prim_haloprop_key : string, optional

String giving the column name of the primary halo property governing the occupation statistics of gal_type galaxies. Default value is specified in the model_defaults module.

sec_haloprop_key : string, optional

String giving the column name of the secondary halo property governing the assembly bias. Must be a key in the table passed to the methods of HeavisideAssembiasComponent. Default value is specified in the model_defaults module.

split : float or list, optional

Fraction or list of fractions between 0 and 1 defining how we split halos into two groupings based on their conditional secondary percentiles. Default is 0.5 for a constant 50/50 split.

split_abscissa : list, optional

Values of the primary halo property at which the halos are split as described above in the split argument. If loginterp is set to True (the default behavior), the interpolation will be done in the logarithm of the primary halo property. Default is to assume a constant 50/50 split.

assembias_strength : float or list, optional

Fraction or sequence of fractions between -1 and 1 defining the assembly bias correlation strength. Default is 0.5.

assembias_strength_abscissa : list, optional

Values of the primary halo property at which the assembly bias strength is specified. Default is to assume a constant strength of 0.5. If passing a list, the strength will interpreted at the input assembias_strength_abscissa. Default is to assume a constant strength of 0.5.