Skip to content

Commit

Permalink
Merge pull request #12 from kemperlab/askushwa.fix_fourier_transform_…
Browse files Browse the repository at this point in the history
…mypy_error

Added `NotImplementedError` to the function `fourier_transform`'s body to signify to users that the function is not implemented yet instead of using ellipses as placeholder.
  • Loading branch information
ArvinSKushwaha committed Mar 3, 2024
2 parents 7806363 + db74b7c commit d1c198d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sumaq/response_function/spectral_analysis.py
Expand Up @@ -29,7 +29,8 @@ def __init__(
)

def fourier_transform(self) -> tuple[NDArray, NDArray]:
...
"""This function is currently in development."""
raise NotImplementedError()

def locate_peaks(
self, min_height: float = 0.1, min_threshold: float = 1e2
Expand Down

0 comments on commit d1c198d

Please sign in to comment.