You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
105 lines
5.3 KiB
105 lines
5.3 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
<html >
|
|
<head><title>1.1.3.0 cartography_from_columns.py</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)">
|
|
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)">
|
|
<!-- html,index=2,3,4,5,next -->
|
|
<meta name="src" content="mammult_doc.tex">
|
|
<meta name="date" content="2015-10-19 17:14:00">
|
|
<link rel="stylesheet" type="text/css" href="mammult_doc.css">
|
|
</head><body
|
|
>
|
|
<!--l. 4--><div class="crosslinks"><p class="noindent">[<a
|
|
href="mammult_docsu19.html" >next</a>] [<a
|
|
href="mammult_docsu17.html" >prev</a>] [<a
|
|
href="mammult_docsu17.html#tailmammult_docsu17.html" >prev-tail</a>] [<a
|
|
href="#tailmammult_docsu18.html">tail</a>] [<a
|
|
href="mammult_docsu14.html#mammult_docsu18.html" >up</a>] </p></div>
|
|
<h5 class="subsubsectionHead"><a
|
|
id="x22-210001.1.3"></a><span
|
|
class="cmtt-10x-x-109">cartography</span><span
|
|
class="cmtt-10x-x-109">_from</span><span
|
|
class="cmtt-10x-x-109">_columns.py</span></h5>
|
|
<!--l. 4--><p class="noindent" ><span
|
|
class="cmbx-10x-x-109">NAME</span>
|
|
<!--l. 4--><p class="indent" > <span
|
|
class="cmbx-10x-x-109">cartography</span><span
|
|
class="cmbx-10x-x-109">_from</span><span
|
|
class="cmbx-10x-x-109">_columns.py </span>- compute total and participation
|
|
coefficient of generic structural descriptors of the nodes of a multiplex.
|
|
<!--l. 4--><p class="noindent" ><span
|
|
class="cmbx-10x-x-109">SYNOPSYS</span>
|
|
<!--l. 4--><p class="indent" > <span
|
|
class="cmbx-10x-x-109">cartography</span><span
|
|
class="cmbx-10x-x-109">_from</span><span
|
|
class="cmbx-10x-x-109">_columns.py </span><span
|
|
class="cmmi-10x-x-109"><</span><span
|
|
class="cmitt-10x-x-109">filein</span><span
|
|
class="cmmi-10x-x-109">> <</span><span
|
|
class="cmitt-10x-x-109">col1</span><span
|
|
class="cmmi-10x-x-109">> <</span><span
|
|
class="cmitt-10x-x-109">col2</span><span
|
|
class="cmmi-10x-x-109">></span>
|
|
<span
|
|
class="cmitt-10x-x-109">[</span><span
|
|
class="cmmi-10x-x-109"><</span><span
|
|
class="cmitt-10x-x-109">col3</span><span
|
|
class="cmmi-10x-x-109">></span><span
|
|
class="cmitt-10x-x-109">...]</span>
|
|
<!--l. 22--><p class="noindent" ><span
|
|
class="cmbx-10x-x-109">DESCRIPTION</span>
|
|
<!--l. 22--><p class="indent" > Compute and print on output the sum and the corresponding participation
|
|
coefficient of a generic structural descriptor of the nodes of a multiplex.
|
|
<!--l. 22--><p class="noindent" >The input file is a generic collection of single-space-separated columns, where
|
|
each line corresponds to a node. The user must specify the IDs of the columns
|
|
which contain the node structural descriptors to be used in the cartography
|
|
diagram. Columns IDs start from ZERO. For example:
|
|
<!--l. 22--><p class="indent" > <span
|
|
class="cmbx-10x-x-109">python cartography</span><span
|
|
class="cmbx-10x-x-109">_from</span><span
|
|
class="cmbx-10x-x-109">_layers.py filein.txt 0 2 4 6 8</span>
|
|
<!--l. 22--><p class="noindent" >will create a cartography diagram assuming that the multiplex network has five
|
|
layers, and that the node structural descriptors at each layers are contained in
|
|
the first (0), third (2), fifth (4), seventh (6) and nineth (8) columns of each
|
|
row.
|
|
<!--l. 33--><p class="noindent" ><span
|
|
class="cmbx-10x-x-109">OUTPUT</span>
|
|
<!--l. 33--><p class="indent" > The program prints on <span
|
|
class="cmtt-10x-x-109">stdout </span>a list of lines in the format:
|
|
<!--l. 33--><p class="indent" >   <span
|
|
class="cmti-10x-x-109">tot</span><span
|
|
class="cmti-10x-x-109">_n P</span><span
|
|
class="cmti-10x-x-109">_n</span>
|
|
<!--l. 33--><p class="indent" > where <span
|
|
class="cmti-10x-x-109">tot</span><span
|
|
class="cmti-10x-x-109">_n </span>is the sum over the layers of the considered structural descriptor
|
|
for node <span
|
|
class="cmmi-10x-x-109">n</span>, and <span
|
|
class="cmti-10x-x-109">P</span><span
|
|
class="cmti-10x-x-109">_n </span>is the associated participation coefficient
|
|
<!--l. 35--><p class="noindent" ><span
|
|
class="cmbx-10x-x-109">REFERENCE</span>
|
|
<!--l. 35--><p class="indent" > V. Nicosia, V. Latora, “Measuring and modeling correlations in multiplex
|
|
networks”, <span
|
|
class="cmti-10x-x-109">Phys. Rev. E </span><span
|
|
class="cmbx-10x-x-109">92</span>, 032805 (2015).
|
|
<!--l. 35--><p class="indent" > Link to paper: <a
|
|
href="http://journals.aps.org/pre/abstract/10.1103/PhysRevE.92.032805" class="url" ><span
|
|
class="cmtt-10x-x-109">http://journals.aps.org/pre/abstract/10.1103/PhysRevE.92.032805</span></a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--l. 169--><div class="crosslinks"><p class="noindent">[<a
|
|
href="mammult_docsu19.html" >next</a>] [<a
|
|
href="mammult_docsu17.html" >prev</a>] [<a
|
|
href="mammult_docsu17.html#tailmammult_docsu17.html" >prev-tail</a>] [<a
|
|
href="mammult_docsu18.html" >front</a>] [<a
|
|
href="mammult_docsu14.html#mammult_docsu18.html" >up</a>] </p></div>
|
|
<!--l. 169--><p class="indent" > <a
|
|
id="tailmammult_docsu18.html"></a>
|
|
</body></html>
|
|
|