firecrown.metadata_types.TwoPointXY#

class firecrown.metadata_types.TwoPointXY(*, x, y, x_measurement, y_measurement)[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.

__str__()

Return a string representation of the TwoPointXY object.

get_tracer_names()

Return the TracerNames object for the TwoPointXY object.

__hash__()

Return hash(self).

__replace__(**changes)

__init__(*, x, y, x_measurement, y_measurement)

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

__str__()[source]#

Return a string representation of the TwoPointXY object.

Return type:

str

get_tracer_names()[source]#

Return the TracerNames object for the TwoPointXY object.

Return type:

TracerNames