get_fsky

rubin_sim.maf.maf_contrib.get_fsky(outdir, band='i', print_fsky=True)

Calculate the fraction of the sky observed in a survey. The data must have been saved as .npz files in the given output directory. The method only looks at the mask of the data array.

Filenames should be in the format: <whatever>_<band>_<dither_strategy>.npz

Parameters:
outdirstr

name of the output directory where the data-to-look-at is.

band: str

band to consider. Default: ‘i’

print_fsky: `bool`

set to True if want to print( out fsky. Default: True