bluepyemodel.ecode.sahp

sAHP stimulus class

Classes

sAHP(location, **kwargs)

sAHP current stimulus

class sAHP(location, **kwargs)

Bases: BPEM_stimulus

sAHP current stimulus

The long step (here amp) is usually fixed at 40% of rheobase, and the short step (here amp2) can usually vary from 150% to 300% of rheobase.

   holdi       holdi+long_amp      holdi+amp       holdi+long_amp          holdi
     :                :                :                 :                   :
     :                :          ______________          :                   :
     :                :         |              |         :                   :
     :      ____________________|              |____________________         :
     :     |                    ^              ^                    |        :
     :     |                    :              :                    |        :
|__________|                    :              :                    |__________________
^          ^                    :              :                    ^                  ^
:          :                    :              :                    :                  :
:          :                    :              :                    :                  :
t=0        delay                tmid           tmid2                toff     totduration

Constructor :param location: location of stimulus :type location: Location

generate(dt=0.1)

Return current time series

WARNING: do not offset ! This is on-top of a holding stimulus.

instantiate(sim=None, icell=None)

Run stimulus