Commit 6597f355 authored by juga's avatar juga
Browse files

Fix formula scaping latex in docstring

parent cd9ac188
......@@ -695,45 +695,45 @@ class V3BWFile(object):
All of that can be expressed as:
.. math::
:label:torflow_bwn_eq
bwn_i =&
max\left(
\frac{bw_i}{\mu},
\frac{bwf_i}{\mu_{bwf}}
\right)
\times bwobs_i\\
bwn_i &=
max\\left(
\\frac{bw_i}{\\mu},
\\frac{bwf_i}{\\mu_{bwf}}
\\right)
\\times bwobs_i
.. math::
bwn_i =&
max\left(
\frac{bw_i}{\mu},
min \left(
bwn_i &=
max\\left(
\\frac{bw_i}{\\mu},
min \\left(
bw_i,
bw_i \\times \\mu
\\right)
\\times
\\frac{bw_i}{\\sum_{i=1}^{n}
min \\left(bw_i,
bw_i \\times \\mu
\\right)}
\\right)
\\times bwobs_i \\
&=
max\\left(
\\frac{bw_i}{\\frac{\\sum_{i=1}^{n}bw_i}{n}},
min \\left(
bw_i,
bw_i \times \mu
\right)
\times
\frac{bw}{\sum_{i=1}^{n}
min \left(bw_i,
bw_i \times \mu
\right)}
\right)
\times bwobs_i \\
=&
max\left(
\frac{bw_i}{\frac{\sum_{i=1}^{n}bw_i}{n}},
min \left(
bw_i,
bw_i \times \frac{\sum_{i=1}^{n}bw_i}{n}
\right)
\times
\frac{bw}{\sum_{i=1}^{n}
min \left(bw_i,
bw_i \times \frac{\sum_{i=1}^{n}bw_i}{n}
\right)}
\right)
\times bwobs_i
bw_i \\times \\frac{\\sum_{i=1}^{n}bw_i}{n}
\\right)
\\times
\\frac{bw_i}{\\sum_{i=1}^{n}
min \\left(bw_i,
bw_i \\times \\frac{\\sum_{i=1}^{n}bw_i}{n}
\\right)}
\\right)
\\times bwobs_i
"""
log.info("Calculating relays' bandwidth using Torflow method.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment