nu_coincidence.populations.selection module
- class nu_coincidence.populations.selection.CombinedFluxIndexSelection(name: str = 'CombinedFluxIndexSelection', use_obs_value: bool = True)
Bases:
LowerBound
Selection on
CombinedFluxIndexSampler
, with the form:index =
slope
log10(flux) +intercept
CombinedFluxIndexSampler
transforms to: -(index -slope
log10(flux)) such that a constant selection can be made on -intercept
.See e.g. Fig. 4 in Ajello et al. 2020 (4LAC), default values are set to approximate this.
- boundary
- class nu_coincidence.populations.selection.CombinedFluxIndexSoftSelection(name: str = 'CombinedFluxIndexSoftSelection', use_obs_value: bool = True)
Bases:
SoftSelection
Selection on
CombinedFluxIndexSampler
, with the form:index =
slope
log10(flux) +intercept
CombinedFluxIndexSampler
transforms to: -(index -slope
log10(flux)) such that a constant selection can be made on -intercept
.See e.g. Fig. 4 in Ajello et al. 2020 (4LAC), default values are set to approximate this.
- boundary
- draw(size: int, use_log: bool = False)
Override draw to not use log values.
- strength