firecrown.metadata.two_point.TwoPointXY

firecrown.metadata.two_point.TwoPointXY#

class firecrown.metadata.two_point.TwoPointXY(*, x, y)[source]#

Bases: YAMLSerializable

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

It is used to store the two redshift resolutions for the two bins being correlated.

Parameters:

Public Methods:

__post_init__()

Make sure the two redshift resolutions are compatible.

__eq__(other)

Equality test for TwoPointXY objects.

__hash__()

Return hash(self).

__init__(*, x, y)

param x:

__repr__()

Return repr(self).

__setattr__(name, value)

Implement setattr(self, name, value).

__delattr__(name)

Implement delattr(self, name).

Inherited from YAMLSerializable

to_yaml()

Return the YAML representation of the object.

from_yaml(yaml_str)

Load the object from YAML.


__eq__(other)[source]#

Equality test for TwoPointXY objects.

Return type:

bool

__post_init__()[source]#

Make sure the two redshift resolutions are compatible.

Return type:

None