Source code for eoscircuits.mbcircuits.model

from . import NDComponents as ndComp
from neuroballad.models.element import Element
from collections import OrderedDict
from ..alcircuits.model import (
    EXTRA_COMPS,
    OTP,
    NoisyConnorStevens,
    OSNAxt,
    OSNAxt2,
    PN,
    PreLN,
    PostLN,
    LeakyIAF,
    Alpha,
)

EXTRA_COMPS += [
    ndComp.KC,
    ndComp.KCDend,
    ndComp.APL,
    ndComp.PN2KC,
]


[docs]class Model: """NeuroBallad Element that also wraps the underlying NDComponent""" _ndcomp = None
[docs]class KC: params = dict( threshold=1.0, ) _ndcomp = ndComp.KC
[docs]class KCDend: params = dict( bias=1.0, gain=1.0, ) _ndcomp = ndComp.KCDend
[docs]class APL: params = dict( N=1.0, ) _ndcomp = ndComp.APL
[docs]class PN2KC: params = dict( weight=1.0, ) _ndcomp = ndComp.PN2KC