Skip to content

Commit

Permalink
typehint and whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
maxecharles committed Oct 14, 2024
1 parent 1fde54a commit 54e2c66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dLux/psfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 54e2c66

Please sign in to comment.