Morphoelectrotonic Transform

Anything that doesn't fit elsewhere.
Post Reply
adamimos
Posts: 45
Joined: Mon Jan 25, 2010 4:49 pm

Morphoelectrotonic Transform

Post by adamimos »

Hello,

I saw in a few texts that there was at some point plans to make have METransform functionality in NEURON. I was wondering if that ever came to fruition, and if so, where I could find this.

Thanks,
Adam
ted
Site Admin
Posts: 6398
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Morphoelectrotonic Transform

Post by ted »

"Morphoelectrotonic"? Now _there's_ a 50 cent word if there ever was one. Maybe you are interested in the GUI's impedance tools, which use the electrotonic transformation to map between anatomical space, where the separation between points is measured in units of physical distance, to electrotonic space, where it is measured in units of log(attenuation). Has been part of NEURON for maybe 15 years now, and we've been teaching about it in the NEURON hands-on course since 1998 or so. Check out the link "Analyzing electrotonus" at
http://www.neuron.yale.edu/neuron/stati ... ndson.html
adamimos
Posts: 45
Joined: Mon Jan 25, 2010 4:49 pm

Re: Morphoelectrotonic Transform

Post by adamimos »

ted wrote:"Morphoelectrotonic"? Now _there's_ a 50 cent word if there ever was one. Maybe you are interested in the GUI's impedance tools, which use the electrotonic transformation to map between anatomical space, where the separation between points is measured in units of physical distance, to electrotonic space, where it is measured in units of log(attenuation). Has been part of NEURON for maybe 15 years now, and we've been teaching about it in the NEURON hands-on course since 1998 or so. Check out the link "Analyzing electrotonus" at
http://www.neuron.yale.edu/neuron/stati ... ndson.html
Hi Ted,

Thanks for the references, the Impedence tools are great! Is there a way to suppress output so I don't get those matrices when calling compute with the extended impedence calculation? Also, I was wondering if I could find a reference in the NEURON book or elsewhere that goes into how the tools actually work (not how to use them, but how they are implemented).

Thanks again,
Adam
ted
Site Admin
Posts: 6398
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Morphoelectrotonic Transform

Post by ted »

adamimos wrote:the Impedence tools are great!
Yes, they are.
Is there a way to suppress output so I don't get those matrices when calling compute with the extended impedence calculation?
I don't see anything like that. What OS and which version of NEURON are you using?
I was wondering if I could find a reference in the NEURON book or elsewhere that goes into how the tools actually work (not how to use them, but how they are implemented).
It's all done in the frequency domain, with the Impedance class, which is documented in the Programmer's Reference. You'll find lots of hoc source code in nrn/share/lib/hoc/imp*hoc
adamimos
Posts: 45
Joined: Mon Jan 25, 2010 4:49 pm

Re: Morphoelectrotonic Transform

Post by adamimos »

ted wrote:
adamimos wrote:the Impedence tools are great!
Yes, they are.
Is there a way to suppress output so I don't get those matrices when calling compute with the extended impedence calculation?
I don't see anything like that. What OS and which version of NEURON are you using?
I was wondering if I could find a reference in the NEURON book or elsewhere that goes into how the tools actually work (not how to use them, but how they are implemented).
It's all done in the frequency domain, with the Impedance class, which is documented in the Programmer's Reference. You'll find lots of hoc source code in nrn/share/lib/hoc/imp*hoc


I am using OS X.6.4
and version 7.1 of the program

for instance when I run the following code (which I found in a separate thread):

Code: Select all

load_file("nrngui.hoc")

objref out
out = new File()
out.wopen("out.dat")

// toy model cell
create soma, dend, axon
access soma
connect axon(0), soma(0)
connect dend(0), soma(1)

soma {
  diam = 30  L = 30
  insert pas
  g_pas /= 20
  e_pas = -65  // same as HH resting potential
}

dend {
  diam(0:1) = 2:0.5  L = 600
  insert pas
  g_pas /= 20
  e_pas = -65  // same as HH resting potential
}

axon {
  diam = 1  L = 1000
  insert hh
}

// specify reasonable values for nseg--see
//   http://www.neuron.yale.edu/neuron/static/docs/d_lambda/d_lambda.html
freq = 100      // Hz, frequency at which AC length constant will be computed
d_lambda = 0.1
func lambda_f() { // currently accessed section, $1 == frequency
  return 1e5*sqrt(diam/(4*PI*$1*Ra*cm))
}

proc geom_nseg() {
  soma area(0.5) // make sure diam reflects 3d points
  forall { nseg = int((L/(d_lambda*lambda_f(freq))+0.9)/2)*2 + 1  }
}

geom_nseg()

// prepare to use Impedance class

// always a good idea to finitialize before computing impedance
v_init=-65
finitialize(v_init)

// demonstrate use of impedance class
objref zz
zz = new Impedance()
FREQ = 0 // Hz

WHERE = 0.5 // location in the soma that is the reference point
soma distance(0, WHERE)  // sets origin for distance calculations

proc calcZ() {
  soma zz.loc(WHERE)  // sets origin for impedance calculations
  /*
    zz.compute() assumes conductances depend only on v, i.e.
    ignores the impedance contributions of gating state differential equations
  */
  zz.compute(FREQ, 1) // takes the impedance contributions of 
                      // gating state differential equations into account
                      // but requires mechanisms to be compatible with CVODE

  print "x distance(x) input(x) input_phase(x) transfer(x) transfer_phase(x) ratio(x)"
  forall {
    for (x) out.printf("%f\t%f\t%f\t%f\t%f\t%f\t%f\n",x, distance(x), zz.input(x), zz.input_phase(x), zz.transfer(x), zz.transfer_phase(x), zz.ratio(x))
  }
}

calcZ()
out.close()



I get the following):

Code: Select all

Last login: Tue Mar 29 15:22:27 on console
>> nrngui zTest.hoc 
NEURON -- Release 7.1 (359:7f113b76a94b) 7f113b76a94b
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2008
See http://www.neuron.yale.edu/credits.html

	1 
	1 
	1 
MATRIX SUMMARY

Size of matrix = 102 x 102.

Matrix before factorization:
             1         2         3         4         5         6         7

   1       133      -133       ...   -0.0932       ...       ...       ...
            0j        0j                  0j                              
   2     -4.71      9.42     -4.71       ...       ...       ...       ...
            0j        0j        0j                                        
   3       ...      -133       133       ...       ...       ...       ...
                      0j        0j                                        
   4   -0.0623       ...       ...    0.0941   -0.0311       ...       ...
            0j                            0j        0j                    
   5       ...       ...       ...   -0.0311     0.063   -0.0311       ...
                                          0j        0j        0j          
   6       ...       ...       ...       ...   -0.0311     0.063   -0.0311
                                                    0j        0j        0j
   7       ...       ...       ...       ...       ...   -0.0311     0.063
                                                              0j        0j
   8       ...       ...       ...       ...       ...       ...   -0.0311
                                                                        0j
   9       ...       ...       ...       ...       ...       ...       ...
                                                                          
  10       ...       ...       ...       ...       ...       ...       ...
                                                                          
  11       ...       ...       ...       ...       ...       ...       ...
                                                                          
  12       ...       ...       ...       ...       ...       ...       ...
                                                                          
  13       ...       ...       ...       ...       ...       ...       ...
                                                                          
  14       ...       ...       ...       ...       ...       ...       ...
                                                                          
  15       ...       ...       ...       ...       ...       ...       ...
                                                                          
  16       ...       ...       ...       ...       ...       ...       ...
                                                                          
  17       ...       ...       ...       ...       ...       ...       ...
                                                                          
  18       ...       ...       ...       ...       ...       ...       ...
                                                                          
  19       ...       ...       ...       ...       ...       ...       ...
                                                                          
  20       ...       ...       ...       ...       ...       ...       ...
                                                                          
  21       ...       ...       ...       ...       ...       ...       ...
                                                                          
  22       ...       ...       ...       ...       ...       ...       ...
                                                                          
  23       ...       ...       ...       ...       ...       ...       ...
                                                                          
  24       ...       ...       ...       ...       ...       ...       ...
                                                                          
  25       ...       ...       ...       ...       ...       ...       ...
                                                                          
  26       ...       ...   -0.0829       ...       ...       ...       ...
                                0j                                        
  27       ...       ...       ...       ...       ...       ...       ...
                                                                          
  28       ...       ...       ...       ...       ...       ...       ...
                                                                          
  29       ...       ...       ...       ...       ...       ...       ...
                                                                          
  30       ...       ...       ...       ...       ...       ...       ...
                                                                          
  31       ...       ...       ...       ...       ...       ...       ...
                                                                          
  32       ...       ...       ...       ...       ...       ...       ...
                                                                          
  33       ...       ...       ...       ...       ...       ...       ...
                                                                          
  34       ...       ...       ...       ...       ...       ...       ...
                                                                          
  35       ...       ...       ...       ...       ...       ...       ...
                                                                          
  36       ...       ...       ...       ...       ...       ...       ...
                                                                          
  37       ...       ...       ...       ...       ...       ...       ...
                                                                          
  38       ...       ...       ...       ...       ...       ...       ...
                                                                          
  39       ...       ...       ...       ...       ...       ...       ...
                                                                          
  40       ...       ...       ...   -0.0278       ...       ...       ...
                                          0j                              
  41       ...       ...       ...   0.00415       ...       ...       ...
                                          0j                              
  42       ...       ...       ...  -0.00283       ...       ...       ...
                                          0j                              
  43       ...       ...       ...       ...   -0.0278       ...       ...
                                                    0j                    
  44       ...       ...       ...       ...   0.00415       ...       ...
                                                    0j                    
  45       ...       ...       ...       ...  -0.00283       ...       ...
                                                    0j                    
  46       ...       ...       ...       ...       ...   -0.0278       ...
                                                              0j          
  47       ...       ...       ...       ...       ...   0.00415       ...
                                                              0j          
  48       ...       ...       ...       ...       ...  -0.00283       ...
                                                              0j          
  49       ...       ...       ...       ...       ...       ...   -0.0278
                                                                        0j
  50       ...       ...       ...       ...       ...       ...   0.00415
                                                                        0j
  51       ...       ...       ...       ...       ...       ...  -0.00283
                                                                        0j
  52       ...       ...       ...       ...       ...       ...       ...
                                                                          
  53       ...       ...       ...       ...       ...       ...       ...
                                                                          
  54       ...       ...       ...       ...       ...       ...       ...
                                                                          
  55       ...       ...       ...       ...       ...       ...       ...
                                                                          
  56       ...       ...       ...       ...       ...       ...       ...
                                                                          
  
 102       ...       ...       ...       ...       ...       ...       ...
                                                                          

            85        86        87        88        89        90        91

   1       ...       ...       ...       ...       ...       ...       ...
                                                                          
   2       ...       ...       ...       ...       ...       ...       ...
                                                                          
   3       ...       ...       ...       ...       ...       ...       ...
                                                                          
   4       ...       ...       ...       ...       ...       ...       ...
                                                                          
   5       ...       ...       ...       ...       ...       ...       ...
                                                                          
   6       ...       ...       ...       ...       ...       ...       ...
                                                                          
   7       ...       ...       ...       ...       ...       ...       ...
                                                                          
   8       ...       ...       ...       ...       ...       ...       ...
                                                                          
   9       ...       ...       ...       ...       ...       ...       ...
                                                                          
  10       ...       ...       ...       ...       ...       ...       ...
                                                                          
  11       ...       ...       ...       ...       ...       ...       ...
                                                                          
  12       ...       ...       ...       ...       ...       ...       ...
                                                                          
  13       ...       ...       ...       ...       ...       ...       ...
                                                                          
  14       ...       ...       ...       ...       ...       ...       ...
                                                                          
  15       ...       ...       ...       ...       ...       ...       ...
                                                                          
  16       ...       ...       ...       ...       ...       ...       ...
                                                                          
  17       ...       ...       ...       ...       ...       ...       ...
                                                                          
  18       ...       ...       ...       ...       ...       ...       ...
                                                                          
  19   -0.0705  -0.00205    0.0557       ...       ...       ...       ...
            0j        0j        0j                                        
  20       ...       ...       ...   -0.0705  -0.00205    0.0557       ...
                                          0j        0j        0j          
  21       ...       ...       ...       ...       ...       ...   -0.0705
                                                                        0j
  22       ...       ...       ...       ...       ...       ...       ...
                                                                          
  23       ...       ...       ...       ...       ...       ...       ...
                                                                          
  24       ...       ...       ...       ...       ...       ...       ...
                                                                          
  25       ...       ...       ...       ...       ...       ...       ...
                                                                          
  26       ...       ...       ...       ...       ...       ...       ...
                                                                          
  27       ...       ...       ...       ...       ...       ...       ...
                                                                          
  28       ...       ...       ...       ...       ...       ...       ...
                                                                          
  29       ...       ...       ...       ...       ...       ...       ...
                                                                          
  30       ...       ...       ...       ...       ...       ...       ...
                                                                          
  31       ...       ...       ...       ...       ...       ...       ...
                                                                          
  32       ...       ...       ...       ...       ...       ...       ...
                                                                          
  33       ...       ...       ...       ...       ...       ...       ...
                                                                          
  34       ...       ...       ...       ...       ...       ...       ...
                                                                          
  35       ...       ...       ...       ...       ...       ...       ...
                                                                          
  36       ...       ...       ...       ...       ...       ...       ...
                                                                          
  37       ...       ...       ...       ...       ...       ...       ...
                                                                          
  38       ...       ...       ...       ...       ...       ...       ...
                                                                          
  39       ...       ...       ...       ...       ...       ...       ...
                                                                          
  40       ...       ...       ...       ...       ...       ...       ...
                                                                          
  41       ...       ...       ...       ...       ...       ...       ...
                                                                          
  42       ...       ...       ...       ...       ...       ...       ...
                                                                          
  43       ...       ...       ...       ...       ...       ...       ...
                                                                          
  44       ...       ...       ...       ...       ...       ...       ...
                                                                          
  45       ...       ...       ...       ...       ...       ...       ...
                                                                          
  46       ...       ...       ...       ...       ...       ...       ...
                                                                          
  47       ...       ...       ...       ...       ...       ...       ...
                                                                          
  48       ...       ...       ...       ...       ...       ...       ...
                                                                          
  49       ...       ...       ...       ...       ...       ...       ...
                                                                          
  50       ...       ...       ...       ...       ...       ...       ...
                                                                          
  51       ...       ...       ...       ...       ...       ...       ...
                                                                          
  52       ...       ...       ...       ...       ...       ...       ...
                                                                          
  53       ...       ...       ...       ...       ...       ...       ...
                                                                          
  54       ...       ...       ...       ...       ...       ...       ...
                                                                          
  55       ...       ...       ...       ...       ...       ...       ...
                                                                          
  56       ...       ...       ...       ...       ...       ...       ...
                                                                          
  57       ...       ...       ...       ...       ...       ...       ...
                                                                          
  58       ...       ...       ...       ...       ...       ...       ...
                                                                          
  59       ...       ...       ...       ...       ...       ...       ...
                                                                          
  60       ...       ...       ...       ...       ...       ...       ...
                                                                          
  61       ...       ...       ...       ...       ...       ...       ...
                                                                          
  62       ...       ...       ...       ...       ...       ...       ...
                                                                          
  63       ...       ...       ...       ...       ...       ...       ...
                                                                          
  64       ...       ...       ...       ...       ...       ...       ...
                                                                          
  65       ...       ...       ...       ...       ...       ...       ...
                                                                          
  66       ...       ...       ...       ...       ...       ...       ...
                                                                          
  67       ...       ...       ...       ...       ...       ...       ...
                                                                          
  68       ...       ...       ...       ...       ...       ...       ...
                                                                          
  69       ...       ...       ...       ...       ...       ...       ...
                                                                          
  70       ...       ...       ...       ...       ...       ...       ...
                                                                          
  71       ...       ...       ...       ...       ...       ...       ...
                                                                          
  72       ...       ...       ...       ...       ...       ...       ...
                                                                          
  73       ...       ...       ...       ...       ...       ...       ...
                                                                          
  74       ...       ...       ...       ...       ...       ...       ...
                                                                          
  75       ...       ...       ...       ...       ...       ...       ...
                                                                          
  76       ...       ...       ...       ...       ...       ...       ...
                                                                          
  77       ...       ...       ...       ...       ...       ...       ...
                                                                          
  78       ...       ...       ...       ...       ...       ...       ...
                                                                          
  79       ...       ...       ...       ...       ...       ...       ...
                                                                          
  80       ...       ...       ...       ...       ...       ...       ...
                                                                          
  81       ...       ...       ...       ...       ...       ...       ...
                                                                          
  82       ...       ...       ...       ...       ...       ...       ...
                                                                          
  83       ...       ...       ...       ...       ...       ...       ...
                                                                          
  84       ...       ...       ...       ...       ...       ...       ...
                                                                          
  85      4.22       ...       ...       ...       ...       ...       ...
            0j                                                            
  86       ...     0.117       ...       ...       ...       ...       ...
                      0j                                                  
  87       ...       ...     0.183       ...       ...       ...       ...
                                0j                                        
  88       ...       ...       ...      4.22       ...       ...       ...
                                          0j                              
  89       ...       ...       ...       ...     0.117       ...       ...
                                                    0j                    
  90       ...       ...       ...       ...       ...     0.183       ...
                                                              0j          
  91       ...       ...       ...       ...       ...       ...      4.22
                                                                        0j
  92       ...       ...       ...       ...       ...       ...       ...
                                                                          
  93       ...       ...       ...       ...       ...       ...       ...
                                                                          
  94       ...       ...       ...       ...       ...       ...       ...
                                                                          
  95       ...       ...       ...       ...       ...       ...       ...
                                                                          
  96       ...       ...       ...       ...       ...       ...       ...
                                                                          
  97       ...       ...       ...       ...       ...       ...       ...
                                                                          
  98       ...       ...       ...       ...       ...       ...       ...
                                                                          
  99       ...       ...       ...       ...       ...       ...       ...
                                                                          
 100       ...       ...       ...       ...       ...       ...       ...
                                                                          
 101       ...       ...       ...       ...       ...       ...       ...
                                                                          
 102       ...       ...       ...       ...       ...       ...       ...
                                                                          

            92        93        94        95        96        97        98

   1       ...       ...       ...       ...       ...       ...       ...
                                                                          
   2       ...       ...       ...       ...       ...       ...       ...
                                                                          
   3       ...       ...       ...       ...       ...       ...       ...
                                                                          
   4       ...       ...       ...       ...       ...       ...       ...
                                                                          
   5       ...       ...       ...       ...       ...       ...       ...
                                                                          
   6       ...       ...       ...       ...       ...       ...       ...
                                                                          
   7       ...       ...       ...       ...       ...       ...       ...
                                                                          
   8       ...       ...       ...       ...       ...       ...       ...
                                                                          
   9       ...       ...       ...       ...       ...       ...       ...
                                                                          
  10       ...       ...       ...       ...       ...       ...       ...
                                                                          
  11       ...       ...       ...       ...       ...       ...       ...
                                                                          
  12       ...       ...       ...       ...       ...       ...       ...
                                                                          
  13       ...       ...       ...       ...       ...       ...       ...
                                                                          
  14       ...       ...       ...       ...       ...       ...       ...
                                                                          
  15       ...       ...       ...       ...       ...       ...       ...
                                                                          
  16       ...       ...       ...       ...       ...       ...       ...
                                                                          
  17       ...       ...       ...       ...       ...       ...       ...
                                                                          
  18       ...       ...       ...       ...       ...       ...       ...
                                                                          
  19       ...       ...       ...       ...       ...       ...       ...
                                                                          
  20       ...       ...       ...       ...       ...       ...       ...
                                                                          
  21  -0.00205    0.0557       ...       ...       ...       ...       ...
            0j        0j                                                  
  22       ...       ...   -0.0705  -0.00205    0.0557       ...       ...
                                0j        0j        0j                    
  23       ...       ...       ...       ...       ...   -0.0705  -0.00205
                                                              0j        0j
  24       ...       ...       ...       ...       ...       ...       ...
                                                                          
  25       ...       ...       ...       ...       ...       ...       ...
                                                                          
  26       ...       ...       ...       ...       ...       ...       ...
                                                                          
  27       ...       ...       ...       ...       ...       ...       ...
                                                                          
  28       ...       ...       ...       ...       ...       ...       ...
                                                                          
  29       ...       ...       ...       ...       ...       ...       ...
                                                                          
  30       ...       ...       ...       ...       ...       ...       ...
                                                                          
  31       ...       ...       ...       ...       ...       ...       ...
                                                                          
  32       ...       ...       ...       ...       ...       ...       ...
                                                                          
  33       ...       ...       ...       ...       ...       ...       ...
                                                                          
  34       ...       ...       ...       ...       ...       ...       ...
                                                                          
  35       ...       ...       ...       ...       ...       ...       ...
                                                                          
  36       ...       ...       ...       ...       ...       ...       ...
                                                                          
  37       ...       ...       ...       ...       ...       ...       ...
                                                                          
  38       ...       ...       ...       ...       ...       ...       ...
                                                                          
  39       ...       ...       ...       ...       ...       ...       ...
                                                                          
  40       ...       ...       ...       ...       ...       ...       ...
                                                                          
  41       ...       ...       ...       ...       ...       ...       ...
                                                                          
  42       ...       ...       ...       ...       ...       ...       ...
                                                                          
  43       ...       ...       ...       ...       ...       ...       ...
                                                                          
  44       ...       ...       ...       ...       ...       ...       ...
                                                                          
  45       ...       ...       ...       ...       ...       ...       ...
                                                                          
  46       ...       ...       ...       ...       ...       ...       ...
                                                                          
  47       ...       ...       ...       ...       ...       ...       ...
                                                                          
  48       ...       ...       ...       ...       ...       ...       ...
                                                                          
  49       ...       ...       ...       ...       ...       ...       ...
                                                                          
  50       ...       ...       ...       ...       ...       ...       ...
                                                                          
  51       ...       ...       ...       ...       ...       ...       ...
                                                                          
  52       ...       ...       ...       ...       ...       ...       ...
                                                                          
  53       ...       ...       ...       ...       ...       ...       ...
                                                                          
  54       ...       ...       ...       ...       ...       ...       ...
                                                                          
  55       ...       ...       ...       ...       ...       ...       ...
                                                                          
  56       ...       ...       ...       ...       ...       ...       ...
                                                                          
  57       ...       ...       ...       ...       ...       ...       ...
                                                                          
  58       ...       ...       ...       ...       ...       ...       ...
                                                                          
  59       ...       ...       ...       ...       ...       ...       ...
                                                                          
  60       ...       ...       ...       ...       ...       ...       ...
                                                                          
  61       ...       ...       ...       ...       ...       ...       ...
                                                                          
  62       ...       ...       ...       ...       ...       ...       ...
                                                                          
  63       ...       ...       ...       ...       ...       ...       ...
                                                                          
  64       ...       ...       ...       ...       ...       ...       ...
                                                                          
  65       ...       ...       ...       ...       ...       ...       ...
                                                                          
  66       ...       ...       ...       ...       ...       ...       ...
                                                                          
  67       ...       ...       ...       ...       ...       ...       ...
                                                                          
  68       ...       ...       ...       ...       ...       ...       ...
                                                                          
  69       ...       ...       ...       ...       ...       ...       ...
                                                                          
  70       ...       ...       ...       ...       ...       ...       ...
                                                                          
  71       ...       ...       ...       ...       ...       ...       ...
                                                                          
  72       ...       ...       ...       ...       ...       ...       ...
                                                                          
  73       ...       ...       ...       ...       ...       ...       ...
                                                                          
  74       ...       ...       ...       ...       ...       ...       ...
                                                                          
  75       ...       ...       ...       ...       ...       ...       ...
                                                                          
  76       ...       ...       ...       ...       ...       ...       ...
                                                                          
  77       ...       ...       ...       ...       ...       ...       ...
                                                                          
  78       ...       ...       ...       ...       ...       ...       ...
                                                                          
  79       ...       ...       ...       ...       ...       ...       ...
                                                                          
  80       ...       ...       ...       ...       ...       ...       ...
                                                                          
  81       ...       ...       ...       ...       ...       ...       ...
                                                                          
  82       ...       ...       ...       ...       ...       ...       ...
                                                                          
  83       ...       ...       ...       ...       ...       ...       ...
                                                                          
  84       ...       ...       ...       ...       ...       ...       ...
                                                                          
  85       ...       ...       ...       ...       ...       ...       ...
                                                                          
  86       ...       ...       ...       ...       ...       ...       ...
                                                                          
  87       ...       ...       ...       ...       ...       ...       ...
                                                                          
  88       ...       ...       ...       ...       ...       ...       ...
                                                                          
  89       ...       ...       ...       ...       ...       ...       ...
                                                                          
  90       ...       ...       ...       ...       ...       ...       ...
                                                                          
  91       ...       ...       ...       ...       ...       ...       ...
                                                                          
  92     0.117       ...       ...       ...       ...       ...       ...
            0j                                                            
  93       ...     0.183       ...       ...       ...       ...       ...
                      0j                                                  
  94       ...       ...      4.22       ...       ...       ...       ...
                                0j                                        
  95       ...       ...       ...     0.117       ...       ...       ...
                                          0j                              
  96       ...       ...       ...       ...     0.183       ...       ...
                                                    0j                    
  97       ...       ...       ...       ...       ...      4.22       ...
                                                              0j          
  98       ...       ...       ...       ...       ...       ...     0.117
                                                                        0j
  99       ...       ...       ...       ...       ...       ...       ...
                                                                          
 100       ...       ...       ...       ...       ...       ...       ...
                                                                          
 101       ...       ...       ...       ...       ...       ...       ...
                                                                          
 102       ...       ...       ...       ...       ...       ...       ...
                                                                          

            99       100       101       102

   1       ...       ...       ...       ...
                                            
   2       ...       ...       ...       ...
                                            
   3       ...       ...       ...       ...
                                            
   4       ...       ...       ...       ...
                                            
   5       ...       ...       ...       ...
                                            
   6       ...       ...       ...       ...
                                            
   7       ...       ...       ...       ...
                                            
   8       ...       ...       ...       ...
                                            
   9       ...       ...       ...       ...
                                            
  10       ...       ...       ...       ...
                                            
  11       ...       ...       ...       ...
                                            
  12       ...       ...       ...       ...
                                            
  13       ...       ...       ...       ...
                                            
  14       ...       ...       ...       ...
                                            
  15       ...       ...       ...       ...
                                            
  16       ...       ...       ...       ...
                                            
  17       ...       ...       ...       ...
                                            
  18       ...       ...       ...       ...
                                            
  19       ...       ...       ...       ...
                                            
  20       ...       ...       ...       ...
                                            
  21       ...       ...       ...       ...
                                            
  22       ...       ...       ...       ...
                                            
  23    0.0557       ...       ...       ...
            0j                              
  24       ...   -0.0705  -0.00205    0.0557
                      0j        0j        0j
  25       ...       ...       ...       ...
                                            
  26       ...       ...       ...       ...
                                            
  27       ...       ...       ...       ...
                                            
  28       ...       ...       ...       ...
                                            
  29       ...       ...       ...       ...
                                            
  30       ...       ...       ...       ...
                                            
  31       ...       ...       ...       ...
                                            
  32       ...       ...       ...       ...
                                            
  33       ...       ...       ...       ...
                                            
  34       ...       ...       ...       ...
                                            
  35       ...       ...       ...       ...
                                            
  36       ...       ...       ...       ...
                                            
  37       ...       ...       ...       ...
                                            
  38       ...       ...       ...       ...
                                            
  39       ...       ...       ...       ...
                                            
  40       ...       ...       ...       ...
                                            
  41       ...       ...       ...       ...
                                            
  42       ...       ...       ...       ...
                                            
  43       ...       ...       ...       ...
                                            
  44       ...       ...       ...       ...
                                            
  45       ...       ...       ...       ...
                                            
  46       ...       ...       ...       ...
                                            
  47       ...       ...       ...       ...
                                            
  48       ...       ...       ...       ...
                                            
  49       ...       ...       ...       ...
                                            
  50       ...       ...       ...       ...
                                            
  51       ...       ...       ...       ...
                                            
  52       ...       ...       ...       ...
                                            
  53       ...       ...       ...       ...
                                            
  54       ...       ...       ...       ...
                                            
  55       ...       ...       ...       ...
                                            
  56       ...       ...       ...       ...
                                            
  57       ...       ...       ...       ...
                                            
  58       ...       ...       ...       ...
                                            
  59       ...       ...       ...       ...
                                            
  60       ...       ...       ...       ...
                                            
  61       ...       ...       ...       ...
                                            
  62       ...       ...       ...       ...
                                            
  63       ...       ...       ...       ...
                                            
  64       ...       ...       ...       ...
                                            
  65       ...       ...       ...       ...
                                            
  66       ...       ...       ...       ...
                                            
  67       ...       ...       ...       ...
                                            
  68       ...       ...       ...       ...
                                            
  69       ...       ...       ...       ...
                                            
  70       ...       ...       ...       ...
                                            
  71       ...       ...       ...       ...
                                            
  72       ...       ...       ...       ...
                                            
  73       ...       ...       ...       ...
                                            
  74       ...       ...       ...       ...
                                            
  75       ...       ...       ...       ...
                                            
  76       ...       ...       ...       ...
                                            
  77       ...       ...       ...       ...
                                            
  78       ...       ...       ...       ...
                                            
  79       ...       ...       ...       ...
                                            
  80       ...       ...       ...       ...
                                            
  81       ...       ...       ...       ...
                                            
  82       ...       ...       ...       ...
                                            
  83       ...       ...       ...       ...
                                            
  84       ...       ...       ...       ...
                                            
  85       ...       ...       ...       ...
                                            
  86       ...       ...       ...       ...
                                            
  87       ...       ...       ...       ...
                                            
  88       ...       ...       ...       ...
                                            
  89       ...       ...       ...       ...
                                            
  90       ...       ...       ...       ...
                                            
  91       ...       ...       ...       ...
                                            
  92       ...       ...       ...       ...
                                            
  93       ...       ...       ...       ...
                                            
  94       ...       ...       ...       ...
                                            
  95       ...       ...       ...       ...
                                            
  96       ...       ...       ...       ...
                                            
  97       ...       ...       ...       ...
                                            
  98       ...       ...       ...       ...
                                            
  99     0.183       ...       ...       ...
            0j                              
 100       ...      4.22       ...       ...
                      0j                    
 101       ...       ...     0.117       ...
                                0j          
 102       ...       ...       ...     0.183
                                          0j


Largest element in matrix = 133.3.
Smallest element in matrix = 0.002047.

Largest pivot element = 133.3.
Smallest pivot element = 0.06297.

Density = 2.92%.

i=0 133.212 0
i=1 9.41625 0
i=2 133.269 0
i=3 0.0941095 0
i=4 0.0629654 0
i=5 0.0629654 0
i=6 0.0629654 0
i=7 0.0629654 0
i=8 0.0629654 0
i=9 0.0629654 0
i=10 0.0629654 0
i=11 0.0629654 0
i=12 0.0629654 0
i=13 0.0629654 0
i=14 0.0629654 0
i=15 0.0629654 0
i=16 0.0629654 0
i=17 0.0629654 0
i=18 0.0629654 0
i=19 0.0629654 0
i=20 0.0629654 0
i=21 0.0629654 0
i=22 0.0629654 0
i=23 0.0941095 0
i=24 0.0931828 0
i=25 0.124373 0
i=26 0.0829321 0
i=27 0.0829321 0
i=28 0.0829321 0
i=29 0.0829321 0
i=30 0.0829321 0
i=31 0.0829321 0
i=32 0.0829321 0
i=33 0.0829321 0
i=34 0.0829321 0
i=35 0.0829321 0
i=36 0.0829321 0
i=37 0.124373 0
i=38 0.15022 0
i=39 4.22356 0
i=40 0.117426 0
i=41 0.183198 0
i=42 4.22356 0
i=43 0.117426 0
i=44 0.183198 0
i=45 4.22356 0
i=46 0.117426 0
i=47 0.183198 0
i=48 4.22356 0
i=49 0.117426 0
i=50 0.183198 0
i=51 4.22356 0
i=52 0.117426 0
i=53 0.183198 0
i=54 4.22356 0
i=55 0.117426 0
i=56 0.183198 0
i=57 4.22356 0
i=58 0.117426 0
i=59 0.183198 0
i=60 4.22356 0
i=61 0.117426 0
i=62 0.183198 0
i=63 4.22356 0
i=64 0.117426 0
i=65 0.183198 0
i=66 4.22356 0
i=67 0.117426 0
i=68 0.183198 0
i=69 4.22356 0
i=70 0.117426 0
i=71 0.183198 0
i=72 4.22356 0
i=73 0.117426 0
i=74 0.183198 0
i=75 4.22356 0
i=76 0.117426 0
i=77 0.183198 0
i=78 4.22356 0
i=79 0.117426 0
i=80 0.183198 0
i=81 4.22356 0
i=82 0.117426 0
i=83 0.183198 0
i=84 4.22356 0
i=85 0.117426 0
i=86 0.183198 0
i=87 4.22356 0
i=88 0.117426 0
i=89 0.183198 0
i=90 4.22356 0
i=91 0.117426 0
i=92 0.183198 0
i=93 4.22356 0
i=94 0.117426 0
i=95 0.183198 0
i=96 4.22356 0
i=97 0.117426 0
i=98 0.183198 0
i=99 4.22356 0
i=100 0.117426 0
i=101 0.183198 0
x distance(x) input(x) input_phase(x) transfer(x) transfer_phase(x) ratio(x)
	0 
oc>

actually the output is much much longer but I couldn't post the whole thing :) I guess it has to do with the library for matrix calculations that is being used? Particularly, this library seems to fit the bill: http://www.netlib.org/sparse/spoutput.c . I'll look through the Impedence.compute code a bit now.

EDIT: I just realized I'm a bit confused. What happens if I never directly call the compute() function? When I call input or ratio or transfer will it still use the extended calculations into account?
ted
Site Admin
Posts: 6398
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Morphoelectrotonic Transform

Post by ted »

That is ugly. I'd suggest installing one of the 7.2 alphas, e.g.
http://www.neuron.yale.edu/ftp/neuron/v ... 0.4.11.dmg
or, if you can compile from source code, then get the latest development code from the mercurial repository and build NEURON from that--see
http://www.neuron.yale.edu/neuron/download/getdevel
adamimos
Posts: 45
Joined: Mon Jan 25, 2010 4:49 pm

Re: Morphoelectrotonic Transform

Post by adamimos »

ted wrote:That is ugly. I'd suggest installing one of the 7.2 alphas, e.g.
http://www.neuron.yale.edu/ftp/neuron/v ... 0.4.11.dmg
or, if you can compile from source code, then get the latest development code from the mercurial repository and build NEURON from that--see
http://www.neuron.yale.edu/neuron/download/getdevel
perfect, that works. you the man.
Post Reply