dsf.tomography.tomo_builder module

Binny tomography inputs for Delta Sigma forecasts.

class dsf.tomography.tomo_builder.TomographyBuilder(lens=None, source=None, *, overlap_threshold=0.1, source_behind_lens=True)[source]

Bases: object

Prepare lens and source tomography using Binny.

Parameters:
  • lens (Mapping[str, Any] | None)

  • source (Mapping[str, Any] | None)

  • overlap_threshold (float)

  • source_behind_lens (bool)

prepare_bins()[source]

Return Binny tomography products for Delta Sigma forecasts.

Return type:

dict[str, Any]

prepare_tomography()[source]

Backward-compatible alias for prepare_bins.

Return type:

dict[str, Any]