Skip to content

Commit 0592777

Browse files
authored
Fix typo and improve formatting (#1033)
2 parents e2a792c + 9fff32e commit 0592777

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frequenz/sdk/timeseries/_resampling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"""Resampling function type.
8080
8181
A resampling function produces a new sample based on a list of pre-existing
82-
samples. It can do "upsampling" when there data rate of the `input_samples`
82+
samples. It can do "upsampling" when the data rate of the `input_samples`
8383
period is smaller than the `resampling_period`, or "downsampling" if it is
8484
bigger.
8585
@@ -142,7 +142,7 @@ class ResamplerConfig:
142142
143143
Expressed in number of periods, where period is the `resampling_period`
144144
if we are downsampling (resampling period bigger than the input period) or
145-
the input sampling period if we are upsampling (input period bigger than
145+
the *input sampling period* if we are upsampling (input period bigger than
146146
the resampling period).
147147
148148
It must be bigger than 1.0.

0 commit comments

Comments
 (0)