firecrown.likelihood.gauss_family.statistic.source.weak_lensing.MultiplicativeShearBias#
- class firecrown.likelihood.gauss_family.statistic.source.weak_lensing.MultiplicativeShearBias(sacc_tracer)[source]#
Bases:
WeakLensingSystematicMultiplicative shear bias systematic.
This systematic adjusts the scale_ of a source by (1 + m).
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:
mult_bias – the multiplicative shear bias parameter.
- Parameters:
sacc_tracer (
str) –
Public Methods:
__init__(sacc_tracer)Create a MultiplicativeShearBias object that uses the named tracer.
apply(tools, tracer_arg)Apply multiplicative shear bias to a source.
Inherited from
WeakLensingSystematicapply(tools, tracer_arg)Apply method to include systematics in the tracer_arg.
Inherited from
SourceGalaxySystematicapply(tools, tracer_arg)Apply method to include systematics in the tracer_arg.
Inherited from
SourceSystematicread(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
keyto 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__Parameterizes a generic class.
__init_subclass__Function to initialize subclasses.
Private Methods:
Inherited from
Updatable
- apply(tools, tracer_arg)[source]#
Apply multiplicative shear bias to a source.
The scale_ of the source is multiplied by (1 + m).
- Parameters:
tools (
ModelingTools) – A ModelingTools object.tracer_arg (
WeakLensingArgs) – The WeakLensingArgs to which apply the shear bias.
- Return type:
- Returns:
A new WeakLensingArgs object with the shear bias applied.