CompoundPye  0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
 All Classes Namespaces Functions Variables Pages
CompoundPye.src.Components.transfer_functions Namespace Reference

Provides some transfer functions. More...

Functions

def identity
 Linear function that can be used as a Component's transfer function. More...
 
def quadratic
 Quadratic function that can be used as a Component's transfer function. More...
 
def power_law
 Power law that can be used as a Component's transfer function. More...
 

Detailed Description

Provides some transfer functions.

Author
Ilyas Kuhlemann ilyas.nosp@m.p.ku.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
Date
14.11.14 last update: 01.10.2015
Todo:
build a sigmoid wrapper function? so that one can combine any function f(x) with an sigmoidal output s(f(x)).

Function Documentation

def CompoundPye.src.Components.transfer_functions.identity (   x,
  gain = 1.0 
)

Linear function that can be used as a Component's transfer function.

Returns
x*gain == input times gain
def CompoundPye.src.Components.transfer_functions.power_law (   x,
  a,
  b = 1,
  c = 0,
  d = 0 
)

Power law that can be used as a Component's transfer function.

Returns
Output produced by the power law defined through b*x^a+c.
def CompoundPye.src.Components.transfer_functions.quadratic (   x,
  a = 1,
  b = 0 
)

Quadratic function that can be used as a Component's transfer function.

Returns
output of the quadratic function (a*x^2+b)