Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
tdent authored Aug 2, 2024
1 parent b76b31f commit c37c66e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycbc/types/timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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)
Expand Down

0 comments on commit c37c66e

Please sign in to comment.