CampaignSettings#

class uvex_transients.phase_space.experiment.CampaignSettings(n_initial: int, batch_size: int, max_points: int, tolerance: float, seed: int = 0)[source]#

How long a campaign runs and how it spends its points.

Raises:

ValueError – If a count is not a positive integer, or the tolerance is negative.

Methods

from_config(*[, n_initial, batch_size, ...])

Build the settings, taking what is not given from config["phase_space.campaign"].

Attributes

seed

The root seed of the measurements of the points; see point_seed().

n_initial

Size of the space-filling design measured before the first fit.

batch_size

Points chosen per round.

max_points

Stop once the map has this many points.

tolerance

Stop once the largest posterior standard deviation of \(\ln(p+\epsilon)\) falls below this.