<commit_before>.. _api_ref:

.. currentmodule:: spaghetti

API reference
=============

.. _network_api:


spaghetti.Network
-----------------

.. autosummary::
   :toctree: generated/
    
    spaghetti.Network.extract_components
    spaghetti.Network.extractgraph
    spaghetti.Network.contiguityweights
    spaghetti.Network.distancebandweights
    spaghetti.Network.snapobservations
    spaghetti.Network.compute_distance_to_vertices
    spaghetti.Network.compute_snap_dist
    spaghetti.Network.count_per_link
    spaghetti.Network.simulate_observations
    spaghetti.Network.enum_links_vertex
    spaghetti.Network.full_distance_matrix
    spaghetti.network.Network.allneighbordistances
    spaghetti.network.Network.nearestneighbordistances
    spaghetti.network.Network.NetworkF
    spaghetti.network.Network.NetworkG
    spaghetti.network.Network.NetworkK
    spaghetti.network.Network.split_arcs
    spaghetti.network.Network.savenetwork
    spaghetti.network.Network.loadnetwork


spaghetti.PointPattern
----------------------

.. autosummary::
   :toctree: generated/
   
   spaghetti.network.PointPattern


spaghetti.SimulatedPointPattern
-------------------------------

.. autosummary::
   :toctree: generated/
   
    spaghetti.network.SimulatedPointPattern


spaghetti
---------

.. autosummary::
   :toctree: generated/
   
    spaghetti.network.element_as_gdf
<commit_msg>api.rst cleanup [13]<commit_after>.. _api_ref:

.. currentmodule:: spaghetti

API reference
=============

.. _network_api:


spaghetti.Network
-----------------

.. autosummary::
   :toctree: generated/
    
    spaghetti.Network.extract_components
    spaghetti.Network.extractgraph
    spaghetti.Network.contiguityweights
    spaghetti.Network.distancebandweights
    spaghetti.Network.snapobservations
    spaghetti.Network.compute_distance_to_vertices
    spaghetti.Network.compute_snap_dist
    spaghetti.Network.count_per_link
    spaghetti.Network.simulate_observations
    spaghetti.Network.enum_links_vertex
    spaghetti.Network.full_distance_matrix
    spaghetti.Network.allneighbordistances
    spaghetti.network.Network.nearestneighbordistances
    spaghetti.network.Network.NetworkF
    spaghetti.network.Network.NetworkG
    spaghetti.network.Network.NetworkK
    spaghetti.network.Network.split_arcs
    spaghetti.network.Network.savenetwork
    spaghetti.network.Network.loadnetwork


spaghetti.PointPattern
----------------------

.. autosummary::
   :toctree: generated/
   
   spaghetti.network.PointPattern


spaghetti.SimulatedPointPattern
-------------------------------

.. autosummary::
   :toctree: generated/
   
    spaghetti.network.SimulatedPointPattern


spaghetti
---------

.. autosummary::
   :toctree: generated/
   
    spaghetti.network.element_as_gdf

{'fraction_non_alphanumeric': 0.13592233009708737, 'fraction_numerical': 0.000719165767709457, 'mean_word_length': 3.0851688693098387, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2163846', 'n_tokens_mistral': 940, 'n_tokens_neox': 869, 'n_words': 92}