Small changes

This commit is contained in:
linarphy 2024-06-05 17:48:12 +02:00
parent 641b8962eb
commit cc6f311433
No known key found for this signature in database
GPG key ID: E61920135EFF2295
2 changed files with 4 additions and 1 deletions

View file

@ -51,4 +51,5 @@ def to_signal(variable: NDArray[float64]):
variable[1],
)
from science_signal.signal import Signal

View file

@ -67,7 +67,9 @@ class Signal:
cos(self.y),
)
def cut(self, start: None | float = None, end: None | float = None) -> "Signal":
def cut(
self, start: None | float = None, end: None | float = None
) -> "Signal":
"""
Cut signal from a start x to an end x
"""