You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the context of automatic model descriptions, it would be useful to be able to give additional descriptions/annotations to objects such as NeuronGroup. Currently, the only type of annotation you can use is name, but since this name is used inside generated code it is quite restricted (e.g. you could call a group 'l23_neurons' but not 'Layer 2/3 neurons'). In the ANNarchy simulator you can have a human-readable name + a description. We could add a description field as well, but I wonder whether we should not rather directly go for something generic like a metadata attribute which holds an arbitrary dictionary. I could imagine other things that could be useful in the future, in particular with models imported from somewhere else. For example, in some applications it could be useful to have some kind of reference/publication field (or just orcid) with a link to the publication describing the model. Or when importing a model from NeuroML, it might make sense to still keep the NeuroML code around for reference.
Of course we could also take some middle ground, e.g. name + description as direct arguments and everything else in a generic metadata dictionary.
The text was updated successfully, but these errors were encountered:
I guess metadata wouldn't have to be a dictionary, right? You could just leave it up to the user whether that's a string, or a dict, or anything else. Then again, would that be any different from just using add_attribute after the definition?
I think metadata as a dict is probably good, but we should also lay out some standard keys (title, description, publication, etc.). We could even consider supporting one of the standards for this. Isn't there a new one on reporting neural modelling?
In the context of automatic model descriptions, it would be useful to be able to give additional descriptions/annotations to objects such as
NeuronGroup
. Currently, the only type of annotation you can use isname
, but since this name is used inside generated code it is quite restricted (e.g. you could call a group'l23_neurons'
but not'Layer 2/3 neurons'
). In the ANNarchy simulator you can have a human-readablename
+ adescription
. We could add adescription
field as well, but I wonder whether we should not rather directly go for something generic like ametadata
attribute which holds an arbitrary dictionary. I could imagine other things that could be useful in the future, in particular with models imported from somewhere else. For example, in some applications it could be useful to have some kind ofreference
/publication
field (or justorcid
) with a link to the publication describing the model. Or when importing a model from NeuroML, it might make sense to still keep the NeuroML code around for reference.Of course we could also take some middle ground, e.g.
name
+description
as direct arguments and everything else in a genericmetadata
dictionary.The text was updated successfully, but these errors were encountered: