Skip to content

Extend instance to include rotation attributeΒ #207

@sanjayankur31

Description

@sanjayankur31

At the moment, if a network has many Components of the same cell ComponentType but simply rotated at different angles, one must create a new population for each of these Components since instance allows providing location information, but not rotation related information.

Creating a new population for each Component of the same cell ComponentType is tedius---one has to rotate the cell manually, create a new component for it, and then use this in a new population. It also limits the use of other NeuroML tools---such as visualising connectivity between populations since now we have 100s of populations with one instance each.

I've added a method to rotate the cell (PR: NeuroML/pyNeuroML#218), but it still means that the repository is littered with hundreds of new rotated cells.

So, I propose that we discuss extending the instance ComponentType to also include a rotation or angle attribute to allow us to specify rotated instances of the same cell ComponentType in a population.

Note that this means we will have to handle the rotation when generating simulator code also. So, expected changes will be:

  • in the schema
  • LEMS definitions
  • related org.neuroml.model etc. libraries
  • org.neuroml.export: where I expect we will need to rotate cells before exporting them into Neuron and other simulator specific formats.
  • visualisation tools (pyneuroml) will have to rotate the cells before plotting

So, a little bit of work for NeuroML, but hopefully worth the improvements/advantages for users?

CC NeuroML editors: @spanag @pgleeson @borismarin @sanjayankur31

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    πŸ†• New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions