Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
nwb.group1.time
nwb.group1.stimulus_1
nwb.group1.stimulus_2
group1.stimulus_3
group1.stimulus_4
group1.stimulus_5
group2.time
group2.stimulus_1
group2.stimulus_2
group2.stimulus_3
group2.stimulus_4
group2.stimulus_5
where group1 and group2 are two composite types
Plot1.plotXYData(group1.stimulus_1,group1.time)
How to create a Composite:
https://github.com/tarelli/nwb-explorer/blob/master/nwb_explorer/nwb_model_interpreter.py#L43-L45
to get all the groups
nwb.getVariable().getType().getVariables() //will give you all the groups
nwb.getVariable().getType().getVariables().map(g => //do another map to get all the variables and do getInstance on those)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment