firecrown.models.cluster.binning.TupleBin#

class firecrown.models.cluster.binning.TupleBin(coordinate_bins)[source]#

Bases: NDimensionalBin

An implementation of the N dimensional bin using sacc tracers.

Parameters:

coordinate_bins (list[tuple]) –

Public Methods:

__init__(coordinate_bins)

param coordinate_bins:

__eq__(other)

Two bins are equal if they have the same lower/upper bound.

__hash__()

One bin's hash is determined by the dimension and lower/upper bound.

Inherited from NDimensionalBin

__str__()

Returns a string representation of the bin edges.


__eq__(other)[source]#

Two bins are equal if they have the same lower/upper bound.

Parameters:

other (object) –

Return type:

bool

__hash__()[source]#

One bin’s hash is determined by the dimension and lower/upper bound.

Return type:

int

property dimension: int#

Number of dimensions for this bin.

property mass_proxy_edges: tuple[float, float]#

Redshift bin edges.

property z_edges: tuple[float, float]#

Redshift bin edges.