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

Holds the basic Component class. More...

Classes

class  Component
 Basic component class. More...
 
class  Component2
 Very similar to the class Component, but with 2 functions in the transfer from input to output. 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

Holds the basic Component class.

Author
Ilyas Kuhlemann ilyas.nosp@m.p.ku.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
Date
09.10.14

Function Documentation

def CompoundPye.src.Components.component.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.component.power_law (   x,
  a,
  b = 1,
  c = 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.component.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)