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
@kyralianaka implemented some kind of yaml parser to set up her networks in jaxley. I think this is a really great tool!
Since I am currently writing an io submodule, I thought it would be a great addition to also include a file parser, that would let the user specify networks without having to code. I.e. via from_yaml, to_yaml or from_json, to_json. To do this well, we should come up with a file format that is suitable for this, such that we can write a parser. Therefore I am starting this discussion, so you can all chime in.
Considerations:
Modules should be specifiable at every level.
one should be able to name everything (like groups, channels, etc.)
connectivities should be specifiable
morphology (could be fpath to .swc file or sth.)
Format should be as future proof as possible (I think since the API is pretty much set in stone now, this should be doable if we think careful about it)
every parameter should be setable ideally.
Idea sketch:
I think something along the lines of the following could work.
Making something like this (interpretable) would be nice, but I would caution against adding a lot of detail.
I would err on the side of leaving out connectivity because it's not very easy to look at, and nobody would want to write or read in a yaml or json file which cells are connected to which. Unless maybe you just specify full connectivity or sparse connectivity.
It really seems to work the best when lots of parameters are shared e.g. mechanisms, synapse types, coordinates, etc. ... otherwise things could get out of hand very quickly.
Something I could see doing is just creating a tutorial where one specifies module characteristics in a yaml file and then loads it in a notebook and does something with it, and then suggest that other people could do something similar if they wanted, but of course @jnsbck feel free to try what you want :)
@kyralianaka implemented some kind of
yaml
parser to set up her networks in jaxley. I think this is a really great tool!Since I am currently writing an
io
submodule, I thought it would be a great addition to also include a file parser, that would let the user specify networks without having to code. I.e. viafrom_yaml
,to_yaml
orfrom_json
,to_json
. To do this well, we should come up with a file format that is suitable for this, such that we can write a parser. Therefore I am starting this discussion, so you can all chime in.Considerations:
Idea sketch:
I think something along the lines of the following could work.
another idea sketch, that is more similar to how jaxley is set up
The text was updated successfully, but these errors were encountered: