File tree Expand file tree Collapse file tree
webapp/components/definition/populations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,6 +105,15 @@ class NetPyNEPopulation extends React.Component {
105105 /> ,
106106 ) ;
107107
108+ modelParameters . push (
109+ < BottomNavigationAction
110+ key = "Stimulation"
111+ label = "Stimulation"
112+ icon = { < FontIcon className = "fa fa-list" /> }
113+ onClick = { ( ) => select ( 4 , 'Stimulation' ) }
114+ /> ,
115+ ) ;
116+
108117 return modelParameters ;
109118 } ;
110119
@@ -272,6 +281,58 @@ class NetPyNEPopulation extends React.Component {
272281 var content = (
273282 < div > Option to provide individual list of cells. Coming soon ...</ div >
274283 ) ;
284+ } else if ( this . state . sectionId == 'Stimulation' ) {
285+ var content = (
286+ < Box className = "scrollbar scrollchild" mt = { 1 } >
287+ < NetPyNECoordsRange
288+ id = "xRangePopParams"
289+ name = { this . props . name }
290+ model = "netParams.popParams"
291+ items = { [
292+ {
293+ value : 'xRange' ,
294+ label : 'Absolute' ,
295+ } ,
296+ {
297+ value : 'xnormRange' ,
298+ label : 'Normalized' ,
299+ } ,
300+ ] }
301+ />
302+
303+ < NetPyNECoordsRange
304+ id = "yRangePopParams"
305+ name = { this . props . name }
306+ model = "netParams.popParams"
307+ items = { [
308+ {
309+ value : 'yRange' ,
310+ label : 'Absolute' ,
311+ } ,
312+ {
313+ value : 'ynormRange' ,
314+ label : 'Normalized' ,
315+ } ,
316+ ] }
317+ />
318+
319+ < NetPyNECoordsRange
320+ id = "zRangePopParams"
321+ name = { this . props . name }
322+ model = "netParams.popParams"
323+ items = { [
324+ {
325+ value : 'zRange' ,
326+ label : 'Absolute' ,
327+ } ,
328+ {
329+ value : 'znormRange' ,
330+ label : 'Normalized' ,
331+ } ,
332+ ] }
333+ />
334+ </ Box >
335+ ) ;
275336 } else {
276337 var content = < div > { this . state . cellModelFields } </ div > ;
277338 }
You can’t perform that action at this time.
0 commit comments