pruneMaskModel#
- lsst.ts.wep.utils.pruneMaskModel(maskModel, thetaMax=None, dTheta=0.001)#
Prune the mask model so only necessary elements remain.
- Parameters:
maskModel (dict) – A mask model dictionary created by fitMaskModel.
thetaMax (float or None, optional) – The maximum field angle to consider. If None, then the maximum thetaMax in the maskModel dictionary is used. (the default is None)
dTheta (float, optional) – Increment in field angle to use for determining necessary items. (the default is 1e-3 degrees)
- Returns:
The mask model dictionary with unnecessary elements removed.
- Return type: