Created
June 22, 2018 16:35
-
-
Save tarelli/4711f73ab805e8b06d72874ce303c076 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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