firecrown.connector.numcosmo.numcosmo.NumCosmoFactory#

class firecrown.connector.numcosmo.numcosmo.NumCosmoFactory(likelihood_source, build_parameters, mapping, model_list)[source]#

Bases: object

NumCosmo likelihood class.

This class provide the necessary factory methods to create NumCosmo+firecrown likelihoods.

Parameters:

Public Methods:

__init__(likelihood_source, ...)

param likelihood_source:

get_data()

This method return the appropriated Ncm.Data class to be used by NumCosmo.

get_mapping()

This method return the current MappingNumCosmo.

get_firecrown_likelihood()

This method returns the firecrown Likelihood.


get_data()[source]#

This method return the appropriated Ncm.Data class to be used by NumCosmo.

Return type:

Data

get_firecrown_likelihood()[source]#

This method returns the firecrown Likelihood.

Return type:

Likelihood

get_mapping()[source]#

This method return the current MappingNumCosmo.

Return type:

MappingNumCosmo