uvex_transients.utils.results#

Downloading the published simulation results attached to UVEX Transients GitHub releases.

Every tagged release runs configs/full_run.yaml and attaches the outputs to the release as assets. Secondary simulations (for example configs/infant_sne.yaml) are attached too, each as one <simulation>.zip holding the same four files. The phase-space recovery maps (configs/phase_space.yaml) are attached the same way as phase_space.zip, with one subdirectory per map (see get_phase_space_map). They are not part of the pip-installed package, so get_results fetches them on demand, keeps them in the package cache, and returns local paths for the usual from_disk loaders. Only the requested files are downloaded from a simulation’s archive.

Attributes

GITHUB_REPO

The owner/name GitHub repository whose releases hold the published results.

RELEASES_URL

The repository's releases page.

RESULT_ASSETS

Short names for the release assets, mapped to their file names.

PHASE_SPACE_SIMULATION

The simulation name of the phase-space recovery maps, phase_space.zip on a release.

PHASE_SPACE_FILES

The files of one phase-space map, by short name.

Functions

find_release([tag, timeout])

Look up one published GitHub release.

get_phase_space_map(map_id[, files, tag, ...])

Download the files of one phase-space recovery map of a published release.

get_results([assets, tag, directory, ...])

Download assets of a published release and return their local paths.

list_simulations([tag, timeout])

List the secondary simulations attached to a published release.