firecrown.metadata.two_point.TwoPointCWindow#

class firecrown.metadata.two_point.TwoPointCWindow(*, XY, window)[source]#

Bases: YAMLSerializable

Two-point function with a window function.

The class used to store the metadata for a (spherical) harmonic-space two-point function measured on a sphere, with an associated window function.

This includes the two redshift resolutions (one for each binned quantity) and the matrix (window function) that relates the measured Cl’s with the predicted Cl’s.

Note that the matrix window always has l=0 and l=1 suppressed.

Parameters:

Public Methods:

__post_init__()

Validate the TwoPointCWindow data.

get_sacc_name()

Return the SACC name for the two-point function.

__init__(*, XY, window)

param XY:

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

__setattr__(name, value)

Implement setattr(self, name, value).

__delattr__(name)

Implement delattr(self, name).

__hash__()

Return hash(self).

Inherited from YAMLSerializable

to_yaml()

Return the YAML representation of the object.

from_yaml(yaml_str)

Load the object from YAML.


__eq__(other)#

Return self==value.

__post_init__()[source]#

Validate the TwoPointCWindow data.

Make sure the window is

get_sacc_name()[source]#

Return the SACC name for the two-point function.

Return type:

str