From c37c66e2678bd218f632146d3f4479b7373b4c42 Mon Sep 17 00:00:00 2001 From: Thomas Dent Date: Fri, 2 Aug 2024 15:58:18 +0200 Subject: [PATCH] typos --- pycbc/types/timeseries.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pycbc/types/timeseries.py b/pycbc/types/timeseries.py index 89bdeab5344..830d3d6e64a 100644 --- a/pycbc/types/timeseries.py +++ b/pycbc/types/timeseries.py @@ -256,7 +256,7 @@ def at_time(self, time, nearest_sample=False, Return the interpolated value of the time series. Choices are simple linear or quadratic interpolation. extrapolate: str or float, None - Value to return if time is outsidde the range of the vector or + Value to return if time is outside the range of the vector or method of extrapolating the value. """ if nearest_sample: @@ -280,7 +280,7 @@ def at_time(self, time, nearest_sample=False, keep_idx = _numpy.where(left & right)[0] vtime = vtime[keep_idx] else: - raise ValueError(f"Unsuported extrapolate: {extrapolate}") + raise ValueError(f"Unsupported extrapolate: {extrapolate}") fi = (vtime - float(self.start_time)) * self.sample_rate i = _numpy.asarray(_numpy.floor(fi)).astype(int)