Skip to content

3D positions of cells being displayed incorrectly #794

@pgleeson

Description

@pgleeson

This NeuroML file contains 2 cells, a basket cell on the left (at the origin) and a pyramidal cell on the right (at <location x="400.0" y="-200.0" z="0.0"/>). The soma of the pyramidal cell should be below the basket cell as shown in this export of the cell from NML (use: pynml -png TwoCell.net.nml, see here):

TwoCell net

However when this is imported into NetPyNE (e.g. by creating a workspace from https://v2.opensourcebrain.org/repositories/14 and importing the NML file above) the soma is above the basket cell (left below):

Screenshot 2023-12-19 at 16 19 43

The correct position seems to be in netpyne's memory, as the right panel shows its own 3D view, with the yellow dot on the right for the pyramidal cell at the right locaion.

Also a json file exported from the neuroml version has the right location: https://github.com/OpenSourceBrain/NetPyNEShowcase/blob/master/NetPyNE/TwoCells/LEMS_TwoCell_netpyne_data.json#L29

Is it possibly the issue is to do with the "ynorm": -2.0 linked above, as the y position looks like it is wrongly multiplied by -2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions