makeDiameterLadder#
- lsst.ts.wep.task.makeDiameterLadder(dMin, dMax, innerFrac=0.61, k=3)#
kth-root-of-(1/innerFrac) geometric ladder, clipped to [dMin, dMax].
Builds a geometric sequence of diameters whose common ratio is
(1 / innerFrac) ** (1 / k), so that everykrungs the diameter grows by the inner/outer obscuration ratio. This spaces the ladder so that each annulus template’s outer radius lands on another rung’s inner radius, which the correlation bank relies on.- Parameters:
dMin (float) – Smallest diameter in the ladder, in (binned) pixels.
dMax (float) – Largest diameter the ladder may reach, in (binned) pixels.
innerFrac (float, optional) – Inner/outer diameter ratio (central obscuration) of the donut.
k (int, optional) – Root order; larger
kgives finer diameter sampling.
- Returns:
Monotonically increasing diameters from
dMinup todMax.- Return type:
np.ndarray
- Raises:
ValueError – If
kis less than 1.