- rubin_sim.maf.batches.slewActivities(colmap=None, runName='opsim', totalSlewN=1, sqlConstraint=None)¶
Generate a set of slew statistics focused on finding the contributions to the overall slew time. These slew statistics must be run on the SlewActivities table in opsimv4 and opsimv3.
Note that the type of activities listed are different between v3 and v4.
- colmapdict or None, optional
A dictionary with a mapping of column names. Default will use OpsimV4 column names.
- runNamestr, optional
The name of the simulated survey. Default is “opsim”.
- totalSlewNint, optional
The total number of slews in the simulated survey. Used to calculate % of slew activities for each component. Default is 1.
- sqlConstraintstr or None, optional
SQL constraint to apply to metrics. Note this runs on Slew*State table, so constraints should generally be based on slew_slewCount.