From 54e2c6600459bdf2a1e97ab9f5e01d36cbc88b87 Mon Sep 17 00:00:00 2001 From: maxecharles Date: Tue, 15 Oct 2024 08:57:45 +1100 Subject: [PATCH] typehint and whitespace --- src/dLux/psfs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dLux/psfs.py b/src/dLux/psfs.py index 68a36d54..08cad9a6 100644 --- a/src/dLux/psfs.py +++ b/src/dLux/psfs.py @@ -79,7 +79,7 @@ def downsample(self: PSF, n: int) -> PSF: """ return self.set("data", dlu.downsample(self.data, n, mean=False)) - def convolve(self: PSF, other: Array, method="auto") -> PSF: + def convolve(self: PSF, other: Array, method: str = "auto") -> PSF: """ Convolves the psf with some input array. @@ -88,7 +88,7 @@ def convolve(self: PSF, other: Array, method="auto") -> PSF: other : Array The psf to convolve with. method : str = "auto" - The method to use for the convolution. Can be "auto", "direct", + The method to use for the convolution. Can be "auto", "direct", or "fft". Is "auto" by default, which calls "direct". Returns