Changeset 3289

Show
Ignore:
Timestamp:
08/02/12 09:34:55 (10 months ago)
Author:
romainbrette
Message:
 
Location:
trunk
Files:
2 added
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/brian/experimental/morphology/TODO.txt

    r3260 r3289  
    11TODO 
    22---- 
     3* Test with Neuron: use PyNeuron on linux (Dodge & Cooley?) 
    34* Insert Remy's code (especially domain decomposition to deal with branches) 
    45* Cm should be (optionally) a distributed variable (for myeline). It could be done simply by a check 
     
    1011  big matrix (Note: all other variables, length etc, are views on the big matrix, 
    1112  for the current branch). 
     13 * GPU 
    1214  
  • trunk/dev/ideas/morphology/hodgkin_huxley_1952.py

    r3068 r3289  
    55''' 
    66from brian import * 
    7 from morphology import * 
    8 from spatialneuron import * 
     7from brian.experimental.morphology import * 
    98 
    109defaultclock.dt=0.01*ms 
    1110 
    12 morpho=Cylinder(length=10*cm, diameter=2*238*um, n=100, type='axon') 
     11morpho=Cylinder(length=10*cm, diameter=2*238*um, n=1000, type='axon') 
    1312 
    1413El = 10.613* mV 
     
    3837neuron.h=1 
    3938neuron.m=0 
    40 neuron.n=0 
     39neuron.n=.5 
    4140neuron.I=0*amp/cm**2 
    4241M=StateMonitor(neuron,'v',record=True) 
    43  
    44 print 'taum=',neuron.Cm/gl 
    4542 
    4643run(50*ms)