return_cls¶
- rubin_sim.maf.maf_contrib.return_cls(path, outdir, band, specified_dith=None)¶
Get the cls from .npy files in path+outdir folder for a specified filter band.
Returns the data in the form of a dictonary with dither strategies as keys.
- Parameters:
- * path: str: path to the main directory where directories for the outputs from
artificialStructure are saved.
- * outdir: str: name of the directory where the cls are situated.
- * band: str: band to consider. Options: ‘u’, ‘g’, ‘r’, ‘i’, ‘z’, ‘y’
- * specified_dith: list of str: list of the names (strings) of the dither strategies to consider, e.g.
if want to plot only NoDither, specified_dith_only= [‘NoDither’]