yaw.catalogs.scipy.utils.count_histogram_patch#
- yaw.catalogs.scipy.utils.count_histogram_patch(patch: PatchCatalog, z_bins: NDArray[np.float64]) NDArray[np.float64][source]#
Compute a histogram of redshifts in a single patch.
- Parameters:
patch (
yaw.catalogs.scipy.PatchCatalog) – The input patch catalogue.z_bins (
NDArray[np.float64]) – The bin edges including the right-most edge.
- Returns:
Counts in the provided redshift bins.
- Return type:
NDArray[np.float64]