centerWithTemplate#
- lsst.ts.wep.utils.centerWithTemplate(image, template, rMax=10)#
Center the image by correlating with the template.
- Parameters:
image (np.ndarray) – The image to be centered
template (np.ndarray) – The template to use for correlation
rMax (float, optional) – The maximum distance the image can be shifted, in pixels. (the default is 10)
- Returns:
The centered image
- Return type:
np.ndarray