glanceBatch¶
- rubin_sim.maf.batches.glanceBatch(colmap=None, run_name='run_name', nside=64, filternames=('u', 'g', 'r', 'i', 'z', 'y'), nyears=10, pairnside=32, sql_constraint=None, slicer_camera='LSST')¶
Generate a handy set of metrics that give a quick overview of how well a survey performed. This is a meta-set of other batches, to some extent.
- Parameters:
- colmapdict, optional
A dictionary with a mapping of column names. Default will use OpsimV4 column names.
- run_namestr, optional
The name of the simulated survey. Default is “opsim”.
- nsideint, optional
The nside for the healpix slicers. Default 64.
- filternameslist of str, optional
The list of individual filters to use when running metrics. Default is (‘u’, ‘g’, ‘r’, ‘i’, ‘z’, ‘y’). There is always an all-visits version of the metrics run as well.
- nyearsint (10)
How many years to attempt to make hourglass plots for
- pairnsideint (32)
nside to use for the pair fraction metric (it’s slow, so nice to use lower resolution)
- sql_constraintstr or None, optional
Additional SQL constraint to apply to all metrics.
- slicer_camerastr (‘LSST’)
Sets which spatial slicer to use. options are ‘LSST’ and ‘ComCam’
- Returns:
- metric_bundleDict