diff --git a/README.md b/README.md index f99c9b2d..ac0c805b 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,6 @@ Tutorials may be run in your browser using Google Colab - Open In Colab Tutorial 2 - Visualization Methods @@ -41,7 +40,6 @@ Tutorials may be run in your browser using Google Colab - Open In Colab Tutorial 3 - LesMis Case Study @@ -49,7 +47,6 @@ Tutorials may be run in your browser using Google Colab - Open In Colab Tutorial 4 - LesMis Visualizations-Book Tour diff --git a/docs/build/.buildinfo b/docs/build/.buildinfo index b088336c..7f8381d9 100644 --- a/docs/build/.buildinfo +++ b/docs/build/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 100d5f0571659fa080bb0f6ef7eebc72 +config: 12513d66143dfa27e7a4e78bbb5b3696 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/build/.doctrees/algorithms/algorithms.doctree b/docs/build/.doctrees/algorithms/algorithms.doctree index 174f4a48..8c352810 100644 Binary files a/docs/build/.doctrees/algorithms/algorithms.doctree and b/docs/build/.doctrees/algorithms/algorithms.doctree differ diff --git a/docs/build/.doctrees/environment.pickle b/docs/build/.doctrees/environment.pickle index cc52055e..ce4425f6 100644 Binary files a/docs/build/.doctrees/environment.pickle and b/docs/build/.doctrees/environment.pickle differ diff --git a/docs/build/_modules/algorithms/homology_mod2.html b/docs/build/_modules/algorithms/homology_mod2.html index e04f7a90..524dae71 100644 --- a/docs/build/_modules/algorithms/homology_mod2.html +++ b/docs/build/_modules/algorithms/homology_mod2.html @@ -8,7 +8,7 @@ - algorithms.homology_mod2 — HyperNetX 0.3.4 documentation + algorithms.homology_mod2 — HyperNetX 0.3.5 documentation diff --git a/docs/build/_modules/algorithms/s_centrality_measures.html b/docs/build/_modules/algorithms/s_centrality_measures.html index fde9ab8c..153730f6 100644 --- a/docs/build/_modules/algorithms/s_centrality_measures.html +++ b/docs/build/_modules/algorithms/s_centrality_measures.html @@ -8,7 +8,7 @@ - algorithms.s_centrality_measures — HyperNetX 0.3.4 documentation + algorithms.s_centrality_measures — HyperNetX 0.3.5 documentation @@ -161,7 +161,22 @@

Source code for algorithms.s_centrality_measures

 # Copyright © 2018 Battelle Memorial Institute
 # All rights reserved.
-# This module developed for PNNL's hyperbio LDRD project summer 2019
+
+"""
+
+S-Centrality Measures
+=====================
+We generalize graph metrics to s-metrics for a hypergraph by using its s-connected
+components. This is accomplished by computing the s edge-adjacency matrix and
+constructing the corresponding graph of the matrix. We then use existing graph metrics
+on this representation of the hypergraph. In essence we construct an *s*-line graph
+corresponding to the hypergraph on which to apply our methods.
+
+S-Metrics for hypergraphs are discussed in depth in:        
+*Aksoy, S.G., Joslyn, C., Ortiz Marrero, C. et al. Hypernetwork science via high-order hypergraph walks.
+EPJ Data Sci. 9, 16 (2020). https://doi.org/10.1140/epjds/s13688-020-00231-0*
+
+"""
 
 import numpy as np
 from collections import defaultdict
@@ -193,10 +208,12 @@ 

Source code for algorithms.s_centrality_measures

A dictionary of s-betweenness centrality value of the edges. ''' + # Confirm there is at least 1 s edge for which we can compute the centrality # Find all s-edges #M,rdict,_ = H.incidence_matrix(index=True) #A = M.transpose().dot(M) + A, coldict = H.edge_adjacency_matrix(s=s, index=True) A.setdiag(0) A = (A >= s) * 1 @@ -227,8 +244,10 @@

Source code for algorithms.s_centrality_measures

If edge then a single value is returned. ''' + # Confirm there is at least 1 s edge for which we can compute the centrality # Find all s-edges + if edge and len(H.edges[edge]) < s: return 0 @@ -250,6 +269,7 @@

Source code for algorithms.s_centrality_measures

# confirm there are at least 2 s-edges # we follow the NX convention that the s-closeness centrality of a single edge Hypergraph is 0 + output = {} if not bool(Es) or len(Es) == 1: output = {e: 0 for e in edges} @@ -280,7 +300,11 @@

Source code for algorithms.s_centrality_measures

eccentricity[f] : float else: eccentricity_dict : dict - + : dict or float + returns the s-eccentricity value of the edges, a floating point number + If edge=None a dictionary of values for each s-edge in H is returned. + If edge then a single value is returned. + ''' if f: if isinstance(f, Entity): diff --git a/docs/build/_modules/classes/entity.html b/docs/build/_modules/classes/entity.html index b8bb3fd5..79c7c5ba 100644 --- a/docs/build/_modules/classes/entity.html +++ b/docs/build/_modules/classes/entity.html @@ -8,7 +8,7 @@ - classes.entity — HyperNetX 0.3.4 documentation + classes.entity — HyperNetX 0.3.5 documentation diff --git a/docs/build/_modules/classes/hypergraph.html b/docs/build/_modules/classes/hypergraph.html index 98df0572..d35cec2e 100644 --- a/docs/build/_modules/classes/hypergraph.html +++ b/docs/build/_modules/classes/hypergraph.html @@ -8,7 +8,7 @@ - classes.hypergraph — HyperNetX 0.3.4 documentation + classes.hypergraph — HyperNetX 0.3.5 documentation diff --git a/docs/build/_modules/drawing/rubber_band.html b/docs/build/_modules/drawing/rubber_band.html index ea2b8369..11b98e95 100644 --- a/docs/build/_modules/drawing/rubber_band.html +++ b/docs/build/_modules/drawing/rubber_band.html @@ -8,7 +8,7 @@ - drawing.rubber_band — HyperNetX 0.3.4 documentation + drawing.rubber_band — HyperNetX 0.3.5 documentation diff --git a/docs/build/_modules/drawing/two_column.html b/docs/build/_modules/drawing/two_column.html index 7c977043..352a2116 100644 --- a/docs/build/_modules/drawing/two_column.html +++ b/docs/build/_modules/drawing/two_column.html @@ -8,7 +8,7 @@ - drawing.two_column — HyperNetX 0.3.4 documentation + drawing.two_column — HyperNetX 0.3.5 documentation diff --git a/docs/build/_modules/drawing/util.html b/docs/build/_modules/drawing/util.html index 0e71704e..50b7a36f 100644 --- a/docs/build/_modules/drawing/util.html +++ b/docs/build/_modules/drawing/util.html @@ -8,7 +8,7 @@ - drawing.util — HyperNetX 0.3.4 documentation + drawing.util — HyperNetX 0.3.5 documentation diff --git a/docs/build/_modules/index.html b/docs/build/_modules/index.html index ff8e508d..9a56bc17 100644 --- a/docs/build/_modules/index.html +++ b/docs/build/_modules/index.html @@ -8,7 +8,7 @@ - Overview: module code — HyperNetX 0.3.4 documentation + Overview: module code — HyperNetX 0.3.5 documentation diff --git a/docs/build/_modules/reports/descriptive_stats.html b/docs/build/_modules/reports/descriptive_stats.html index bf2ab790..099b33f3 100644 --- a/docs/build/_modules/reports/descriptive_stats.html +++ b/docs/build/_modules/reports/descriptive_stats.html @@ -8,7 +8,7 @@ - reports.descriptive_stats — HyperNetX 0.3.4 documentation + reports.descriptive_stats — HyperNetX 0.3.5 documentation diff --git a/docs/build/_static/documentation_options.js b/docs/build/_static/documentation_options.js index 6e4da6fd..883b606f 100644 --- a/docs/build/_static/documentation_options.js +++ b/docs/build/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '0.3.4', + VERSION: '0.3.5', LANGUAGE: 'None', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/docs/build/algorithms/algorithms.html b/docs/build/algorithms/algorithms.html index 96106adb..228bd9e3 100644 --- a/docs/build/algorithms/algorithms.html +++ b/docs/build/algorithms/algorithms.html @@ -8,7 +8,7 @@ - algorithms package — HyperNetX 0.3.4 documentation + algorithms package — HyperNetX 0.3.5 documentation @@ -101,7 +101,10 @@
  • Homology and Smith Normal Form
  • -
  • algorithms.s_centrality_measures module
  • +
  • algorithms.s_centrality_measures module +
  • Module contents
  • @@ -599,6 +602,16 @@

    Homology Mod2

    algorithms.s_centrality_measures module

    +
    +

    S-Centrality Measures

    +

    We generalize graph metrics to s-metrics for a hypergraph by using its s-connected +components. This is accomplished by computing the s edge-adjacency matrix and +constructing the corresponding graph of the matrix. We then use existing graph metrics +on this representation of the hypergraph. In essence we construct an s-line graph +corresponding to the hypergraph on which to apply our methods.

    +

    S-Metrics for hypergraphs are discussed in depth in: +Aksoy, S.G., Joslyn, C., Ortiz Marrero, C. et al. Hypernetwork science via high-order hypergraph walks. +EPJ Data Sci. 9, 16 (2020). https://doi.org/10.1140/epjds/s13688-020-00231-0

    algorithms.s_centrality_measures.s_betweenness_centrality(H, s=1, normalized=True)[source]
    @@ -630,10 +643,18 @@

    Homology Mod2 +
    if f:

    eccentricity[f] : float

    -
    else:

    eccentricity_dict : dict

    +
    else:
    +

    eccentricity_dict : dict

    +
    +
    +
    : dict or float

    returns the s-eccentricity value of the edges, a floating point number +If edge=None a dictionary of values for each s-edge in H is returned. +If edge then a single value is returned.

    +
    +

    @@ -664,6 +685,7 @@

    Homology Mod2

    Module contents

    diff --git a/docs/build/algorithms/modules.html b/docs/build/algorithms/modules.html index 3c3fbb74..e96b072a 100644 --- a/docs/build/algorithms/modules.html +++ b/docs/build/algorithms/modules.html @@ -8,7 +8,7 @@ - algorithms — HyperNetX 0.3.4 documentation + algorithms — HyperNetX 0.3.5 documentation @@ -178,7 +178,10 @@

    algorithmsalgorithms.s_centrality_measures module +
  • algorithms.s_centrality_measures module +
  • Module contents
  • diff --git a/docs/build/classes/classes.html b/docs/build/classes/classes.html index 6519bcfd..0d765a01 100644 --- a/docs/build/classes/classes.html +++ b/docs/build/classes/classes.html @@ -8,7 +8,7 @@ - classes package — HyperNetX 0.3.4 documentation + classes package — HyperNetX 0.3.5 documentation diff --git a/docs/build/classes/modules.html b/docs/build/classes/modules.html index 9913da1a..bdd51296 100644 --- a/docs/build/classes/modules.html +++ b/docs/build/classes/modules.html @@ -8,7 +8,7 @@ - classes — HyperNetX 0.3.4 documentation + classes — HyperNetX 0.3.5 documentation diff --git a/docs/build/drawing/drawing.html b/docs/build/drawing/drawing.html index f0a41b20..2923aa73 100644 --- a/docs/build/drawing/drawing.html +++ b/docs/build/drawing/drawing.html @@ -8,7 +8,7 @@ - drawing package — HyperNetX 0.3.4 documentation + drawing package — HyperNetX 0.3.5 documentation diff --git a/docs/build/drawing/modules.html b/docs/build/drawing/modules.html index 82eedc21..9b1ca2e8 100644 --- a/docs/build/drawing/modules.html +++ b/docs/build/drawing/modules.html @@ -8,7 +8,7 @@ - drawing — HyperNetX 0.3.4 documentation + drawing — HyperNetX 0.3.5 documentation diff --git a/docs/build/genindex.html b/docs/build/genindex.html index f6432d5e..d72a5c80 100644 --- a/docs/build/genindex.html +++ b/docs/build/genindex.html @@ -9,7 +9,7 @@ - Index — HyperNetX 0.3.4 documentation + Index — HyperNetX 0.3.5 documentation diff --git a/docs/build/glossary.html b/docs/build/glossary.html index 8a412121..48f4fc33 100644 --- a/docs/build/glossary.html +++ b/docs/build/glossary.html @@ -8,7 +8,7 @@ - Glossary of HNX terms — HyperNetX 0.3.4 documentation + Glossary of HNX terms — HyperNetX 0.3.5 documentation diff --git a/docs/build/index.html b/docs/build/index.html index 0cbbfe5a..255ddf92 100644 --- a/docs/build/index.html +++ b/docs/build/index.html @@ -8,7 +8,7 @@ - HyperNetX (HNX) — HyperNetX 0.3.4 documentation + HyperNetX (HNX) — HyperNetX 0.3.5 documentation diff --git a/docs/build/install.html b/docs/build/install.html index 890dd8a3..9e26fadc 100644 --- a/docs/build/install.html +++ b/docs/build/install.html @@ -8,7 +8,7 @@ - Installing HyperNetX — HyperNetX 0.3.4 documentation + Installing HyperNetX — HyperNetX 0.3.5 documentation diff --git a/docs/build/license.html b/docs/build/license.html index ab054128..20805e71 100644 --- a/docs/build/license.html +++ b/docs/build/license.html @@ -8,7 +8,7 @@ - License — HyperNetX 0.3.4 documentation + License — HyperNetX 0.3.5 documentation diff --git a/docs/build/overview/index.html b/docs/build/overview/index.html index 1dda0f8e..e1dcae6f 100644 --- a/docs/build/overview/index.html +++ b/docs/build/overview/index.html @@ -8,7 +8,7 @@ - Overview — HyperNetX 0.3.4 documentation + Overview — HyperNetX 0.3.5 documentation diff --git a/docs/build/py-modindex.html b/docs/build/py-modindex.html index ce4e9d6c..c6528fe6 100644 --- a/docs/build/py-modindex.html +++ b/docs/build/py-modindex.html @@ -8,7 +8,7 @@ - Python Module Index — HyperNetX 0.3.4 documentation + Python Module Index — HyperNetX 0.3.5 documentation diff --git a/docs/build/reports/modules.html b/docs/build/reports/modules.html index f13a1467..ec4413f1 100644 --- a/docs/build/reports/modules.html +++ b/docs/build/reports/modules.html @@ -8,7 +8,7 @@ - reports — HyperNetX 0.3.4 documentation + reports — HyperNetX 0.3.5 documentation diff --git a/docs/build/reports/reports.html b/docs/build/reports/reports.html index a9c0d014..6436b5e2 100644 --- a/docs/build/reports/reports.html +++ b/docs/build/reports/reports.html @@ -8,7 +8,7 @@ - reports package — HyperNetX 0.3.4 documentation + reports package — HyperNetX 0.3.5 documentation diff --git a/docs/build/search.html b/docs/build/search.html index 90bdd44d..b330fd4e 100644 --- a/docs/build/search.html +++ b/docs/build/search.html @@ -8,7 +8,7 @@ - Search — HyperNetX 0.3.4 documentation + Search — HyperNetX 0.3.5 documentation diff --git a/docs/build/searchindex.js b/docs/build/searchindex.js index b981cdc7..c4f8af3b 100644 --- a/docs/build/searchindex.js +++ b/docs/build/searchindex.js @@ -1 +1 @@ -Search.setIndex({docnames:["algorithms/algorithms","algorithms/modules","classes/classes","classes/modules","drawing/drawing","drawing/modules","glossary","index","install","license","overview/index","reports/modules","reports/reports"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,"sphinx.ext.intersphinx":1,"sphinx.ext.todo":2,"sphinx.ext.viewcode":1,sphinx:56},filenames:["algorithms/algorithms.rst","algorithms/modules.rst","classes/classes.rst","classes/modules.rst","drawing/drawing.rst","drawing/modules.rst","glossary.rst","index.rst","install.rst","license.rst","overview/index.rst","reports/modules.rst","reports/reports.rst"],objects:{"":{algorithms:[0,0,0,"-"],classes:[2,0,0,"-"],drawing:[4,0,0,"-"],reports:[12,0,0,"-"]},"algorithms.homology_mod2":{add_to_column:[0,1,1,""],add_to_row:[0,1,1,""],bkMatrix:[0,1,1,""],coset:[0,1,1,""],homology_basis:[0,1,1,""],hypergraph_homology_basis:[0,1,1,""],interpret:[0,1,1,""],kchainbasis:[0,1,1,""],logical_dot:[0,1,1,""],logical_matadd:[0,1,1,""],logical_matmul:[0,1,1,""],matmulreduce:[0,1,1,""],reduced_row_echelon_form_mod2:[0,1,1,""],smith_normal_form_mod2:[0,1,1,""],swap_columns:[0,1,1,""],swap_rows:[0,1,1,""]},"algorithms.s_centrality_measures":{s_betweenness_centrality:[0,1,1,""],s_eccentricity:[0,1,1,""],s_harmonic_closeness_centrality:[0,1,1,""]},"classes.entity":{Entity:[2,2,1,""],EntitySet:[2,2,1,""]},"classes.entity.Entity":{add:[2,3,1,""],add_element:[2,3,1,""],add_elements_from:[2,3,1,""],children:[2,3,1,""],clone:[2,3,1,""],complete_registry:[2,3,1,""],depth:[2,3,1,""],elements:[2,3,1,""],fullregistry:[2,3,1,""],incidence_dict:[2,3,1,""],intersection:[2,3,1,""],is_bipartite:[2,3,1,""],is_empty:[2,3,1,""],level:[2,3,1,""],levelset:[2,3,1,""],memberships:[2,3,1,""],merge_entities:[2,3,1,""],nested_incidence_dict:[2,3,1,""],properties:[2,3,1,""],registry:[2,3,1,""],remove:[2,3,1,""],remove_element:[2,3,1,""],remove_elements_from:[2,3,1,""],restrict_to:[2,3,1,""],size:[2,3,1,""],uid:[2,3,1,""],uidset:[2,3,1,""]},"classes.entity.EntitySet":{add:[2,3,1,""],clone:[2,3,1,""],collapse_identical_elements:[2,3,1,""],incidence_matrix:[2,3,1,""],restrict_to:[2,3,1,""]},"classes.hypergraph":{Hypergraph:[2,2,1,""]},"classes.hypergraph.Hypergraph":{add_edge:[2,3,1,""],add_edges_from:[2,3,1,""],add_node_to_edge:[2,3,1,""],adjacency_matrix:[2,3,1,""],auxiliary_matrix:[2,3,1,""],bipartite:[2,3,1,""],collapse_edges:[2,3,1,""],collapse_nodes:[2,3,1,""],collapse_nodes_and_edges:[2,3,1,""],component_subgraphs:[2,3,1,""],components:[2,3,1,""],connected_component_subgraphs:[2,3,1,""],connected_components:[2,3,1,""],degree:[2,3,1,""],diameter:[2,3,1,""],dim:[2,3,1,""],distance:[2,3,1,""],dual:[2,3,1,""],edge_adjacency_matrix:[2,3,1,""],edge_diameter:[2,3,1,""],edge_diameters:[2,3,1,""],edge_distance:[2,3,1,""],edges:[2,3,1,""],from_bipartite:[2,3,1,""],from_dataframe:[2,3,1,""],from_numpy_array:[2,3,1,""],incidence_dict:[2,3,1,""],incidence_matrix:[2,3,1,""],is_connected:[2,3,1,""],neighbors:[2,3,1,""],node_diameters:[2,3,1,""],nodes:[2,3,1,""],number_of_edges:[2,3,1,""],number_of_nodes:[2,3,1,""],order:[2,3,1,""],remove_edge:[2,3,1,""],remove_edges:[2,3,1,""],remove_node:[2,3,1,""],remove_nodes:[2,3,1,""],remove_singletons:[2,3,1,""],restrict_to_edges:[2,3,1,""],restrict_to_nodes:[2,3,1,""],s_component_subgraphs:[2,3,1,""],s_components:[2,3,1,""],s_connected_components:[2,3,1,""],s_degree:[2,3,1,""],shape:[2,3,1,""],singletons:[2,3,1,""],size:[2,3,1,""],toplexes:[2,3,1,""]},"drawing.rubber_band":{draw:[4,1,1,""],draw_hyper_edge_labels:[4,1,1,""],draw_hyper_edges:[4,1,1,""],draw_hyper_labels:[4,1,1,""],draw_hyper_nodes:[4,1,1,""],get_default_radius:[4,1,1,""],inflate_kwargs:[4,1,1,""],layout_hyper_edges:[4,1,1,""],layout_node_link:[4,1,1,""]},"drawing.two_column":{draw:[4,1,1,""],draw_hyper_edges:[4,1,1,""],draw_hyper_labels:[4,1,1,""],layout_two_column:[4,1,1,""]},"drawing.util":{get_frozenset_label:[4,1,1,""],get_line_graph:[4,1,1,""],get_set_layering:[4,1,1,""]},"reports.descriptive_stats":{centrality_stats:[12,1,1,""],comp_dist:[12,1,1,""],degree_dist:[12,1,1,""],dist_stats:[12,1,1,""],edge_size_dist:[12,1,1,""],frequency_distribution:[12,1,1,""],info:[12,1,1,""],info_dict:[12,1,1,""],s_comp_dist:[12,1,1,""],s_edge_diameter_dist:[12,1,1,""],s_node_diameter_dist:[12,1,1,""],toplex_dist:[12,1,1,""]},algorithms:{homology_mod2:[0,0,0,"-"],s_centrality_measures:[0,0,0,"-"]},classes:{entity:[2,0,0,"-"],hypergraph:[2,0,0,"-"]},drawing:{rubber_band:[4,0,0,"-"],two_column:[4,0,0,"-"],util:[4,0,0,"-"]},reports:{descriptive_stats:[12,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"],"2":["py","class","Python class"],"3":["py","method","Python method"]},objtypes:{"0":"py:module","1":"py:function","2":"py:class","3":"py:method"},terms:{"2x2":2,"76rl01830":10,"abstract":0,"boolean":[0,2],"case":2,"class":[6,7,10],"default":[0,2,4,12],"final":0,"float":[0,2,4],"function":[2,4],"import":2,"int":[0,2,4],"long":[2,12],"new":[0,2,4],"null":8,"return":[0,2,4,6,12],"static":2,"switch":6,"true":[0,2,4,12],AND:9,ARE:9,BUT:9,FOR:9,For:[0,2,4,6,7,8,10],NOT:9,Not:2,One:2,SUCH:9,Such:9,THE:9,The:[0,2,4,6,7,10],Then:4,These:0,USE:9,Use:6,Uses:2,Using:2,__dict__:2,abov:[4,9,12],abs:2,ac05:10,accept:[2,4],access:[6,8],account:10,accuraci:10,aco5:10,across:4,action:0,activ:[7,8,10],add:2,add_edg:2,add_edges_from:2,add_el:2,add_elements_from:2,add_node_to_edg:2,add_nodes_from:2,add_to_column:0,add_to_row:0,added:[0,2,4],adding:2,addit:[0,2],adjac:[2,6],adjacency_matrix:2,adjust:4,advis:9,after:2,against:2,agenc:10,aggreg:12,aksoi:10,algorithm:[4,7,10],align:4,all:[0,2,4,6,8,12],allow:[2,4],alpha:4,alreadi:2,also:[2,6,12],alter:0,amount:4,anaconda3:8,anaconda:7,analysi:10,analyt:10,angl:4,ani:[2,6,9,10],annot:4,anoth:[0,4,6],apparatu:10,appear:2,appli:[0,2,4],applic:2,approach:4,appropri:4,ar1:0,ar2:0,arbitrari:4,arendt:10,arg:[0,2],arg_set:2,argument:[2,4],argumetn:4,aris:9,around:4,arr:0,arrai:[0,2],asc:0,aspect:12,assign:[2,4],associ:[0,2,9],assum:[2,10],attribut:6,author:10,auxiliari:[2,6],auxiliary_matrix:2,axi:4,band:4,base:[0,2,4,6],basi:0,basic:[2,6,12],bat:8,battel:[9,10],becom:2,befor:2,behavior:0,behind:4,being:0,belong:[2,6],below:8,berg:0,best:0,betti:0,between:[0,2,4,6,7],binari:[0,9],bipartit:[2,4,6],bkmatrix:0,bool:[0,2,4],both:[2,6,7,10],bound:0,boundari:[0,4],box:4,brenda:10,briefest:0,browser:8,bsd:8,build:[2,8],build_doc:8,busi:9,c_k:0,calcul:4,call:[4,6],can:[2,4,6,7],cannot:2,cardin:2,care:2,caus:[2,9],cell:[0,2,12],center:4,central:[0,12],centrality_stat:12,certain:2,chain:0,chang:[4,7,10],check:2,child:2,children:[2,6],chmod:8,choos:2,chosen:4,circl:4,classmethod:2,claus:8,cliff:10,clone:[2,8],close:0,code:9,cokernel:0,coldict:2,collaps:[2,4],collapse_edg:2,collapse_identical_el:2,collapse_nod:2,collapse_nodes_and_edg:2,collect:4,collumn:4,color:4,column:[0,2,4,6,12],column_index:2,com:8,come:8,command:8,comment:[7,10],commerci:10,comp:12,comp_dist:12,complet:[6,10],complete_registri:2,complex:[0,2,7,10],compon:[2,4,6,12],component_subgraph:2,comput:[0,2,4,12],concentr:4,conda:8,condit:[2,6,9],conflict:2,connect:[0,2,4,6,12],connected_compon:2,connected_component_subgraph:2,consecut:2,consent:9,consequenti:9,consid:[0,2],constitut:10,construct:[2,6],constructor:[2,4],contact:[7,10],contain:[0,2,4,6,7,10,12],content:[1,3,5,11],continu:8,contract:[9,10],contributor:9,control:2,conveni:4,convert:[2,4],convex:4,cooper:10,coordin:4,copi:[0,2,9],copyright:9,correct:4,correspond:[0,2,6],coset:0,could:2,count:[2,4,12],creat:[2,8,12],cross:4,csr:2,csr_matrix:2,current:[7,10],curvi:4,custom:4,cycl:[0,2,4],cyclic:0,damag:9,data:[0,2,4,7,9,10],datafram:2,dedup:2,deeper:2,defin:2,degre:[2,6,12],degree_dist:12,delet:2,demand:[7,10],densiti:12,depart:10,depend:2,depth:[2,6],descend:2,descript:0,descriptive_stat:11,design:[7,10],desir:2,determin:[2,4],develop:[7,10],deviat:12,diagon:[0,2],diagram:4,diamet:[2,6,12],dict:[0,2,4,12],dictionari:[0,2,4,6,12],differ:2,digraph:4,dim:2,dimens:[0,2],dimension:0,direct:[2,4,9],directli:[7,10],dirti:4,disabl:4,discard:2,disclaim:9,disclos:10,disconnect:4,discov:0,disjoint:[2,6],disonnecct:4,dist:12,dist_stat:12,distanc:[2,4,6],distant:4,distinct:2,distinguish:[2,6],distribut:[9,12],dlfer:0,doc:8,document:[8,9],doe:[2,4,10],doing:2,done:2,dot:0,draw:7,draw_hyper_edg:4,draw_hyper_edge_label:4,draw_hyper_label:4,draw_hyper_nod:4,drawn:4,drop:2,dual:[2,6,7],duplic:[0,2],dustin:10,e_1:2,e_2:2,e_end:2,e_n:2,e_start:2,each:[0,2,4,6,7,12],easier:4,eccentr:0,eccentricity_dict:0,echelon:0,edg:[0,2,4,6,7,12],edge_adjac:2,edge_adjacency_matrix:2,edge_diamet:2,edge_dist:2,edge_kwarg:4,edge_label:2,edge_labels_kwarg:4,edge_nam:2,edge_set:2,edge_size_dist:12,edge_uid:2,edges_kwarg:4,edgeset:2,edgess:2,edit:8,effect:2,either:[6,7,12],element:[0,2,4,6,12],element_subset:2,els:0,emili:10,emploi:2,employe:10,empti:[2,6],end:2,endors:10,energi:10,ensur:2,ent1:2,ent2:2,entiti:[0,3,4,6,7,9],entityset:[2,6],entri:[0,6],env:8,environ:7,equal:[0,2,6,12],equat:0,equival:[0,2],error:[0,2],evalu:2,even:9,event:9,everi:[0,2,6],exactli:6,exampl:[0,2,4,8],exceed:2,except:6,exe:8,execut:8,exemplari:9,exhibit:0,exist:[2,4,6],expand:4,expect:[7,10],express:[9,10],extens:8,facecolor:4,fail:2,fals:[0,2,4,12],favor:10,featur:0,ferrario:0,figur:4,file:[8,9],fill:12,fillna:2,find:4,first:[2,4],firstlevel:2,fit:9,follow:[2,4,8,9],fork:8,form:[1,9],format:12,found:7,fraction:[0,4],frequenc:12,frequency_distribut:12,from:[0,2,4,6,8,12],from_bipartit:[2,6],from_datafram:2,from_numpy_arrai:2,frozen:2,frozenset:2,fruchterman_reingold_layout:4,full:2,fullregistri:2,further:4,gener:[0,2,4,6,7,8,10,12],get_default_radiu:4,get_frozenset_label:4,get_line_graph:4,get_set_lay:4,github:8,give:2,given:[0,2,4,6],glossari:7,going:12,good:[0,9],gotten:2,gov:[7,10],govern:10,grant:9,graph:[2,4,6,7,10],graphic:10,grate:[7,10],greater:[0,2],group:0,guarante:4,handl:4,harmon:0,has:[2,6,10],hashabl:2,have:[0,2,4,6],header:2,helper:4,henc:2,herebi:9,herein:[9,10],hereinaft:9,high:10,higher:0,hist:12,hnx:[0,2,8],holder:9,homolog:1,homology_basi:0,homology_mod2:1,honor:2,howev:9,hpda:10,html:8,http:[0,8],hull:4,hyper:[2,4,6,7],hyperedg:[2,6],hypergraph:[0,3,4,6,7,10,12],hypergraph_homology_basi:0,hypernet:10,hypernetx:[2,9,10],hypernetxerror:[0,2],i_m:0,i_n:0,ideal:0,ident:[0,2,4],identifi:[0,2],ids:[2,4],illustr:4,im2:0,imag:0,impli:[4,9,10],impos:6,incid:[2,6,12],incidence_dict:2,incidence_matrix:2,incident:9,includ:[2,9],inclus:0,inde:2,independ:4,index:[0,2,6,7,8],indic:2,indirect:9,induc:[2,6],inf:2,infin:2,infinit:6,inflate_kwarg:4,info:12,info_dict:12,inform:[10,12],infring:10,inner:0,inseper:2,instal:7,instanc:[2,6],instanti:[2,6],instead:[2,4],institut:[9,10],instruct:8,integ:[0,2,4,6,12],intend:4,intens:2,inter:2,interest:0,intermedi:0,interpret:0,interrupt:9,intersect:[0,2,4,6],intuit:6,invers:0,invert:0,investig:10,invis:4,is_bipartit:2,is_connect:2,is_empti:2,isn:2,isomorph:[2,6],item:[2,12],iter:[0,2,4,12],ith:0,iti:6,its:[0,2,4,6,10],itself:[2,6],joslyn:10,jth:0,jupyt:8,jurisdict:10,kbasi:0,kchain:0,kchainbasi:0,keep:[2,12],kei:[0,2,4,6,12],kernel:0,keyword:[2,4],km1basi:0,known:2,kth:0,kwarg:4,kyle:10,label:[2,4],label_alpha:4,laberl:4,laboratori:10,larg:2,last:2,lastlevel:2,lawfulli:9,layer:4,layout:4,layout_hyper_edg:4,layout_kwarg:4,layout_node_link:4,layout_two_column:4,least:[2,4,6],left:[0,4],legal:10,len:12,length:[0,2,4,6],less:[0,2],let:2,level:[2,4,6],levelset:[2,6],liabil:[9,10],liabl:9,librari:[7,10],licens:7,like:[2,4],limit:9,line:[2,4],linecollect:4,linewidth:4,link:2,linv:0,list:[0,2,4,9,12],llinv:0,lmr:0,locat:[4,8],log:0,logfil:0,logic:0,logical_dot:0,logical_matadd:0,logical_matmul:0,longest:2,look:0,loss:9,lower:4,mac:8,made:2,mai:[2,6,7,8,9,10],make:[2,4,10],manag:10,mani:[2,7,10,12],manual:4,manufactur:10,map:[0,4],mark:10,mat1:0,mat2:0,mat:0,match:[0,2],materi:10,mathemat:10,matmulreduc:0,matplotlib:[4,8],matric:[0,4],matrix:[0,2,6,12],max:[0,12],max_depth:2,maxim:[2,6],maximum:[2,6],mean:[0,2,12],measur:0,median:[4,12],membership:[2,4,6],memori:[9,10],merchant:9,merg:[2,9],merge_ent:2,method:[0,2,6,7,10,12],metric:[7,10],min:12,minim:[0,4,8],minimum:[0,4],minu:2,miss:4,mod2:1,mod:0,model:7,modif:9,modifi:9,modul:[1,3,5,7,11],modulo:0,monson:10,more:[2,6],most:4,multi:[2,7,10],multipl:[0,2,6],multipli:0,must:[0,2,9],mxn:0,name:[2,7,8,9,10],nation:10,ncell:12,ncol:12,ndarrai:[0,2],necessarili:10,need:[0,4,8],neglig:9,neighbor:2,neither:[9,10],nest:[2,7,10],nested_incidence_dict:2,network:[2,7,10],networkx:[2,4],netwrokx:4,newuid:2,node:[0,2,4,6,7,12],node_diamet:2,node_label:2,node_labels_kwarg:4,node_nam:2,node_radiu:4,node_set:2,nodes_kwarg:4,nodeset:2,non:6,none:[0,2,4,12],nonempti:[2,6],nonexist:2,nonzero:6,nor:10,normal:1,northwest:10,note:[0,2,6],notebook:8,noth:2,notic:[7,9],nrow:12,num:12,number:[0,2,4,6,12],number_of_edg:2,number_of_nod:2,numpi:[0,2,4],nx2:4,nxm:0,obj:12,object:[2,6,12],obtain:[0,6,9],occupi:6,occur:2,off:2,offset:4,onc:8,one:[0,2,4,6],onli:[0,2,6],open:8,oper:10,opinion:10,optim:4,option:[0,2,12],order:[0,2,4],organ:10,orient:4,origin:0,other:[0,2,4,6,7,9],otherwis:[2,6,8,9,10],out:[0,4,7,9,10],output:2,over:[0,4,6],overlap:4,overview:7,own:[6,10],pacif:10,packag:[1,3,5,7,11],page:7,pair:[2,4,6],pairwis:2,panda:2,paper:4,parallel:4,paramet:[0,2,4,12],part:[4,10],particular:[2,9],partit:[2,6],pass:[0,4],path:[0,2,4,8],perform:[2,10],permiss:9,permit:9,person:9,pickl:[0,2],pip:7,place:2,planar:4,plot:4,pnnl:[7,8,10],point:4,poli:4,polycollect:4,polygon:4,pos:4,poset:2,posit:[2,4,6,12],possibl:[4,9],post:0,powershel:8,praggasti:10,pre:4,precis:6,prefer:2,preliminari:[7,10],prepar:10,prepend:2,present:2,preserv:2,principl:10,print:[0,12],prior:2,privat:10,process:[2,10],procur:9,product:[0,10],profit:9,program:10,project:[0,10],prompt:8,prop:2,properli:6,properti:[2,6],provid:[2,4,7,9,10],ps1:8,publish:9,purpos:[0,9],purvin:10,put:12,pytest:8,python:8,question:[7,10],quick:4,quit:2,radiu:4,rais:[0,2],rang:0,rather:12,ratio:12,rauga:10,read:4,real:2,reason:[2,4],recommend:[4,10],rectangular:[0,6],recurs:0,redistribut:9,reduc:[0,4],reduced_row_echelon_form_mod2:0,refer:[2,10],referenc:[0,2],reflect:[2,10],regist:2,registri:[2,6],relat:2,relationship:[0,2,7,10],releas:8,remov:2,remove_edg:2,remove_el:2,remove_elements_from:2,remove_nod:2,remove_singleton:2,render:4,rep:2,repeatedli:0,replac:[0,2],report:7,repres:[0,2,4,7,10],represent:4,reproduc:[4,9],requir:[7,10],reserv:4,respect:[0,2],respons:10,restrict:[2,6],restrict_to:2,restrict_to_edg:2,restrict_to_nod:2,result:4,retain:9,return_count:2,revers:[0,2],right:[0,4,10],rigor:4,ring:4,role:[2,6],root:2,row:[0,2,6,12],rowdict:2,rubber:4,rubber_band:5,run:8,s_betweenness_centr:0,s_centrality_measur:1,s_comp_dist:12,s_compon:2,s_component_subgraph:2,s_components_subgraph:2,s_connect:2,s_connected_compon:2,s_degre:2,s_distanc:0,s_eccentr:0,s_edge_connect:2,s_edge_diameter_dist:12,s_harmonic_closeness_centr:0,s_node_diameter_dist:12,same:[0,2,4,6],sampl:2,satifi:2,satisfi:[2,6],scipi:2,script:8,search:7,see:[2,4,6,8,12],self:2,sell:9,sens:6,sensibl:4,separ:2,sequenc:[2,6],serv:2,servic:[9,10],set:[0,2,4,6,7,10],set_nam:2,setsystem:2,shabang:8,shall:9,shallow:2,shape:2,share:[2,6],shortest:[0,2,6],shortest_path_length:2,should:[0,2,4],side:[0,2],similar:2,simpl:[0,2,6,12],simplici:0,sinan:10,sinc:[2,6],singl:[0,2,6,12],singleton:2,size:[0,2,4,6,12],small:[0,4],smaller:4,smallest:0,smith:1,smith_normal_form_mod2:0,snf:0,softwar:[9,10],some:6,sometim:4,sortabl:[0,2],sourc:[0,2,4,8,9,12],space:4,spars:2,special:9,specif:[2,6,10],specifi:[4,8],spectral:4,sponsor:10,spring_layout:4,squar:6,stack:4,standard:12,start:[0,2,4,12],stat:12,state:10,statist:12,store:0,str:[0,2],strict:9,string:[2,4,12],structur:[2,6,7,10],style:4,subgraph:[0,2],subhypergraph:6,subject:9,sublicens:9,submatrix:6,submodul:[1,3,5,11],subset:[2,4,6],substitut:9,success:6,suggest:[7,10],sum:0,summari:12,suppli:4,support:10,sure:2,surround:4,swap:0,swap_column:0,swap_row:0,system:[2,4,7,10],take:[2,4],target:2,techniqu:4,test:[7,8,10],text:4,textbook:4,than:[0,2,6,9,12],thei:[2,4],them:[6,7,8,12],theori:9,therefor:2,thereof:10,thi:[0,2,4,6,8,9,10,12],those:10,through:[0,4],thrown:2,time:2,togeth:[0,4],toplex:[0,2,6,12],toplex_dist:12,topolog:0,tort:9,track:[0,2,12],trade:10,trademark:10,tradit:[7,10],transform:[0,2],transpar:4,transpos:2,treat:2,truthi:2,tupl:[0,2],tutori:8,two:[0,2,4,6],two_column:5,type:[0,2,4,12],typic:4,uid:[0,2,6,12],uidset:[2,6],under:[8,10],undesir:2,uniqu:[2,6,12],unit:10,unpack:2,unweight:[2,6],updat:2,use:[2,4,8,9,10],use_rep:2,used:[0,2,4,6,9],usefulness:10,user:[2,8],uses:[2,7,10],using:[0,2,4,6,7],usual:4,util:5,v_1:2,v_2:2,v_end:2,v_n:2,v_start:2,valu:[0,2,4,6,12],variou:12,vector:0,veri:0,verifi:0,version:[7,8,10],vertex:4,vertic:[2,4],view:10,virtual:8,virtualenv:7,visual:10,wai:[2,4,7,9,10],walk:[2,6],want:0,warn:0,warranti:[9,10],weight:[2,6],well:4,whatsoev:9,when:2,where:[0,2,4,6],whether:9,which:[0,2,4,6,12],whitespac:4,whole:8,whose:[4,6],window:8,wish:8,with_color:4,with_edge_count:4,with_edge_label:4,with_node_count:4,with_node_label:4,within:[2,4,12],without:9,work:[0,4,7,10],would:[2,7,10],wrap:4,written:9,www:0,x_0:2,x_1:2,xor:0,xyz:0,yet:2,you:[4,7,8,10],your:8,z_2:0,zero:2},titles:["algorithms package","algorithms","classes package","classes","drawing package","drawing","Glossary of HNX terms","HyperNetX (HNX)","Installing HyperNetX","License","Overview","reports","reports package"],titleterms:{"class":[2,3],algorithm:[0,1],anaconda:8,content:[0,2,4,7,12],descript:7,descriptive_stat:12,draw:[4,5],entiti:2,environ:8,form:0,glossari:6,hnx:[6,7],homolog:0,homology_mod2:0,hypergraph:2,hypernetx:[7,8],indic:7,instal:8,licens:[8,9],mod2:0,modul:[0,2,4,12],normal:0,notic:10,overview:10,packag:[0,2,4,12],pip:8,report:[11,12],rubber_band:4,s_centrality_measur:0,smith:0,submodul:[0,2,4,12],tabl:7,term:6,two_column:4,using:8,util:4,virtualenv:8}}) \ No newline at end of file +Search.setIndex({docnames:["algorithms/algorithms","algorithms/modules","classes/classes","classes/modules","drawing/drawing","drawing/modules","glossary","index","install","license","overview/index","reports/modules","reports/reports"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,"sphinx.ext.intersphinx":1,"sphinx.ext.todo":2,"sphinx.ext.viewcode":1,sphinx:56},filenames:["algorithms/algorithms.rst","algorithms/modules.rst","classes/classes.rst","classes/modules.rst","drawing/drawing.rst","drawing/modules.rst","glossary.rst","index.rst","install.rst","license.rst","overview/index.rst","reports/modules.rst","reports/reports.rst"],objects:{"":{algorithms:[0,0,0,"-"],classes:[2,0,0,"-"],drawing:[4,0,0,"-"],reports:[12,0,0,"-"]},"algorithms.homology_mod2":{add_to_column:[0,1,1,""],add_to_row:[0,1,1,""],bkMatrix:[0,1,1,""],coset:[0,1,1,""],homology_basis:[0,1,1,""],hypergraph_homology_basis:[0,1,1,""],interpret:[0,1,1,""],kchainbasis:[0,1,1,""],logical_dot:[0,1,1,""],logical_matadd:[0,1,1,""],logical_matmul:[0,1,1,""],matmulreduce:[0,1,1,""],reduced_row_echelon_form_mod2:[0,1,1,""],smith_normal_form_mod2:[0,1,1,""],swap_columns:[0,1,1,""],swap_rows:[0,1,1,""]},"algorithms.s_centrality_measures":{s_betweenness_centrality:[0,1,1,""],s_eccentricity:[0,1,1,""],s_harmonic_closeness_centrality:[0,1,1,""]},"classes.entity":{Entity:[2,2,1,""],EntitySet:[2,2,1,""]},"classes.entity.Entity":{add:[2,3,1,""],add_element:[2,3,1,""],add_elements_from:[2,3,1,""],children:[2,3,1,""],clone:[2,3,1,""],complete_registry:[2,3,1,""],depth:[2,3,1,""],elements:[2,3,1,""],fullregistry:[2,3,1,""],incidence_dict:[2,3,1,""],intersection:[2,3,1,""],is_bipartite:[2,3,1,""],is_empty:[2,3,1,""],level:[2,3,1,""],levelset:[2,3,1,""],memberships:[2,3,1,""],merge_entities:[2,3,1,""],nested_incidence_dict:[2,3,1,""],properties:[2,3,1,""],registry:[2,3,1,""],remove:[2,3,1,""],remove_element:[2,3,1,""],remove_elements_from:[2,3,1,""],restrict_to:[2,3,1,""],size:[2,3,1,""],uid:[2,3,1,""],uidset:[2,3,1,""]},"classes.entity.EntitySet":{add:[2,3,1,""],clone:[2,3,1,""],collapse_identical_elements:[2,3,1,""],incidence_matrix:[2,3,1,""],restrict_to:[2,3,1,""]},"classes.hypergraph":{Hypergraph:[2,2,1,""]},"classes.hypergraph.Hypergraph":{add_edge:[2,3,1,""],add_edges_from:[2,3,1,""],add_node_to_edge:[2,3,1,""],adjacency_matrix:[2,3,1,""],auxiliary_matrix:[2,3,1,""],bipartite:[2,3,1,""],collapse_edges:[2,3,1,""],collapse_nodes:[2,3,1,""],collapse_nodes_and_edges:[2,3,1,""],component_subgraphs:[2,3,1,""],components:[2,3,1,""],connected_component_subgraphs:[2,3,1,""],connected_components:[2,3,1,""],degree:[2,3,1,""],diameter:[2,3,1,""],dim:[2,3,1,""],distance:[2,3,1,""],dual:[2,3,1,""],edge_adjacency_matrix:[2,3,1,""],edge_diameter:[2,3,1,""],edge_diameters:[2,3,1,""],edge_distance:[2,3,1,""],edges:[2,3,1,""],from_bipartite:[2,3,1,""],from_dataframe:[2,3,1,""],from_numpy_array:[2,3,1,""],incidence_dict:[2,3,1,""],incidence_matrix:[2,3,1,""],is_connected:[2,3,1,""],neighbors:[2,3,1,""],node_diameters:[2,3,1,""],nodes:[2,3,1,""],number_of_edges:[2,3,1,""],number_of_nodes:[2,3,1,""],order:[2,3,1,""],remove_edge:[2,3,1,""],remove_edges:[2,3,1,""],remove_node:[2,3,1,""],remove_nodes:[2,3,1,""],remove_singletons:[2,3,1,""],restrict_to_edges:[2,3,1,""],restrict_to_nodes:[2,3,1,""],s_component_subgraphs:[2,3,1,""],s_components:[2,3,1,""],s_connected_components:[2,3,1,""],s_degree:[2,3,1,""],shape:[2,3,1,""],singletons:[2,3,1,""],size:[2,3,1,""],toplexes:[2,3,1,""]},"drawing.rubber_band":{draw:[4,1,1,""],draw_hyper_edge_labels:[4,1,1,""],draw_hyper_edges:[4,1,1,""],draw_hyper_labels:[4,1,1,""],draw_hyper_nodes:[4,1,1,""],get_default_radius:[4,1,1,""],inflate_kwargs:[4,1,1,""],layout_hyper_edges:[4,1,1,""],layout_node_link:[4,1,1,""]},"drawing.two_column":{draw:[4,1,1,""],draw_hyper_edges:[4,1,1,""],draw_hyper_labels:[4,1,1,""],layout_two_column:[4,1,1,""]},"drawing.util":{get_frozenset_label:[4,1,1,""],get_line_graph:[4,1,1,""],get_set_layering:[4,1,1,""]},"reports.descriptive_stats":{centrality_stats:[12,1,1,""],comp_dist:[12,1,1,""],degree_dist:[12,1,1,""],dist_stats:[12,1,1,""],edge_size_dist:[12,1,1,""],frequency_distribution:[12,1,1,""],info:[12,1,1,""],info_dict:[12,1,1,""],s_comp_dist:[12,1,1,""],s_edge_diameter_dist:[12,1,1,""],s_node_diameter_dist:[12,1,1,""],toplex_dist:[12,1,1,""]},algorithms:{homology_mod2:[0,0,0,"-"],s_centrality_measures:[0,0,0,"-"]},classes:{entity:[2,0,0,"-"],hypergraph:[2,0,0,"-"]},drawing:{rubber_band:[4,0,0,"-"],two_column:[4,0,0,"-"],util:[4,0,0,"-"]},reports:{descriptive_stats:[12,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"],"2":["py","class","Python class"],"3":["py","method","Python method"]},objtypes:{"0":"py:module","1":"py:function","2":"py:class","3":"py:method"},terms:{"2x2":2,"76rl01830":10,"abstract":0,"boolean":[0,2],"case":2,"class":[6,7,10],"default":[0,2,4,12],"final":0,"float":[0,2,4],"function":[2,4],"import":2,"int":[0,2,4],"long":[2,12],"new":[0,2,4],"null":8,"return":[0,2,4,6,12],"static":2,"switch":6,"true":[0,2,4,12],AND:9,ARE:9,BUT:9,FOR:9,For:[0,2,4,6,7,8,10],NOT:9,Not:2,One:2,SUCH:9,Such:9,THE:9,The:[0,2,4,6,7,10],Then:4,These:0,USE:9,Use:6,Uses:2,Using:2,__dict__:2,abov:[4,9,12],abs:2,ac05:10,accept:[2,4],access:[6,8],accomplish:0,account:10,accuraci:10,aco5:10,across:4,action:0,activ:[7,8,10],add:2,add_edg:2,add_edges_from:2,add_el:2,add_elements_from:2,add_node_to_edg:2,add_nodes_from:2,add_to_column:0,add_to_row:0,added:[0,2,4],adding:2,addit:[0,2],adjac:[0,2,6],adjacency_matrix:2,adjust:4,advis:9,after:2,against:2,agenc:10,aggreg:12,aksoi:[0,10],algorithm:[4,7,10],align:4,all:[0,2,4,6,8,12],allow:[2,4],alpha:4,alreadi:2,also:[2,6,12],alter:0,amount:4,anaconda3:8,anaconda:7,analysi:10,analyt:10,angl:4,ani:[2,6,9,10],annot:4,anoth:[0,4,6],apparatu:10,appear:2,appli:[0,2,4],applic:2,approach:4,appropri:4,ar1:0,ar2:0,arbitrari:4,arendt:10,arg:[0,2],arg_set:2,argument:[2,4],argumetn:4,aris:9,around:4,arr:0,arrai:[0,2],asc:0,aspect:12,assign:[2,4],associ:[0,2,9],assum:[2,10],attribut:6,author:10,auxiliari:[2,6],auxiliary_matrix:2,axi:4,band:4,base:[0,2,4,6],basi:0,basic:[2,6,12],bat:8,battel:[9,10],becom:2,befor:2,behavior:0,behind:4,being:0,belong:[2,6],below:8,berg:0,best:0,betti:0,between:[0,2,4,6,7],binari:[0,9],bipartit:[2,4,6],bkmatrix:0,bool:[0,2,4],both:[2,6,7,10],bound:0,boundari:[0,4],box:4,brenda:10,briefest:0,browser:8,bsd:8,build:[2,8],build_doc:8,busi:9,c_k:0,calcul:4,call:[4,6],can:[2,4,6,7],cannot:2,cardin:2,care:2,caus:[2,9],cell:[0,2,12],center:4,central:[1,12],centrality_stat:12,certain:2,chain:0,chang:[4,7,10],check:2,child:2,children:[2,6],chmod:8,choos:2,chosen:4,circl:4,classmethod:2,claus:8,cliff:10,clone:[2,8],close:0,code:9,cokernel:0,coldict:2,collaps:[2,4],collapse_edg:2,collapse_identical_el:2,collapse_nod:2,collapse_nodes_and_edg:2,collect:4,collumn:4,color:4,column:[0,2,4,6,12],column_index:2,com:8,come:8,command:8,comment:[7,10],commerci:10,comp:12,comp_dist:12,complet:[6,10],complete_registri:2,complex:[0,2,7,10],compon:[0,2,4,6,12],component_subgraph:2,comput:[0,2,4,12],concentr:4,conda:8,condit:[2,6,9],conflict:2,connect:[0,2,4,6,12],connected_compon:2,connected_component_subgraph:2,consecut:2,consent:9,consequenti:9,consid:[0,2],constitut:10,construct:[0,2,6],constructor:[2,4],contact:[7,10],contain:[0,2,4,6,7,10,12],content:[1,3,5,11],continu:8,contract:[9,10],contributor:9,control:2,conveni:4,convert:[2,4],convex:4,cooper:10,coordin:4,copi:[0,2,9],copyright:9,correct:4,correspond:[0,2,6],coset:0,could:2,count:[2,4,12],creat:[2,8,12],cross:4,csr:2,csr_matrix:2,current:[7,10],curvi:4,custom:4,cycl:[0,2,4],cyclic:0,damag:9,data:[0,2,4,7,9,10],datafram:2,dedup:2,deeper:2,defin:2,degre:[2,6,12],degree_dist:12,delet:2,demand:[7,10],densiti:12,depart:10,depend:2,depth:[0,2,6],descend:2,descript:0,descriptive_stat:11,design:[7,10],desir:2,determin:[2,4],develop:[7,10],deviat:12,diagon:[0,2],diagram:4,diamet:[2,6,12],dict:[0,2,4,12],dictionari:[0,2,4,6,12],differ:2,digraph:4,dim:2,dimens:[0,2],dimension:0,direct:[2,4,9],directli:[7,10],dirti:4,disabl:4,discard:2,disclaim:9,disclos:10,disconnect:4,discov:0,discuss:0,disjoint:[2,6],disonnecct:4,dist:12,dist_stat:12,distanc:[2,4,6],distant:4,distinct:2,distinguish:[2,6],distribut:[9,12],dlfer:0,doc:8,document:[8,9],doe:[2,4,10],doi:0,doing:2,done:2,dot:0,draw:7,draw_hyper_edg:4,draw_hyper_edge_label:4,draw_hyper_label:4,draw_hyper_nod:4,drawn:4,drop:2,dual:[2,6,7],duplic:[0,2],dustin:10,e_1:2,e_2:2,e_end:2,e_n:2,e_start:2,each:[0,2,4,6,7,12],easier:4,eccentr:0,eccentricity_dict:0,echelon:0,edg:[0,2,4,6,7,12],edge_adjac:2,edge_adjacency_matrix:2,edge_diamet:2,edge_dist:2,edge_kwarg:4,edge_label:2,edge_labels_kwarg:4,edge_nam:2,edge_set:2,edge_size_dist:12,edge_uid:2,edges_kwarg:4,edgeset:2,edgess:2,edit:8,effect:2,either:[6,7,12],element:[0,2,4,6,12],element_subset:2,els:0,emili:10,emploi:2,employe:10,empti:[2,6],end:2,endors:10,energi:10,ensur:2,ent1:2,ent2:2,entiti:[0,3,4,6,7,9],entityset:[2,6],entri:[0,6],env:8,environ:7,epj:0,epjd:0,equal:[0,2,6,12],equat:0,equival:[0,2],error:[0,2],essenc:0,evalu:2,even:9,event:9,everi:[0,2,6],exactli:6,exampl:[0,2,4,8],exceed:2,except:6,exe:8,execut:8,exemplari:9,exhibit:0,exist:[0,2,4,6],expand:4,expect:[7,10],express:[9,10],extens:8,facecolor:4,fail:2,fals:[0,2,4,12],favor:10,featur:0,ferrario:0,figur:4,file:[8,9],fill:12,fillna:2,find:4,first:[2,4],firstlevel:2,fit:9,follow:[2,4,8,9],fork:8,form:[1,9],format:12,found:7,fraction:[0,4],frequenc:12,frequency_distribut:12,from:[0,2,4,6,8,12],from_bipartit:[2,6],from_datafram:2,from_numpy_arrai:2,frozen:2,frozenset:2,fruchterman_reingold_layout:4,full:2,fullregistri:2,further:4,gener:[0,2,4,6,7,8,10,12],get_default_radiu:4,get_frozenset_label:4,get_line_graph:4,get_set_lay:4,github:8,give:2,given:[0,2,4,6],glossari:7,going:12,good:[0,9],gotten:2,gov:[7,10],govern:10,grant:9,graph:[0,2,4,6,7,10],graphic:10,grate:[7,10],greater:[0,2],group:0,guarante:4,handl:4,harmon:0,has:[2,6,10],hashabl:2,have:[0,2,4,6],header:2,helper:4,henc:2,herebi:9,herein:[9,10],hereinaft:9,high:[0,10],higher:0,hist:12,hnx:[0,2,8],holder:9,homolog:1,homology_basi:0,homology_mod2:1,honor:2,howev:9,hpda:10,html:8,http:[0,8],hull:4,hyper:[2,4,6,7],hyperedg:[2,6],hypergraph:[0,3,4,6,7,10,12],hypergraph_homology_basi:0,hypernet:10,hypernetwork:0,hypernetx:[2,9,10],hypernetxerror:[0,2],i_m:0,i_n:0,ideal:0,ident:[0,2,4],identifi:[0,2],ids:[2,4],illustr:4,im2:0,imag:0,impli:[4,9,10],impos:6,incid:[2,6,12],incidence_dict:2,incidence_matrix:2,incident:9,includ:[2,9],inclus:0,inde:2,independ:4,index:[0,2,6,7,8],indic:2,indirect:9,induc:[2,6],inf:2,infin:2,infinit:6,inflate_kwarg:4,info:12,info_dict:12,inform:[10,12],infring:10,inner:0,inseper:2,instal:7,instanc:[2,6],instanti:[2,6],instead:[2,4],institut:[9,10],instruct:8,integ:[0,2,4,6,12],intend:4,intens:2,inter:2,interest:0,intermedi:0,interpret:0,interrupt:9,intersect:[0,2,4,6],intuit:6,invers:0,invert:0,investig:10,invis:4,is_bipartit:2,is_connect:2,is_empti:2,isn:2,isomorph:[2,6],item:[2,12],iter:[0,2,4,12],ith:0,iti:6,its:[0,2,4,6,10],itself:[2,6],joslyn:[0,10],jth:0,jupyt:8,jurisdict:10,kbasi:0,kchain:0,kchainbasi:0,keep:[2,12],kei:[0,2,4,6,12],kernel:0,keyword:[2,4],km1basi:0,known:2,kth:0,kwarg:4,kyle:10,label:[2,4],label_alpha:4,laberl:4,laboratori:10,larg:2,last:2,lastlevel:2,lawfulli:9,layer:4,layout:4,layout_hyper_edg:4,layout_kwarg:4,layout_node_link:4,layout_two_column:4,least:[2,4,6],left:[0,4],legal:10,len:12,length:[0,2,4,6],less:[0,2],let:2,level:[2,4,6],levelset:[2,6],liabil:[9,10],liabl:9,librari:[7,10],licens:7,like:[2,4],limit:9,line:[0,2,4],linecollect:4,linewidth:4,link:2,linv:0,list:[0,2,4,9,12],llinv:0,lmr:0,locat:[4,8],log:0,logfil:0,logic:0,logical_dot:0,logical_matadd:0,logical_matmul:0,longest:2,look:0,loss:9,lower:4,mac:8,made:2,mai:[2,6,7,8,9,10],make:[2,4,10],manag:10,mani:[2,7,10,12],manual:4,manufactur:10,map:[0,4],mark:10,marrero:0,mat1:0,mat2:0,mat:0,match:[0,2],materi:10,mathemat:10,matmulreduc:0,matplotlib:[4,8],matric:[0,4],matrix:[0,2,6,12],max:[0,12],max_depth:2,maxim:[2,6],maximum:[2,6],mean:[0,2,12],measur:1,median:[4,12],membership:[2,4,6],memori:[9,10],merchant:9,merg:[2,9],merge_ent:2,method:[0,2,6,7,10,12],metric:[0,7,10],min:12,minim:[0,4,8],minimum:[0,4],minu:2,miss:4,mod2:1,mod:0,model:7,modif:9,modifi:9,modul:[1,3,5,7,11],modulo:0,monson:10,more:[2,6],most:4,multi:[2,7,10],multipl:[0,2,6],multipli:0,must:[0,2,9],mxn:0,name:[2,7,8,9,10],nation:10,ncell:12,ncol:12,ndarrai:[0,2],necessarili:10,need:[0,4,8],neglig:9,neighbor:2,neither:[9,10],nest:[2,7,10],nested_incidence_dict:2,network:[2,7,10],networkx:[2,4],netwrokx:4,newuid:2,node:[0,2,4,6,7,12],node_diamet:2,node_label:2,node_labels_kwarg:4,node_nam:2,node_radiu:4,node_set:2,nodes_kwarg:4,nodeset:2,non:6,none:[0,2,4,12],nonempti:[2,6],nonexist:2,nonzero:6,nor:10,normal:1,northwest:10,note:[0,2,6],notebook:8,noth:2,notic:[7,9],nrow:12,num:12,number:[0,2,4,6,12],number_of_edg:2,number_of_nod:2,numpi:[0,2,4],nx2:4,nxm:0,obj:12,object:[2,6,12],obtain:[0,6,9],occupi:6,occur:2,off:2,offset:4,onc:8,one:[0,2,4,6],onli:[0,2,6],open:8,oper:10,opinion:10,optim:4,option:[0,2,12],order:[0,2,4],org:0,organ:10,orient:4,origin:0,ortiz:0,other:[0,2,4,6,7,9],otherwis:[2,6,8,9,10],our:0,out:[0,4,7,9,10],output:2,over:[0,4,6],overlap:4,overview:7,own:[6,10],pacif:10,packag:[1,3,5,7,11],page:7,pair:[2,4,6],pairwis:2,panda:2,paper:4,parallel:4,paramet:[0,2,4,12],part:[4,10],particular:[2,9],partit:[2,6],pass:[0,4],path:[0,2,4,8],perform:[2,10],permiss:9,permit:9,person:9,pickl:[0,2],pip:7,place:2,planar:4,plot:4,pnnl:[7,8,10],point:[0,4],poli:4,polycollect:4,polygon:4,pos:4,poset:2,posit:[2,4,6,12],possibl:[4,9],post:0,powershel:8,praggasti:10,pre:4,precis:6,prefer:2,preliminari:[7,10],prepar:10,prepend:2,present:2,preserv:2,principl:10,print:[0,12],prior:2,privat:10,process:[2,10],procur:9,product:[0,10],profit:9,program:10,project:[0,10],prompt:8,prop:2,properli:6,properti:[2,6],provid:[2,4,7,9,10],ps1:8,publish:9,purpos:[0,9],purvin:10,put:12,pytest:8,python:8,question:[7,10],quick:4,quit:2,radiu:4,rais:[0,2],rang:0,rather:12,ratio:12,rauga:10,read:4,real:2,reason:[2,4],recommend:[4,10],rectangular:[0,6],recurs:0,redistribut:9,reduc:[0,4],reduced_row_echelon_form_mod2:0,refer:[2,10],referenc:[0,2],reflect:[2,10],regist:2,registri:[2,6],relat:2,relationship:[0,2,7,10],releas:8,remov:2,remove_edg:2,remove_el:2,remove_elements_from:2,remove_nod:2,remove_singleton:2,render:4,rep:2,repeatedli:0,replac:[0,2],report:7,repres:[0,2,4,7,10],represent:[0,4],reproduc:[4,9],requir:[7,10],reserv:4,respect:[0,2],respons:10,restrict:[2,6],restrict_to:2,restrict_to_edg:2,restrict_to_nod:2,result:4,retain:9,return_count:2,revers:[0,2],right:[0,4,10],rigor:4,ring:4,role:[2,6],root:2,row:[0,2,6,12],rowdict:2,rubber:4,rubber_band:5,run:8,s13688:0,s_betweenness_centr:0,s_centrality_measur:1,s_comp_dist:12,s_compon:2,s_component_subgraph:2,s_components_subgraph:2,s_connect:2,s_connected_compon:2,s_degre:2,s_distanc:0,s_eccentr:0,s_edge_connect:2,s_edge_diameter_dist:12,s_harmonic_closeness_centr:0,s_node_diameter_dist:12,same:[0,2,4,6],sampl:2,satifi:2,satisfi:[2,6],sci:0,scienc:0,scipi:2,script:8,search:7,see:[2,4,6,8,12],self:2,sell:9,sens:6,sensibl:4,separ:2,sequenc:[2,6],serv:2,servic:[9,10],set:[0,2,4,6,7,10],set_nam:2,setsystem:2,shabang:8,shall:9,shallow:2,shape:2,share:[2,6],shortest:[0,2,6],shortest_path_length:2,should:[0,2,4],side:[0,2],similar:2,simpl:[0,2,6,12],simplici:0,sinan:10,sinc:[2,6],singl:[0,2,6,12],singleton:2,size:[0,2,4,6,12],small:[0,4],smaller:4,smallest:0,smith:1,smith_normal_form_mod2:0,snf:0,softwar:[9,10],some:6,sometim:4,sortabl:[0,2],sourc:[0,2,4,8,9,12],space:4,spars:2,special:9,specif:[2,6,10],specifi:[4,8],spectral:4,sponsor:10,spring_layout:4,squar:6,stack:4,standard:12,start:[0,2,4,12],stat:12,state:10,statist:12,store:0,str:[0,2],strict:9,string:[2,4,12],structur:[2,6,7,10],style:4,subgraph:[0,2],subhypergraph:6,subject:9,sublicens:9,submatrix:6,submodul:[1,3,5,11],subset:[2,4,6],substitut:9,success:6,suggest:[7,10],sum:0,summari:12,suppli:4,support:10,sure:2,surround:4,swap:0,swap_column:0,swap_row:0,system:[2,4,7,10],take:[2,4],target:2,techniqu:4,test:[7,8,10],text:4,textbook:4,than:[0,2,6,9,12],thei:[2,4],them:[6,7,8,12],theori:9,therefor:2,thereof:10,thi:[0,2,4,6,8,9,10,12],those:10,through:[0,4],thrown:2,time:2,togeth:[0,4],toplex:[0,2,6,12],toplex_dist:12,topolog:0,tort:9,track:[0,2,12],trade:10,trademark:10,tradit:[7,10],transform:[0,2],transpar:4,transpos:2,treat:2,truthi:2,tupl:[0,2],tutori:8,two:[0,2,4,6],two_column:5,type:[0,2,4,12],typic:4,uid:[0,2,6,12],uidset:[2,6],under:[8,10],undesir:2,uniqu:[2,6,12],unit:10,unpack:2,unweight:[2,6],updat:2,use:[0,2,4,8,9,10],use_rep:2,used:[0,2,4,6,9],usefulness:10,user:[2,8],uses:[2,7,10],using:[0,2,4,6,7],usual:4,util:5,v_1:2,v_2:2,v_end:2,v_n:2,v_start:2,valu:[0,2,4,6,12],variou:12,vector:0,veri:0,verifi:0,version:[7,8,10],vertex:4,vertic:[2,4],via:0,view:10,virtual:8,virtualenv:7,visual:10,wai:[2,4,7,9,10],walk:[0,2,6],want:0,warn:0,warranti:[9,10],weight:[2,6],well:4,whatsoev:9,when:2,where:[0,2,4,6],whether:9,which:[0,2,4,6,12],whitespac:4,whole:8,whose:[4,6],window:8,wish:8,with_color:4,with_edge_count:4,with_edge_label:4,with_node_count:4,with_node_label:4,within:[2,4,12],without:9,work:[0,4,7,10],would:[2,7,10],wrap:4,written:9,www:0,x_0:2,x_1:2,xor:0,xyz:0,yet:2,you:[4,7,8,10],your:8,z_2:0,zero:2},titles:["algorithms package","algorithms","classes package","classes","drawing package","drawing","Glossary of HNX terms","HyperNetX (HNX)","Installing HyperNetX","License","Overview","reports","reports package"],titleterms:{"class":[2,3],algorithm:[0,1],anaconda:8,central:0,content:[0,2,4,7,12],descript:7,descriptive_stat:12,draw:[4,5],entiti:2,environ:8,form:0,glossari:6,hnx:[6,7],homolog:0,homology_mod2:0,hypergraph:2,hypernetx:[7,8],indic:7,instal:8,licens:[8,9],measur:0,mod2:0,modul:[0,2,4,12],normal:0,notic:10,overview:10,packag:[0,2,4,12],pip:8,report:[11,12],rubber_band:4,s_centrality_measur:0,smith:0,submodul:[0,2,4,12],tabl:7,term:6,two_column:4,using:8,util:4,virtualenv:8}}) \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index 3d3a9527..705f508d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -19,7 +19,7 @@ import os import shlex -__version__ = "0.3.4" +__version__ = "0.3.5" # If extensions (or modules to document with autodoc) are in another directory, diff --git a/hypernetx/algorithms/s_centrality_measures.py b/hypernetx/algorithms/s_centrality_measures.py index fd3d5ec6..a4c61792 100644 --- a/hypernetx/algorithms/s_centrality_measures.py +++ b/hypernetx/algorithms/s_centrality_measures.py @@ -1,6 +1,21 @@ # Copyright © 2018 Battelle Memorial Institute # All rights reserved. -# This module developed for PNNL's hyperbio LDRD project summer 2019 + +""" + +S-Centrality Measures +===================== +We generalize graph metrics to s-metrics for a hypergraph by using its s-connected +components. This is accomplished by computing the s edge-adjacency matrix and +constructing the corresponding graph of the matrix. We then use existing graph metrics +on this representation of the hypergraph. In essence we construct an *s*-line graph +corresponding to the hypergraph on which to apply our methods. + +S-Metrics for hypergraphs are discussed in depth in: +*Aksoy, S.G., Joslyn, C., Ortiz Marrero, C. et al. Hypernetwork science via high-order hypergraph walks. +EPJ Data Sci. 9, 16 (2020). https://doi.org/10.1140/epjds/s13688-020-00231-0* + +""" import numpy as np from collections import defaultdict @@ -32,10 +47,12 @@ def s_betweenness_centrality(H, s=1, normalized=True): A dictionary of s-betweenness centrality value of the edges. ''' + # Confirm there is at least 1 s edge for which we can compute the centrality # Find all s-edges #M,rdict,_ = H.incidence_matrix(index=True) #A = M.transpose().dot(M) + A, coldict = H.edge_adjacency_matrix(s=s, index=True) A.setdiag(0) A = (A >= s) * 1 @@ -66,8 +83,10 @@ def s_harmonic_closeness_centrality(H, edge=None, s=1): If edge then a single value is returned. ''' + # Confirm there is at least 1 s edge for which we can compute the centrality # Find all s-edges + if edge and len(H.edges[edge]) < s: return 0 @@ -89,6 +108,7 @@ def temp(e, f): # confirm there are at least 2 s-edges # we follow the NX convention that the s-closeness centrality of a single edge Hypergraph is 0 + output = {} if not bool(Es) or len(Es) == 1: output = {e: 0 for e in edges} @@ -123,6 +143,7 @@ def s_eccentricity(H, f=None, s=1): returns the s-eccentricity value of the edges, a floating point number If edge=None a dictionary of values for each s-edge in H is returned. If edge then a single value is returned. + ''' if f: if isinstance(f, Entity): diff --git a/setup.py b/setup.py index 06a8c0ac..f5759121 100644 --- a/setup.py +++ b/setup.py @@ -1,15 +1,16 @@ -from setuptools import setup -import sys, os.path +from setuptools import setup +import sys +import os.path -__version__ = '0.3.4' +__version__ = '0.3.5' -if sys.version_info < (3,6): +if sys.version_info < (3, 6): sys.exit('HyperNetX requires Python 3.6 or later.') setup( name='hypernetx', packages=['hypernetx', - 'hypernetx.algorithms', + 'hypernetx.algorithms', 'hypernetx.classes', 'hypernetx.drawing', 'hypernetx.reports'], @@ -18,28 +19,26 @@ author_email="hypernetx@pnnl.gov", url='https://github.com/pnnl/HyperNetX', description='HyperNetX is a Python library for the creation and study of hypergraphs.', - install_requires=['networkx>=2.2,<3.0','numpy>=1.15.0,<2.0','scipy>=1.1.0,<2.0','matplotlib>3.0','scikit-learn>=0.20.0'], + install_requires=['networkx>=2.2,<3.0', 'numpy>=1.15.0,<2.0', 'scipy>=1.1.0,<2.0', 'matplotlib>3.0', 'scikit-learn>=0.20.0'], license='3-Clause BSD license', long_description=''' - The HyperNetX library provides classes and methods for complex network data. - HyperNetX uses data structures designed to represent set systems containing - nested data and/or multi-way relationships. The library generalizes traditional - graph metrics to hypergraphs. + The HyperNetX library provides classes and methods for complex network data. + HyperNetX uses data structures designed to represent set systems containing + nested data and/or multi-way relationships. The library generalizes traditional + graph metrics to hypergraphs. - The current version is preliminary. We are actively testing and would be grateful - for comments and suggestions. Expect changes in both class names and methods as + The current version is preliminary. We are actively testing and would be grateful + for comments and suggestions. Expect changes in both class names and methods as many of the requirements demanded of the library are worked out. ''', extras_require={ - 'testing':['pytest>=4.0'], - 'notebooks':['jupyter>=1.0','pandas>=0.23'], - 'tutorials':['jupyter>=1.0','pandas>=0.23'], - 'documentation':['sphinx>=1.8.2','nb2plots>=0.6','sphinx-rtd-theme>=0.4.2'], - 'all':['sphinx>=1.8.2','nb2plots>=0.6','sphinx-rtd-theme>=0.4.2','pytest>=4.0','jupyter>=1.0','pandas>=0.23'] + 'testing': ['pytest>=4.0'], + 'notebooks': ['jupyter>=1.0', 'pandas>=0.23'], + 'tutorials': ['jupyter>=1.0', 'pandas>=0.23'], + 'documentation': ['sphinx>=1.8.2', 'nb2plots>=0.6', 'sphinx-rtd-theme>=0.4.2'], + 'all': ['sphinx>=1.8.2', 'nb2plots>=0.6', 'sphinx-rtd-theme>=0.4.2', 'pytest>=4.0', 'jupyter>=1.0', 'pandas>=0.23'] } ) -### Since this package is still in development, please install in a virtualenv or conda environment. -### See README for installations instructions - - +# Since this package is still in development, please install in a virtualenv or conda environment. +# See README for installations instructions