Skip to content

Commit 3165b99

Browse files
committed
Documentation fixes
1 parent 3de3174 commit 3165b99

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

windpowerlib/power_output.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,9 @@ def power_curve_density_correction(wind_speed, power_curve_wind_speeds,
181181
182182
Returns
183183
-------
184-
list
184+
pandas.Series or numpy.array
185185
Electrical power output of the wind turbine in W.
186+
Data type depends on type of `wind_speed`.
186187
187188
Notes
188189
-----

windpowerlib/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def linear_interpolation_extrapolation(df, target_height):
4141
4242
For the inter- and extrapolation the following equation is used:
4343
44-
.. math:: f(x) = (f(x_2) - f(x_1)) / (x_2 - x_1) * (x - x_1) + f(x_1)
44+
.. math:: f(x) = (f(x_2) - f(x_1)) / (x_2 - x_1) \cdot (x - x_1) + f(x_1)
4545
4646
Examples
4747
---------

0 commit comments

Comments
 (0)