uvex_transients.utils#

Package-wide configuration, logging, and random-number-generation helpers.

Functions

get_rng([rng])

Return a NumPy random-number generator.

get_seed_sequence([seed])

Return a NumPy ~numpy.random.SeedSequence.

resolve_healpix_resolution([nside, order])

Fill in an omitted HEALPix nside/order from the configured default.

spawn_seeds(spawn_sequence, n)

Derive n independent, reproducible, individually storable seeds.

split_root_seed([seed])

Split a root seed into an "immediate draws" generator and a "per-event seeds" spawner.

Modules

config

Hierarchical configuration manager with dot-separated keys and optional autosave.

cosmology

Cosmological utility functions.

io_utils

YAML (de)serialization helpers for the package configuration.

lightcurve_archive

Access to the packaged literature light-curve archive (test_data/transients/lightcurves.h5).

log

Logging setup for uvex_transients.

plotting

Shared plotting infrastructure for uvex_transients.