firecrown.metadata.two_point.TwoPointXiTheta#
- class firecrown.metadata.two_point.TwoPointXiTheta(*, XY, thetas)[source]#
Bases:
YAMLSerializable
Class defining the metadata for a real-space two-point measurement.
The class used to store the metadata for a real-space two-point function measured on a sphere.
This includes the two redshift resolutions (one for each binned quantity) and the a array of (floating point) theta (angle) values at which the two-point function which has this metadata were calculated.
- Parameters:
XY (
TwoPointXY
) –thetas (
ndarray
[Any
,dtype
[float64
]]) –
Public Methods:
Validate the TwoPointCWindow data.
Return the SACC name for the two-point function.
__eq__
(other)Equality test for TwoPointXiTheta objects.
__hash__
()Return hash(self).
__init__
(*, XY, thetas)- param XY:
__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.