NSConfig

class jaxrens.state.config.NSConfig(n_live=500, max_iterations=None, convergence_threshold=0.1, n_mcmc_steps=20, n_extra=0, n_cull=1, seed=42, inter_re=None, n_gpu=1, n_per_gpu=1)[source]

Bases: object

Nested sampling run configuration.

max_iterations is optional — when None, the resolver does not add an IterationTermination to the default termination tuple, and the loop runs until another criterion (e.g. PriorMassTermination) fires. No static dead-array cap exists: dead-point history is streamed to disk by per-iteration callbacks, never held in memory.

Parameters: