{"id":20956492,"url":"https://github.com/bluebrain/astrovascpy","last_synced_at":"2025-05-14T05:31:51.720Z","repository":{"id":176882108,"uuid":"651149187","full_name":"BlueBrain/AstroVascPy","owner":"BlueBrain","description":"Vasculature blood flow computation and impact of astrocytic endfeet on vessels","archived":true,"fork":false,"pushed_at":"2025-02-26T12:54:42.000Z","size":757,"stargazers_count":11,"open_issues_count":2,"forks_count":4,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-02-26T13:43:43.986Z","etag":null,"topics":["bloodflow","circuit","experiment","simulation"],"latest_commit_sha":null,"homepage":"https://astrovascpy.rtfd.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlueBrain.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.txt","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-08T15:49:09.000Z","updated_at":"2025-02-26T12:55:12.000Z","dependencies_parsed_at":"2024-01-15T11:53:27.599Z","dependency_job_id":"89571653-d8ed-4049-91b7-1d1292afbd5f","html_url":"https://github.com/BlueBrain/AstroVascPy","commit_stats":null,"previous_names":["bluebrain/astrovascpy"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueBrain%2FAstroVascPy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueBrain%2FAstroVascPy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueBrain%2FAstroVascPy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueBrain%2FAstroVascPy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlueBrain","download_url":"https://codeload.github.com/BlueBrain/AstroVascPy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254076977,"owners_count":22010630,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bloodflow","circuit","experiment","simulation"],"created_at":"2024-11-19T01:26:18.037Z","updated_at":"2025-05-14T05:31:51.691Z","avatar_url":"https://github.com/BlueBrain.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!WARNING]\n\u003e The Blue Brain Project concluded in December 2024, so development has ceased under the BlueBrain GitHub organization.\n\u003e Future development will take place at: https://github.com/openbraininstitute/AstroVascPy\n\n![AstroVascPy Logo](docs/source/logo/BBP-AstroVascPy-Github.jpg)\n\n# AstroVascPy\n\nAstroVascPy is a Python library for computing the blood pressure and flow through the vasculature\n(whole cortical column). AstroVascPy incorporates the effect of astrocytic endfeet on the blood vessel radii.\nIn particular, AstroVascPy replicates the dynamics of the radius of a vessel due to vasodilation.\n\nAstroVascPy uses vascpy Point Graph representation to access the vasculature database stored in h5 file (sonata format).\n\nvascpy standardizes the api for the vasculature datasets.\nPointVasculature (PointGraph) representation is basically a composition of two pandas data frames,\none for node properties (x, y, z, radius, other...) and one for edge properties (start_node, end_node, other...).\n\n### Inputs\n- pointgraph vasculature\n- endfeet locations with corresponding ids\n- radius of vessels at endfeet locations (possibly depending on simulation time)\n\n### Outputs\n\n- blood pressure at each node of the vasculature (node vector)\n- blood flow at each segment (edge vector)\n\n## Installation (Linux \u0026 MacOS)\n\nAstroVascPy can be git cloned here:\n\n    https://github.com/BlueBrain/astrovascpy\n\nEither locally or in BB5, one can run:\n\n    source setup.sh\n\nto install the AstroVascPy solver (+ all its dependencies) and set the environment. For the local installation (workstation), please install **conda** before running the command above.\n**Remark**: Run this command every time before using the solver in order to set the environment correctly.\n\nBackend Solvers: `export BACKEND_SOLVER_BFS='petsc'` or `export BACKEND_SOLVER_BFS='scipy'`, the user can choose the backend solver for the linear systems.\n**Remark**: PETSc is inherently parallel, while SciPy is not. Therefore, running the Blood Flow Solver with MPI makes sense only while using `petsc`!\n\nBlood Flow Solver (BFS) debugging: By typing `export DEBUG_BFS=1`, we run both PETSc \u0026 SciPy, and we compare their results. To disable this behavior please type `export DEBUG_BFS=0` (default behavior).\n\n## Usage\n\nThe code can be run using\n\n    python3 compute_static_flow_pressure.py\n\n### Load Archngv graph\n\nAn archngv graph can be loaded and converted to a pickle binary format, using the script `load_graph_archngv.py` inside the folder `examples`.\nRun the script as\n\n    python3 load_graph_archngv.py --filename_ngv \"path_to_ngv_circuit\" --output_graph \"output_graph_name.bin\"\n\n### Sonata reports\n\nStructure of the reports:\nThis is a particular type of compartment report for the vasculature.\nWe get a set of 3 reports at each time-step storing the blood flow,\nthe blood pressure and, the radius at each segment of the vasculature.\nHere are the units of these entities:\n-flow (µm^3.s^-1)\n-pressure (g.µm^-1.s^-2)\n-radius (µm)\n\n## Authors\n\nStéphanie Battini, Nicola Cantarutti, Christos Kotsalos and Tristan Carel\n\nLink to the article on [Bio-arxiv](https://www.biorxiv.org/content/10.1101/2024.11.14.623572v1)\n\n## Funding and Acknowledgements\n\nThe development of this software was supported by funding to the Blue Brain Project, a research center of the\nÉcole polytechnique fédérale de Lausanne (EPFL), from the Swiss government’s ETH Board of the Swiss Federal\nInstitutes of Technology.\n\nWe would like to thank Alessandro Cattabiani, Thomas Delemontex and Eleftherios Zisis\nfor reviewing the code and the engineering support.\n\nCopyright (c) 2023-2023 Blue Brain Project/EPFL\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluebrain%2Fastrovascpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbluebrain%2Fastrovascpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluebrain%2Fastrovascpy/lists"}