firecrown.likelihood.gauss_family.statistic.source.number_counts.MagnificationBiasSystematic#
- class firecrown.likelihood.gauss_family.statistic.source.number_counts.MagnificationBiasSystematic(sacc_tracer)[source]#
Bases:
NumberCountsSystematic
Magnification bias systematic.
This systematic adds a magnification bias model for galaxy number contrast following Joachimi & Bridle (2010), arXiv:0911.2454.
The following parameters are special Updatable parameters, which means that they can be updated by the sampler, sacc_tracer is going to be used as a prefix for the parameters:
- Variables:
r_lim – the limiting magnitude.
sig_c – the intrinsic dispersion of the source redshift distribution.
eta – the slope of the luminosity function.
z_c – the characteristic redshift of the source distribution.
z_m – the slope of the source redshift distribution.
- Parameters:
sacc_tracer (
str
) –
Public Methods:
__init__
(sacc_tracer)Initialize the MagnificationBiasSystematic.
apply
(tools, tracer_arg)Apply a magnification bias systematic.
Inherited from
NumberCountsSystematic
apply
(tools, tracer_arg)Apply method to include systematics in the tracer_arg.
Inherited from
SourceGalaxySystematic
apply
(tools, tracer_arg)Apply method to include systematics in the tracer_arg.
Inherited from
SourceSystematic
read
(sacc_data)Call to allow this object to read from the appropriate sacc data.
Inherited from
Updatable
__init__
([parameter_prefix])Updatable initialization.
__setattr__
(key, value)Set the attribute named
key
to the supplied value.set_parameter
(key, value)Sets the parameter to the given value.
set_internal_parameter
(key, value)Assure this InternalParameter has not already been set, and then set it.
set_sampler_parameter
(key, value)Assure this SamplerParameter has not already been set, and then set it.
update
(params)Update self by calling to prepare for the next MCMC sample.
Determine if the object has been updated.
reset
()Reset the updatable.
Returns a RequiredParameters object.
Returns a collection of derived parameters.
Inherited from
Generic
__class_getitem__
(params)Parameterizes a generic class.
__init_subclass__
(*args, **kwargs)This method is called when a class is subclassed.
Private Methods:
Inherited from
Updatable
_update
(params)Method for auxiliary updates to be made to an updatable.
_reset
()Abstract method implemented by all concrete classes to update self.
Return a RequiredParameters object containing the information for this class.
Returns the derived parameters of an implementation.
- apply(tools, tracer_arg)[source]#
Apply a magnification bias systematic.
- Parameters:
tools (
ModelingTools
) – a ModelingTools objecttracer_arg (
NumberCountsArgs
) – a NumberCountsArgs object
- Return type:
- Returns:
a NumberCountsArgs object