MapSpec#

class uvex_transients.cli.phase_space.MapSpec(id: str, kind: str = 'canonical', detection: dict[str, ~typing.Any]=<factory>, simulation: dict[str, ~typing.Any]=<factory>, stopping: dict[str, ~typing.Any]=<factory>, campaign: dict[str, ~typing.Any]=<factory>, settings: dict[str, ~typing.Any]=<factory>, axes: dict[str, tuple[float, float]] | None=None, grid_size: int | None = None)[source]#

One map of a run: an id, a kind and the settings of each section, with the shared ones already merged in.

Methods

Attributes

axes

The ranges of the axes of the map, by the name of the axis, or None for the sampler's own.

band

The band of the map, which is the one setting the configuration also holds a default for.

grid_size

Points per axis of the fitted map, or None for the configured size.

kind

The kind of sampler of the map, one of available_samplers().

sampler_options

the detection, simulation and settings: sections, merged.

id

Names the map's output directory.

detection

What counts as a recovery (band, snr_threshold, n_visits, cuts, ...).

simulation

How a point is simulated (mag_limit, time_bins, nside, order).

stopping

How many tries a point gets (chunk_size, k_target, n_max).

campaign

How the campaign spends its points (n_initial, batch_size, max_points, ...).

settings

The arguments of the sampler that belong to no other section.