uvex_transients.phase_space.sampling.core.describe_detection#

uvex_transients.phase_space.sampling.core.describe_detection(settings: Mapping) → str[source]#

Describe what a map counts as a detection, in a few words.

Parameters:

settings (Mapping) – The settings of a survey-backed sampler, with snr_threshold and n_visits and, if it was given a definition of a detection, detection.

Returns:

For the default, the threshold and the number of visits. For a list of cuts, the threshold and the cuts, in order, each with the arguments it was given.

Return type:

str