pruneMaskModel¶
- lsst.ts.wep.utils.pruneMaskModel(maskModel: dict, thetaMax: Optional[float] = None, dTheta: float = 0.001) None ¶
Prune the mask model so only necessary elements remain.
Parameters¶
- maskModeldict
A mask model dictionary created by fitMaskModel.
- thetaMaxfloat 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)
- dThetafloat, optional
Increment in field angle to use for determining necessary items. (the default is 1e-3 degrees)
Returns¶
- dict
The mask model dictionary with unnecessary elements removed.