rubin_sim.maf.utils.scale_benchmarks(run_length, benchmark='design')

Set the design and stretch values of the number of visits, area of the footprint, seeing values, FWHMeff values, skybrightness, and single visit depth (based on SRD values). Scales number of visits for the length of the run, relative to 10 years.


The length (in years) of the run.


design or stretch - which version of the SRD values to return. requested is another option, in which case the values of the number of visits requested by the OpSim run (recorded in the Config table) is returned.

benchmarks: dict of floats

A dictionary containing the number of visits, area of footprint, seeing and FWHMeff values, skybrightness and single visit depth for either the design or stretch SRD values.