slice_wfd_area_quad

rubin_sim.scheduler.utils.slice_wfd_area_quad(target_map, nslice=2, wfd_indx=None)

Divide a healpix map in an intelligent way

Parameters:
target_mapdict of HEALpix arrays

The input map to slice

nsliceint (2)

The number of slices to divide the sky into (gets doubled). Default is 2

wfd_indxarray of int (None)

The indices of the healpix map to consider as part of the WFD area that will be split. If set to None, the pixels where target_map[‘r’] == 1 are considered as WFD.