1Relays' bandwidth distribution
2===================================
3
4sbws raw measurements compared to Torflow measurements
5------------------------------------------------------
6
7.. image:: images/43710932-ac1eeea8-9960-11e8-9e7e-21fddff2f7a3.png
8   :alt: sbws and torflow raw measurements distribution
9
10
11.. image:: images/43710933-ac95e0bc-9960-11e8-9aaf-0bb1f83b65e2.png
12   :alt: sbws and torflow raw measurements distribution 2
13
14
15sbws linear scaling
16--------------------
17
18Multiply each relay bandwidth by ``7500/median``
19
20See bandwidth_file_spec_ appendix B to know how about linear scaling.
21
22Code: :func:`sbws.lib.v3bwfile.sbws_scale`
23
24.. image:: images/20180901_163442.png
25   :alt: sbws linear scaling
26
27
28sbws Torflow scaling
29-----------------------
30
31See bandwidth_file_spec_ appendix B to know how about torflow scaling.
32
33Code: :func:`sbws.lib.v3bwfile.torflow_scale`
34
35.. image:: images/20180901_164014.png
36   :alt: sbws torflow scaling
37
38.. _bandwidth_file_spec: https://gitweb.torproject.org/torspec.git/tree/bandwidth-file-spec.txt
39