Module sf :: Class SystemFunction
[frames] | no frames]

Class SystemFunction

Represent a system function as a ratio of polynomials in R

Instance Methods
 
__init__(self, numeratorPoly, denominatorPoly)
 
poles(self)
Returns: a list of the poles of the system
 
poleMagnitudes(self)
Returns: a list of the magnitudes of the poles of the system
 
dominantPole(self)
Returns: the pole with the largest magnitude
 
differenceEquation(self)
Returns: a DifferenceEquation representation of this same system
 
__add__(self, other)
 
__str__(self)
 
__repr__(self)
Instance Variables
  numerator
Polynomial in R representing the numerator
  denominator
Polynomial in R representing the denominator
Method Details

__init__(self, numeratorPoly, denominatorPoly)
(Constructor)

 
Parameters:
  • numeratorPoly - Polynomial
  • denominatorPoly - Polynomial

poles(self)

 
Returns:
a list of the poles of the system

poleMagnitudes(self)

 
Returns:
a list of the magnitudes of the poles of the system

dominantPole(self)

 
Returns:
the pole with the largest magnitude

differenceEquation(self)

 
Returns:
a DifferenceEquation representation of this same system