Skip to content

Commit 4063753

Browse files
committed
Implemented dipole/eeg graphs. Bumped to 102.
1 parent 831e749 commit 4063753

4 files changed

Lines changed: 61 additions & 5 deletions

File tree

netpyne_ui/netpyne_geppetto.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,9 @@ def getAvailablePlots(self):
834834
"plotShape",
835835
"plot2Dnet",
836836
"iplotConn",
837-
"granger"
837+
"granger",
838+
"plotDipole",
839+
"plotEEG"
838840
]
839841

840842
return [plot for plot in plots if plot not in list(self.simConfig.analysis.keys())]

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ multimethod==1.3
4444
nbconvert==5.6.1
4545
nbformat==5.0.6
4646
neuromllite==0.1.9
47-
netpyne==1.0.1
47+
netpyne==1.0.2
4848
NEURON==7.8.1.1
4949
numpy==1.18.5
5050
oauthlib==3.0.1

webapp/constants.js

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,60 @@ export const PLOT_WIDGETS = {
384384
},
385385
},
386386
},
387+
plotDipole: {
388+
id: 'plotDipole',
389+
name: 'Dipole plot',
390+
status: WidgetStatus.MINIMIZED,
391+
component: 'Plot',
392+
panelName: MINIMIZED_PANEL,
393+
defaultPanel: 'plotPanel',
394+
hideOnClose: true,
395+
enableRename: false,
396+
initialized: false,
397+
disabled: true,
398+
method: {
399+
plotKey: 'plotDipole',
400+
plotMethod: 'plotDipole',
401+
plotType: false,
402+
},
403+
pos: 13,
404+
config: {
405+
id: 'plotDipole',
406+
name: 'Dipole plot',
407+
method: {
408+
plotKey: 'plotDipole',
409+
plotMethod: 'plotDipole',
410+
plotType: false,
411+
},
412+
},
413+
},
414+
plotEEG: {
415+
id: 'plotEEG',
416+
name: 'EEG plot',
417+
status: WidgetStatus.MINIMIZED,
418+
component: 'Plot',
419+
panelName: MINIMIZED_PANEL,
420+
defaultPanel: 'plotPanel',
421+
hideOnClose: true,
422+
enableRename: false,
423+
initialized: false,
424+
disabled: true,
425+
method: {
426+
plotKey: 'plotEEG',
427+
plotMethod: 'plotEEG',
428+
plotType: false,
429+
},
430+
pos: 14,
431+
config: {
432+
id: 'plotEEG',
433+
name: 'EEG plot',
434+
method: {
435+
plotKey: 'plotEEG',
436+
plotMethod: 'plotEEG',
437+
plotType: false,
438+
},
439+
},
440+
},
387441
};
388442

389443
export const DEFAULT_NETWORK_WIDGETS = {

webapp/yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,9 +1090,9 @@
10901090
"@fortawesome/fontawesome-common-types" "^0.2.36"
10911091

10921092
"@fortawesome/react-fontawesome@^0.1.9":
1093-
version "0.1.17"
1094-
resolved "https://registry.yarnpkg.com/@fortawesome/react-fontawesome/-/react-fontawesome-0.1.17.tgz#06fc06cb1a721e38e5b50b4a1cb851e9b9c77d7a"
1095-
integrity sha512-dX43Z5IvMaW7fwzU8farosYjKNGfRb2HB/DgjVBHeJZ/NSnuuaujPPx0YOdcAq+n3mqn70tyCde2HM1mqbhiuw==
1093+
version "0.1.18"
1094+
resolved "https://registry.yarnpkg.com/@fortawesome/react-fontawesome/-/react-fontawesome-0.1.18.tgz#dae37f718a24e14d7a99a5496c873d69af3fbd73"
1095+
integrity sha512-RwLIB4TZw0M9gvy5u+TusAA0afbwM4JQIimNH/j3ygd6aIvYPQLqXMhC9ErY26J23rDPyDZldIfPq/HpTTJ/tQ==
10961096
dependencies:
10971097
prop-types "^15.8.1"
10981098

0 commit comments

Comments
 (0)