|
216 | 216 |
|
217 | 217 | </ComponentType> |
218 | 218 |
|
| 219 | + <ComponentType name="gate" |
| 220 | + extends="baseGate" |
| 221 | + description="Conveniently named baseGate"> |
| 222 | + </ComponentType> |
219 | 223 |
|
220 | 224 | <ComponentType name="gateHHrates" |
221 | | - extends="baseGate" |
| 225 | + extends="gate" |
222 | 226 | description="Gate which follows the general Hodgkin Huxley formalism"> |
223 | 227 |
|
224 | 228 | <Child name="notes" type="notes"/> |
|
262 | 266 |
|
263 | 267 |
|
264 | 268 | <ComponentType name="gateHHtauInf" |
265 | | - extends="baseGate" |
| 269 | + extends="gate" |
266 | 270 | description="Gate which follows the general Hodgkin Huxley formalism"> |
267 | 271 |
|
268 | 272 | <Child name="notes" type="notes"/> |
|
298 | 302 | </ComponentType> |
299 | 303 |
|
300 | 304 | <ComponentType name="gateHHInstantaneous" |
301 | | - extends="baseGate" |
| 305 | + extends="gate" |
302 | 306 | description="Gate which follows the general Hodgkin Huxley formalism but is instantaneous, so tau = 0 and gate follows exactly inf value"> |
303 | 307 |
|
304 | 308 | <Constant name="SEC" dimension="time" value="1 s"/> |
|
325 | 329 |
|
326 | 330 |
|
327 | 331 | <ComponentType name="gateHHratesTau" |
328 | | - extends="baseGate" |
| 332 | + extends="gate" |
329 | 333 | description="Gate which follows the general Hodgkin Huxley formalism"> |
330 | 334 |
|
331 | 335 | <Child name="notes" type="notes"/> |
|
369 | 373 |
|
370 | 374 |
|
371 | 375 | <ComponentType name="gateHHratesInf" |
372 | | - extends="baseGate" |
| 376 | + extends="gate" |
373 | 377 | description="Gate which follows the general Hodgkin Huxley formalism"> |
374 | 378 |
|
375 | 379 | <Child name="notes" type="notes"/> |
|
409 | 413 |
|
410 | 414 |
|
411 | 415 | <ComponentType name="gateHHratesTauInf" |
412 | | - extends="baseGate" |
| 416 | + extends="gate" |
413 | 417 | description="Gate which follows the general Hodgkin Huxley formalism"> |
414 | 418 |
|
415 | 419 | <Child name="notes" type="notes"/> |
|
450 | 454 |
|
451 | 455 |
|
452 | 456 | <ComponentType name="gateFractional" |
453 | | - extends="baseGate" |
| 457 | + extends="gate" |
454 | 458 | description="Gate composed of subgates contributing with fractional conductance"> |
455 | 459 |
|
456 | 460 | <Children name="q10Settings" type="baseQ10Settings"/> |
|
525 | 529 | <Child name="annotation" type="annotation"/> |
526 | 530 |
|
527 | 531 | <Children name="conductanceScaling" type="baseConductanceScaling"/> |
528 | | - <Children name="gatesHHrates" type="gateHHrates"/> |
529 | | - <Children name="gatesHHtauInf" type="gateHHtauInf"/> |
530 | | - <Children name="gatesHHratesTau" type="gateHHratesTau"/> |
531 | | - <Children name="gatesHHratesInf" type="gateHHratesInf"/> |
532 | | - <Children name="gatesHHratesTauInf" type="gateHHratesTauInf"/> |
533 | | - <Children name="gateHHInstantaneous" type="gateHHInstantaneous"/> |
534 | | - <Children name="gatesFractional" type="gateFractional"/> |
| 532 | + <Children name="gates" type="gate"/> |
535 | 533 |
|
536 | 534 | <Text name="neuroLexId"/> |
537 | 535 | <Text name="species"/> |
538 | 536 |
|
539 | 537 | <Dynamics> |
540 | 538 | <DerivedVariable name="conductanceScale" dimension="none" select="conductanceScaling[*]/factor" reduce="multiply"/> |
541 | | - <DerivedVariable name="fopenHHrates" dimension="none" select="gatesHHrates[*]/fcond" reduce="multiply"/> |
542 | | - <DerivedVariable name="fopenHHtauInf" dimension="none" select="gatesHHtauInf[*]/fcond" reduce="multiply"/> |
543 | | - <DerivedVariable name="fopenHHratesTau" dimension="none" select="gatesHHratesTau[*]/fcond" reduce="multiply"/> |
544 | | - <DerivedVariable name="fopenHHratesInf" dimension="none" select="gatesHHratesInf[*]/fcond" reduce="multiply"/> |
545 | | - <DerivedVariable name="fopenHHratesTauInf" dimension="none" select="gatesHHratesTauInf[*]/fcond" reduce="multiply"/> |
546 | | - <DerivedVariable name="fopenHHInstantaneous" dimension="none" select="gateHHInstantaneous[*]/fcond" reduce="multiply"/> |
547 | | - <DerivedVariable name="fopenFractional" dimension="none" select="gatesFractional[*]/fcond" reduce="multiply"/> |
548 | | - <DerivedVariable name="fopen" exposure="fopen" dimension="none" value="conductanceScale * fopenHHrates * fopenHHtauInf * fopenHHratesTau * fopenHHratesInf * fopenHHratesTauInf * fopenHHInstantaneous * fopenFractional"/> |
| 539 | + <DerivedVariable name="fopen0" dimension="none" select="gates[*]/fcond" reduce="multiply"/> |
| 540 | + <DerivedVariable name="fopen" exposure="fopen" dimension="none" value="conductanceScale * fopen0"/> |
549 | 541 | <DerivedVariable name="g" exposure="g" value="conductance * fopen" dimension="conductance"/> |
550 | 542 | </Dynamics> |
551 | 543 | </ComponentType> |
|
557 | 549 |
|
558 | 550 | <Dynamics> |
559 | 551 | <DerivedVariable name="conductanceScale" dimension="none" select="conductanceScaling[*]/factor" reduce="multiply"/> |
560 | | - <DerivedVariable name="fopenHHrates" dimension="none" select="gatesHHrates[*]/fcond" reduce="multiply"/> |
561 | | - <DerivedVariable name="fopenHHtauInf" dimension="none" select="gatesHHtauInf[*]/fcond" reduce="multiply"/> |
562 | | - <DerivedVariable name="fopenHHratesTau" dimension="none" select="gatesHHratesTau[*]/fcond" reduce="multiply"/> |
563 | | - <DerivedVariable name="fopenHHratesInf" dimension="none" select="gatesHHratesInf[*]/fcond" reduce="multiply"/> |
564 | | - <DerivedVariable name="fopen" exposure="fopen" dimension="none" value="conductanceScale * fopenHHrates * fopenHHtauInf * fopenHHratesTau * fopenHHratesInf"/> |
| 552 | + <DerivedVariable name="fopen0" dimension="none" select="gates[*]/fcond" reduce="multiply"/> |
| 553 | + <DerivedVariable name="fopen" exposure="fopen" dimension="none" value="conductanceScale * fopen0"/> |
565 | 554 | <DerivedVariable name="g" exposure="g" value="conductance * fopen" dimension="conductance"/> |
566 | 555 | </Dynamics> |
567 | 556 |
|
|
0 commit comments