Skip to content

Make new get_anatomical_layouts() function #150

Open
@wingedRuslan

Description

@wingedRuslan

Hi there,

to partially address issue #148, I would like to re-implement get_anatomical_layouts function.

input - BrainNetwork Graph that has x, y, z coordinates and integer node labels (0 to n-1) for n nodes
output - return three dictionaries containing appropriate pairs of coordinates for sagittal, coronal and axial slices

This is quite different from anatomical_layout - This function extracts the required coordinates of a node based on the given anatomical layout.

The already-existed function get_anatomical_layouts() in scona/make_figures.py does not work at all, so I will create a new one!

I do not think that this function best fits into visualisation_helpers file, that's why I am thinking to include the newly-created function to the graph_measures file. At least the coordinates of the nodes have a relation to graph measures, rather than just to visualisation.

What do you think? Is that ok?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions