Extend instance
to include rotation
attribute
#207
Labels
C: NeuroML2 standard
Component: NeuroML 2 standard
S: needs comment
S: next meeting
T: enhancement
Type: enhancement
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 arotation
orangle
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:
So, a little bit of work for NeuroML, but hopefully worth the improvements/advantages for users?
CC NeuroML editors: @spanag @pgleeson @borismarin @sanjayankur31
The text was updated successfully, but these errors were encountered: