public class IIR_Filter extends Unit
y(n) = a(0)x(n) + a(1)x(n-1) + a(2)x(n-2) + ... - b(0)y(n-1) - ...<\p>
Note that the b*y terms are subtracted, not added. The user gives an arbitrary number of coefficients for both sequences a and b, and the unit applies them to the input and previously computed data. The unit maintains continuity across successive input data sets if the user requests it. The computation starts off as if the first data set had been preceded by a sequence of zeros.
CLONE_ALL_OUTPUT, CLONE_MULTIPLE_OUTPUT, COPY_OUTPUT, ESSENTIAL, ESSENTIAL_IF_CONNECTED, IMMEDIATE_UPDATE, INTERNAL, LATE_INITIALIZE, NO_UPDATE, ON_TASK_INSTANTATION, ON_USER_ACCESS, OPTIONAL, PROCESS_UPDATE, TRANSIENT, TRANSIENT_ACCESSIBLE, USER_ACCESSIBLE
Constructor and Description |
---|
IIR_Filter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHelpFile() |
java.lang.String[] |
getInputTypes()
This method should return an array of the data types accepted by nodes not specified in getNodeInputTypes (e.g.
|
java.lang.String[] |
getOutputTypes()
This method should return an array of the data types output by nodes not specified in getNodeOutputTypes() (e.g.
|
java.lang.String |
getPopUpDescription()
This returns a brief! description of what the unit does.
|
void |
init()
Initialses information specific to IIR_Filter.
|
void |
parameterUpdate(java.lang.String name,
java.lang.Object value)
Used to set each of IIR_Filter's parameters.
|
void |
process()
********************************************* ** USER CODE of FIR_Filter goes here ***
*********************************************
|
void |
reset()
Called when the reset button is pressed within the MainTriana Window
|
void |
stopping()
Called when the stop button is pressed within the MainTriana Window
|
void |
updateWidgetFor(java.lang.String name)
Don't need to use this for GUI Builder units as everthing is updated by triana automatically
|
debug, debug, defineParameter, dispose, extractClipInState, getClipIn, getClipIn, getControlInterface, getDefaultInputNodes, getDefaultNodeRequirement, getDefaultOutputNodes, getDisplayName, getDisplayPackage, getGUIBuilderV2Info, getHelpFileLocation, getInputAtNode, getInputNodeCount, getMaximumInputNodes, getMaximumOutputNodes, getMinimumInputNodes, getMinimumOutputNodes, getNodeInputTypes, getNodeOutputTypes, getOutputNodeCount, getOutputPolicy, getPackageName, getParameter, getParameterPanelClass, getParameterPanelInstantiate, getParameterType, getParameterUpdatePolicy, getRunnableInterface, getTask, getTaskGraphContext, getToolName, getToolPackage, getToolTable, getVersion, hideParameterPanel, isClipInName, isInputAtNode, isOutputSent, isParameter, log, log, notifyError, notifyError, output, outputAtNode, outputAtNode, parameterUpdated, putClipIn, removeClipIn, removeParameter, restoreClipInState, setDefaultInputNodes, setDefaultNodeRequirement, setDefaultOutputNodes, setDisplayName, setDisplayPackage, setGUIBuilderV2Info, setHelpFileLocation, setMaximumInputNodes, setMaximumOutputNodes, setMinimumInputNodes, setMinimumOutputNodes, setOutputPolicy, setParameter, setParameterPanelClass, setParameterPanelInstantiate, setParameterUpdatePolicy, setPopUpDescription, setRunnableInterface, setToolName, setToolPackage, setVersion, showParameterPanel
public void process() throws java.lang.Exception
public void init()
public void reset()
public void stopping()
public void parameterUpdate(java.lang.String name, java.lang.Object value)
parameterUpdate
in class Unit
public void updateWidgetFor(java.lang.String name)
public java.lang.String[] getInputTypes()
Unit
getInputTypes
in class Unit
public java.lang.String[] getOutputTypes()
Unit
getOutputTypes
in class Unit
public java.lang.String getPopUpDescription()
getPopUpDescription
in class Unit
public java.lang.String getHelpFile()