pytspl.io.data_loaders.wsn_loader
Attributes
Functions
|
Load the water supply network data and return the simplicial complex |
Module Contents
- pytspl.io.data_loaders.wsn_loader.WSN_DATA_FOLDER
- pytspl.io.data_loaders.wsn_loader.load_wsn_data() tuple[source]
Load the water supply network data and return the simplicial complex and coordinates.
- Returns:
- tuple:
SimplicialComplex: The simplicial complex of the water supply network data. dict: The coordinates of the nodes. If the coordinates do not exist, the coordinates are generated using spring layout. np.ndarray: The flow data of the water supply