firecrown.metadata_types

firecrown.metadata_types#

This module deals with metadata types.

This module contains metadata types definitions.

Functions

compare_enums

Define a comparison function for the Measurement enumeration.

make_measurements_dict

Create a dictionary from a Measurement object.

measurement_is_compatible

Check if two Measurement are compatible.

measurement_is_compatible_harmonic

Check if two Measurement are compatible for harmonic-space calculations.

measurement_is_compatible_real

Check if two Measurement are compatible for real-space calculations.

measurement_supports_harmonic

Return True if x supports harmonic-space calculations.

measurement_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

CMB

This enumeration type for CMB measurements.

Clusters

This enumeration type for cluster measurements.

Galaxies

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.

TwoPointHarmonic

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

TwoPointReal

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

TwoPointXY

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