hipscatalog_gen.selection.assign_level_edges

assign_level_edges(densmaps, depths_sel, fixed_targets, cdf_hist, score_edges_hist, score_min, score_max, n_tot_score, log_fn, label)[source]

Compute cumulative targets per depth and corresponding score edges.

Parameters:
  • densmaps (Dict[int, ndarray])

  • depths_sel (List[int])

  • fixed_targets (Dict[int, float])

  • cdf_hist (ndarray)

  • score_edges_hist (ndarray)

  • score_min (float)

  • score_max (float)

  • n_tot_score (float)

  • label (str)

Return type:

Tuple[ndarray, ndarray]