firecrown.likelihood.gauss_family.statistic.source.source.SourceGalaxy#
- class firecrown.likelihood.gauss_family.statistic.source.source.SourceGalaxy(*, sacc_tracer, systematics=None)[source]#
Bases:
Source
,Generic
[_SourceGalaxyArgsT
]Source class for galaxy based sources.
- Parameters:
sacc_tracer (
str
) –systematics (
Optional
[list
[SourceGalaxySystematic
]]) –
Public Methods:
__init__
(*, sacc_tracer[, systematics])Initialize the SourceGalaxy object.
Inherited from
Source
__init__
(sacc_tracer)Create a Source object that uses the named tracer.
read
(sacc_data)Read the data for this source from the SACC file.
Abstract method to return the scales for this Source.
create_tracers
(tools)Create tracers for this Source, for the given cosmology.
get_tracers
(tools)Return the tracer for the given cosmology.
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:
_read
(sacc_data)Read the galaxy redshift distribution model from a sacc file.
Inherited from
Source
_read
(sacc_data)Abstract method to read the data for this source from the SACC file.
_update_source
(params)Method to update the source from the given ParamsMap.
_update
(params)Implementation of Updatable interface method _update.
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.