find_path
Find the shortest real path between two brain regions in an atlas using connectivity weights, returning path and distance or None when unreachable.
Instructions
Camino más corto real entre dos regiones del mismo atlas, sobre el
grafo de conectividad de connection_type (un peso mayor es una
conexión más fuerte, no un coste mayor -- el camino real más corto
tiende hacia las conexiones fuertes). path y distance quedan en
None cuando source_id/target_id no pertenecen a este atlas, o cuando
no existe ningún camino real entre ambos (p. ej. componentes
desconectadas) -- nunca se aproxima ni se inventa un camino.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| atlas_id | Yes | ||
| source_id | Yes | ||
| target_id | Yes | ||
| min_weight | No | ||
| connection_type | No | structural |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| atlas_id | Yes | ||
| distance | Yes | ||
| source_id | Yes | ||
| target_id | Yes | ||
| min_weight | Yes | ||
| connection_type | Yes |