change: better default window
This commit is contained in:
@@ -73,7 +73,7 @@ class NoiseMeasurement:
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_time_series(
|
def from_time_series(
|
||||||
cls, time: np.ndarray, signal: np.ndarray, window: str = "Square", num_segments: int = 1
|
cls, time: np.ndarray, signal: np.ndarray, window: str = "Hann", num_segments: int = 1
|
||||||
) -> NoiseMeasurement:
|
) -> NoiseMeasurement:
|
||||||
"""
|
"""
|
||||||
compute a PSD from a time-series measurement.
|
compute a PSD from a time-series measurement.
|
||||||
|
|||||||
Reference in New Issue
Block a user