Main Neurospaces logo neurospaces 0.1675 Thu, 27 Dec 2007 15:58:18 -0600 hugo

Index of group ./specifications/python/pyparameteroperations


Index
Up

parameter operations in python

1. A simple script that will load the purkinje cell and set a few parameters
2. Wildcarded parameter query 2
3. Wildcarded parameter query 3
4. Parameter query 3
5. A simple retrieval of a parameter and a set of that same parameter
6. A simple retrieval of a parameter created via nmc.symbols

1. A simple script that will load the purkinje cell and set a few parameters

Startup command : tests/python/parameteroperations_1.py

(No model has been loaded for the following set of commands.)

1.1. Can we find all the reversal potentials of the soma ?

1. Part of expected output
/CerebellarCortex/Golgis/0/Golgi_soma/CaHVA->Erev = 0.138533
/CerebellarCortex/Golgis/0/Golgi_soma/H->Erev = -0.042
/CerebellarCortex/Golgis/0/Golgi_soma/InNa->Erev = 0.055
/CerebellarCortex/Golgis/0/Golgi_soma/KA->Erev = -0.09
/CerebellarCortex/Golgis/0/Golgi_soma/KDr->Erev = -0.09
/CerebellarCortex/Golgis/0/Golgi_soma/Moczyd_KC->Erev = -0.09
/CerebellarCortex/Golgis/0/Golgi_soma/mf_AMPA->Erev = 0
/CerebellarCortex/Golgis/0/Golgi_soma/pf_AMPA->Erev = 0

2. Wildcarded parameter query 2

Startup command : tests/python/parameteroperations_2.py

(No model has been loaded for the following set of commands.)

2.1. Can we find all the prototypes for the algorithms ?

1. Part of expected output
/CerebellarCortex/MossyFibers/MossyGrid->PROTOTYPE = "MossyFiber"
/CerebellarCortex/Granules/GranuleGrid->PROTOTYPE = "Granule_cell"
/CerebellarCortex/Golgis/GolgiGrid->PROTOTYPE = "Golgi_cell"
2. This test is currently not executed
(disabled is 'this requires a full implementation of alien types, see developer TODOs')

3. Wildcarded parameter query 3

Startup command : tests/python/parameteroperations_3.py

(No model has been loaded for the following set of commands.)

3.1. Can we find the prototypes for the algorithms ?

1. Part of expected output
/CerebellarCortex/Golgis/GolgiGrid->PROTOTYPE = "Golgi_cell

4. Parameter query 3

Startup command : tests/python/parameteroperations_4.py

(No model has been loaded for the following set of commands.)

4.1. Can we query the purkinje cell model for parameters ?

1. Part of expected output
value = 0.0164
scaled value = 4.57537e-11
value = 1.44697e-05
value = "Purkinje_spine"
---
'parameter name': Erev
type: function
'function name': NERNST
'function parameters':

  -
    'parameter name': Cin
    'field name': concen
    type: field
    value: ../ca_pool->concen
    'resolved value': /Purkinje/segments/soma/ca_pool->concen
  -
    'parameter name': Cout
    type: number
    value: 2.4
  -
    'parameter name': valency
    'field name': VAL
    type: field
    value: ../ca_pool->VAL
    'resolved value': /Purkinje/segments/soma/ca_pool->VAL
  -
    'parameter name': T
    type: number
    value: 37
---
show_parameters:
'parameter name': G_MAX
type: number
value: 5

'parameter name': Erev
type: function
'function name': NERNST
'function parameters':

  -
    'parameter name': Cin
    'field name': concen
    type: field
    value: ../ca_pool->concen
    'resolved value': /Purkinje/segments/soma/ca_pool->concen
  -
    'parameter name': Cout
    type: number
    value: 2.4
  -
    'parameter name': valency
    'field name': VAL
    type: field
    value: ../ca_pool->VAL
    'resolved value': /Purkinje/segments/soma/ca_pool->VAL
  -
    'parameter name': T
    type: number
    value: 37

  -
    'parameter name': LENGTH
    type: number
    value: 6.96028e-06
  -
    'parameter name': Z
    type: number
    value: 3.8022e-05
  -
    'parameter name': Y
    type: number
    value: 1.1682e-05
  -
    'parameter name': X
    type: number
    value: 1.5649e-05
  -
    'parameter name': PARENT
    type: symbolic
    value: ../main[1]
  -
    'parameter name': rel_X
    type: number
    value: 1.666e-06
  -
    'parameter name': rel_Y
    type: number
    value: 1.111e-06
  -
    'parameter name': rel_Z
    type: number
    value: 6.666e-06
  -
    'parameter name': DIA
    type: number
    value: 8.5e-06
  -
    'parameter name': Vm_init
    type: number
    value: -0.068
  -
    'parameter name': RM
    type: number
    value: 3
  -
    'parameter name': RA
    type: number
    value: 2.5
  -
    'parameter name': CM
    type: number
    value: 0.0164
  -
    'parameter name': ELEAK
    type: number
    value: -0.08
Done!

5. A simple retrieval of a parameter and a set of that same parameter

Startup command : tests/python/get_parameter_1.py

(No model has been loaded for the following set of commands.)

5.1. Can we retrieve a parameter and set a parameter ?

1. Part of expected output
Soma CM is 0.016400 and EREV is 0.147021
Soma CM is 300.000000 and EREV is 0.147021
Done!

6. A simple retrieval of a parameter created via nmc.symbols

Startup command : tests/python/symbols_1.py

(No model has been loaded for the following set of commands.)

6.1. Can we create a parameter via a call to nmc.symbols ?

1. Part of expected output
Value is 100.000000
Done!