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:
x (
InferredGalaxyZDist
) –y (
InferredGalaxyZDist
) –
Public Methods:
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.