firecrown.metadata.two_point

firecrown.metadata.two_point#

This module deals with two-point functions metadata.

It contains all data classes and functions for store and extract two-point functions metadata from a sacc file.

Functions

compare_enums

Define a comparison function for the MeasuredType enumeration.

extract_all_data_types_cells

Extracts the two-point function metadata from a sacc file.

extract_all_data_types_xi_thetas

Extract all two-point function metadata from a sacc file.

extract_all_photoz_bin_combinations

Extracts the two-point function metadata from a sacc file.

extract_all_tracers

Extracts the two-point function metadata from a Sacc object.

extract_window_function

Extract a window function from a sacc file that matches the given indices.

make_all_photoz_bin_combinations

Extracts the two-point function metadata from a sacc file.

measured_type_is_compatible

Check if two MeasuredType are compatible.

measured_type_supports_harmonic

Return True if x supports harmonic-space calculations.

measured_type_supports_real

Return True if x supports real-space calculations.

type_to_sacc_string_harmonic

Return the final SACC string used to denote the harmonic-space correlation.

type_to_sacc_string_real

Return the final SACC string used to denote the real-space correlation.

Classes

CMBMeasuredType

This enumeration type for CMB measurements.

ClusterMeasuredType

This enumeration type for cluster measurements.

GalaxyMeasuredType

This enumeration type for galaxy measurements.

InferredGalaxyZDist

The class used to store the redshift resolution data for a sacc file.

TracerNames

The names of the two tracers in the sacc file.

TwoPointCWindow

Two-point function with a window function.

TwoPointCells

Class defining the metadata for an harmonic-space two-point measurement.

TwoPointCellsIndex

TwoPointXY

Class defining a two-point correlation pair of redshift resolutions.

TwoPointXiTheta

Class defining the metadata for a real-space two-point measurement.

TwoPointXiThetaIndex

Window

The class used to represent a window function.

YAMLSerializable

Protocol for classes that can be serialized to and from YAML.