astrovascpy.io¶
Functions
|
Load a vasculature from file. |
|
Loading of a graph from a binary file using pickle. |
|
Loading of node dataset and edge dataset using pandas. |
|
Loading of a graph from a .h5 using PointVasculature.load_sonata. |
- astrovascpy.io.load_graph(filename)¶
Load a vasculature from file.
- Parameters:
filename (str) – vasculature dataset.
- Returns:
graph containing point vasculature skeleton.
- Return type:
- Raises:
BloodFlowError – if the file object identified by filename is not in h5 format.
- astrovascpy.io.load_graph_from_bin(filename)¶
Loading of a graph from a binary file using pickle. :param filename: vasculature dataset path. :type filename: str
- Returns:
graph containing point vasculature skeleton.
- Return type:
- astrovascpy.io.load_graph_from_csv(node_filename, edge_filename)¶
Loading of node dataset and edge dataset using pandas. It creates a PointVasculature graph object.
- Parameters:
- Returns:
graph containing point vasculature skeleton.
- Return type:
- astrovascpy.io.load_graph_from_h5(filename)¶
Loading of a graph from a .h5 using PointVasculature.load_sonata. :param filename: vasculature dataset path. :type filename: str
- Returns:
graph containing point vasculature skeleton.
- Return type: