hipscatalog_gen.mag_global.pipeline.run_mag_global_selection

run_mag_global_selection(remainder_ddf, densmaps, keep_cols, ra_col, dec_col, cfg, out_dir, diag_ctx, log_fn, avoid_computes=True, params=None)[source]

Execute the mag_global selection path and write tiles.

Parameters:
  • remainder_ddf (Any) – Dask-like collection after pre-filtering.

  • densmaps (Dict[int, ndarray]) – Mapping depth -> densmap counts.

  • keep_cols (List[str]) – Ordered list of columns to keep in tiles.

  • ra_col (str) – Name of the RA column.

  • dec_col (str) – Name of the DEC column.

  • cfg (Any) – Parsed configuration object.

  • out_dir – Output directory for HiPS tiles.

  • diag_ctx – Diagnostics context factory.

  • log_fn – Logging callback.

  • avoid_computes (bool) – Whether to avoid explicit compute() calls when possible.

  • params (MagGlobalParams | None) – Optional resolved magnitude parameters (auto-resolved when None).

Return type:

dict[str, dict[str, int]]