sorcha.utilities.diffTestUtils
Attributes
Functions
|
Compare the results in test_output to those in golden_output. |
|
Run the full Rubin sim on the demo data and a fixed seed. |
Module Contents
- compare_result_files(test_output, golden_output)[source]
Compare the results in test_output to those in golden_output.
- Parameters:
test_output (string) -- The path and file name of the test results.
golden_output (string) -- The path and file name of the golden set results.
- Returns:
Indicates whether the results are the same.
- Return type:
bool
- override_seed_and_run(outpath, arg_set='baseline')[source]
Run the full Rubin sim on the demo data and a fixed seed.
WARNING: Never use a fixed seed for scientific analysis. This is for testing purposes only.
- Parameters:
outpath (string) -- The path for the output files.
arg_set (string, default="baseline") -- set of arguments for setting up the run. Options: "baseline" or "with_ephemeris". "baseline"" run does not ephemeris generation. "with_ephemeeris" is a full end to end run of all main components of sorcha.