calculateKernelSize

lsst.drp.tasks.assemble_chi2_coadd.calculateKernelSize(sigma: float, nSigmaForKernel: float = 7) int

Calculate the size of the smoothing kernel.

Parameters:
sigma:

Gaussian sigma of smoothing kernel.

nSigmaForKernel:

The multiple of sigma to use to set the size of the kernel. Note that that is the full width of the kernel bounding box (so a value of 7 means 3.5 sigma on either side of center). The value will be rounded up to the nearest odd integer.

Returns:
size:

Size of the smoothing kernel.