Skip to content

Commit df4ccc0

Browse files
committed
Minor changes in docstrings
1 parent 9bf2952 commit df4ccc0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

windpowerlib/power_curves.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def smooth_power_curve(power_curve_wind_speeds, power_curve_values,
5858
-----
5959
The following equation is used to calculated the power curves values of the
6060
smoothed power curve [1]_:
61-
.. math:: P_{smoothed}(v_{std}) = \sum\limits_{v_i} \Delta v_i \cdot P(v_i)
61+
62+
.. math:: P_{smoothed}(v_{std})=\sum\limits_{v_i}\Delta v_i\cdot P(v_i)
6263
\cdot \frac{1}{\sigma \sqrt{2 \pi}}
6364
\exp \left[-\frac{(v_{std} - v_i -\mu)^2}{2 \sigma^2} \right]
6465
@@ -68,8 +69,8 @@ def smooth_power_curve(power_curve_wind_speeds, power_curve_values,
6869
6970
:math:`P_{smoothed}` is the smoothed power curve value,
7071
:math:`v_{std}` is the standard wind speed in the power curve,
71-
:math: `\Delta v_i` is the interval length between
72-
:math: `$v_\text{i}$` and :math: `$v_\text{i+1}$`
72+
:math: `\Delta` :math: `v_i` is the interval length between
73+
:math: `v_\text{i}` and :math: `v_\text{i+1}`
7374
7475
Power curve smoothing is applied to take account for the spatial
7576
distribution of wind speed. This way of smoothing power curves is also used

0 commit comments

Comments
 (0)