27 Content-Disposition: inline; filename=" 15a5 Last-Modified: Wed, 05 Aug 2026 06:57:24 GMT Expires: Wed, 05 Aug 2026 07:02:24 GMT ETag: "24175d178853acafd3885a0660ae1dc1c3acfb6f" 1.1.3.0 cartography_from_columns.py
cartography_from_columns.py

NAME

cartography_from_columns.py - compute total and participation coefficient of generic structural descriptors of the nodes of a multiplex.

SYNOPSYS

cartography_from_columns.py <filein> <col1> <col2> [<col3>...]

DESCRIPTION

Compute and print on output the sum and the corresponding participation coefficient of a generic structural descriptor of the nodes of a multiplex.

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:

python cartography_from_layers.py filein.txt 0 2 4 6 8

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.

OUTPUT

The program prints on stdout a list of lines in the format:

  tot_n P_n

where tot_n is the sum over the layers of the considered structural descriptor for node n, and P_n is the associated participation coefficient

REFERENCE

V. Nicosia, V. Latora, “Measuring and modeling correlations in multiplex networks”, Phys. Rev. E 92, 032805 (2015).

Link to paper: http://journals.aps.org/pre/abstract/10.1103/PhysRevE.92.032805

0 HTTP/1.0 500 Internal Server Error Date: Wed, 05 Aug 2026 06:57:25 GMT Server: OpenBSD httpd Connection: close Content-Type: text/html Content-Length: 518 500 Internal Server Error

500 Internal Server Error


OpenBSD httpd