firecrown.metadata.two_point.InferredGalaxyZDist#
- class firecrown.metadata.two_point.InferredGalaxyZDist(*, bin_name, z, dndz, measured_type)[source]#
Bases:
YAMLSerializable
The class used to store the redshift resolution data for a sacc file.
The sacc file is a complicated set of tracers (bins) and surveys. This class is used to store the redshift resolution data for a single photometric bin.
- Parameters:
bin_name (
str
) –z (
ndarray
) –dndz (
ndarray
) –measured_type (
GalaxyMeasuredType
|CMBMeasuredType
|ClusterMeasuredType
) –
Public Methods:
Validate the redshift resolution data.
__eq__
(other)Equality test for InferredGalaxyZDist.
__hash__
()Return hash(self).
__init__
(*, bin_name, z, dndz, measured_type)- param bin_name:
__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.