firecrown.data_functions

firecrown.data_functions#

This module deals with two-point data functions.

It contains functions to manipulate two-point data objects.

Functions

bin_spec_from_metadata

Return the bin spec from the metadata.

check_consistence

Check the indices of the two-point functions.

check_two_point_consistence_harmonic

Check the indices of the harmonic-space two-point functions.

check_two_point_consistence_real

Check the indices of the real-space two-point functions.

cov_hash

Return a hash of the covariance matrix.

ensure_no_overlaps

Check if the indices of the measurement-space two-point functions overlap.

extract_all_harmonic_data

Extract the two-point function metadata and data from a sacc file.

extract_all_real_data

Extract the two-point function metadata and data from a sacc file.

make_interval_from_list

Create an interval from a list of values.

maybe_enforce_window

Possibly enforce a window function on the given ells.

Classes

TwoPointBinFilter

Class defining a filter for a bin.

TwoPointBinFilterCollection

Class defining a collection of bin filters.

TwoPointTracerSpec

Class defining a tracer bin specification.