firecrown.likelihood.gauss_family.statistic.source.weak_lensing.LinearAlignmentSystematic

firecrown.likelihood.gauss_family.statistic.source.weak_lensing.LinearAlignmentSystematic#

class firecrown.likelihood.gauss_family.statistic.source.weak_lensing.LinearAlignmentSystematic(sacc_tracer=None, alphag=1.0)[source]#

Bases: WeakLensingSystematic

Linear alignment systematic.

This systematic adds a linear intrinsic alignment model systematic which varies with redshift and the growth function.

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:
  • ia_bias – the intrinsic alignment bias parameter.

  • alphaz – the redshift dependence of the intrinsic alignment bias.

  • alphag – the growth function dependence of the intrinsic alignment bias.

  • z_piv – the pivot redshift for the intrinsic alignment bias.

Parameters:

sacc_tracer (None | str) –

Public Methods:

__init__([sacc_tracer, alphag])

Create a LinearAlignmentSystematic object, using the specified tracer name.

apply(tools, tracer_arg)

Return a new linear alignment systematic.

Inherited from WeakLensingSystematic

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(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.

is_updated()

Determine if the object has been updated.

reset()

Reset the updatable.

required_parameters()

Returns a RequiredParameters object.

get_derived_parameters()

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

_update(params)

Method for auxiliary updates to be made to an updatable.

_reset()

Abstract method implemented by all concrete classes to update self.

_required_parameters()

Return a RequiredParameters object containing the information for this class.

_get_derived_parameters()

Returns the derived parameters of an implementation.


apply(tools, tracer_arg)[source]#

Return a new linear alignment systematic.

This choice is based on the given tracer_arg, in the context of the given cosmology.

Parameters:
Return type:

WeakLensingArgs