firecrown.likelihood.binned_cluster_number_counts

Binned cluster number counts statistic support.

Classes

BinnedClusterNumberCounts

A statistic representing the number of clusters in a z, mass bin.

Module Contents

class firecrown.likelihood.binned_cluster_number_counts.BinnedClusterNumberCounts(cluster_properties, survey_name, cluster_recipe, systematics=None)[source]

Bases: firecrown.likelihood.binned_cluster.BinnedCluster

Inheritance diagram of firecrown.likelihood.binned_cluster_number_counts.BinnedClusterNumberCounts

A statistic representing the number of clusters in a z, mass bin.

Parameters:
read(sacc_data)[source]

Read the data for this statistic and mark it as ready for use.

Parameters:

sacc_data (sacc.Sacc) – The data in the sacc format.

Return type:

None

get_binned_cluster_property(tools, cluster_counts, cluster_properties)[source]

Computes the mean mass of clusters in each bin.

Using the data from the sacc file, this function evaluates the likelihood for a single point of the parameter space, and returns the predicted mean mass of the clusters in each bin.

Parameters:
Return type:

list[float]

get_binned_cluster_counts(tools)[source]

Computes the number of clusters in each bin.

Using the data from the sacc file, this function evaluates the likelihood for a single point of the parameter space, and returns the predicted number of clusters in each bin.

Parameters:

tools (firecrown.modeling_tools.ModelingTools) – The modeling tools used to compute the statistic.

Returns:

The number of clusters in each bin.

Return type:

list[float]