firecrown.metadata_types.TwoPointReal#
- class firecrown.metadata_types.TwoPointReal(*, XY, thetas)[source]#
Bases:
YAMLSerializableClass 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[tuple[int,...],dtype[float64]]) –
Public Methods:
Validate the TwoPointCWindow data.
__str__()Return a string representation of the TwoPointReal object.
Return the SACC name for the two-point function.
__eq__(other)Equality test for TwoPointReal objects.
Return the number of observations described by these metadata.
__hash__()Return hash(self).
__replace__(**changes)__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