uvex_transients.cli.phase_space.run_maps#
- uvex_transients.cli.phase_space.run_maps(phase_space_config: PhaseSpaceConfig, out_dir: Path, specs: list[MapSpec], *, overwrite: bool = False, resume: bool = False, progress: bool = False, workers: int = 1, products: bool = True) dict[str, dict[str, Path]][source]#
Make the maps, one after the other, each in its own subdirectory of out_dir.
- Parameters:
phase_space_config (
PhaseSpaceConfig) – The parsed run-config.out_dir (
pathlib.Path) – The directory to write to; each map goes toout_dir / <id>.overwrite (
bool, optional) – As foruvex_transients.phase_space.stages.run_experiment().resume (
bool, optional) – As foruvex_transients.phase_space.stages.run_experiment().progress (
bool, optional) – Whether to show the progress bars of the simulation.workers (
int, optional) – The number of processes that measure the points of a batch; 0 is one for each CPU. The results do not depend on it, since each point has its own seed. The default is 1.products (
bool, optional) – Whether to fit and draw each map after sampling it. If False, onlypoints.ecsvis written, and the rest is made withuvex_transients.phase_space.stages.fit_map()andplot_files().
- Returns:
For each map id, the files written (see
uvex_transients.phase_space.stages.run_experiment()).- Return type: