public class MEDSmooth extends MEDCalculator
,
Serialized FormMEDCalculator.CalculationResult, MEDCalculator.CalculatorThread
Modifier and Type | Field and Description |
---|---|
protected int |
convolLength |
protected static FwkDescriptionInterface |
descriptor |
static java.lang.String |
version |
channelCopy, channelCut, channelFilter, channels, getHt, ident, implicitChannelCalculation, independentColumnName, independentFilter, markerFilter, markers, position, setHt
actionListeners, buttonClass, commandName, helpID, icon, iconKey, instruction, menuEventEnabled, menuItemClass, menuListeners, mnemonic, properties, radioGroupState, registry, sensitive, separator, text, textKey, toggle, toggleState, toolBarEnabled, toolTipKey, toolTipText, visible
source
author, buildnr, className, company, copyright, creationDate, dateFormatString, description, eMail, FWK_ICON, FWK_ICON_ARRAY, FWK_ICON_BG, FWK_ICON_BG_ARRAY, FWK_ICON_BG_LARGE, FWK_ICON_BG_LARGE_ARRAY, FWK_ICON_LARGE, FWK_ICON_LARGE_ARRAY, ICON, iconCount, internetAddress, name, titleName
CONTROLLER_PROPERTY, MENU_REASON_CANCELED, MENU_REASON_DESELECTED, MENU_REASON_SELECTED
AUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME
Constructor and Description |
---|
MEDSmooth()
The default constructor.
|
MEDSmooth(FwkControllerInterface controller)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
double[] |
calculate(double[] independent,
double[] data)
Calculate the results of a single channel.
|
FwkPanelInterface |
getCalculatorPanel()
Get the calculator dialog.
|
java.lang.String |
getChannelColumnName(FwkColumnAccessInterface col,
double[] limit)
Get the short name of a newly created channel.
|
java.lang.String |
getChannelName(FwkColumnAccessInterface col,
double[] limit)
Get the name of a newly created channel.
|
int |
getConvolLength()
Get the convol length.
|
static FwkDescriptionInterface |
getDescriptor() |
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
void |
setConvolLength(int len)
Get the convol length.
|
calculate, calculate, calculate, canChangeChannel, canCopyChannel, canCreateImplicitChannel, checkCalulatorPanel, clear, containsKey, containsValue, entrySet, execute, get, getCalculatorPanelPosition, getChannelCopy, getChannelCut, getChannelFilter, getChannelInfoBusName, getChannelNames, getDialogPanel, getDialogParent, getIcon, getIdent, getImplicitChannelCalculation, getIndependentChannelName, getIndependentFilter, getMarkerFilter, getMarkerInfoBusName, getMarkerNames, getMED, getProperties, getProperty, init, isEmpty, keySet, main, put, putAll, release, remove, setCalculatorPanelPosition, setChannelCopy, setChannelCut, setChannelFilter, setChannelNames, setIdent, setImplicitChannelCalculation, setIndependentChannelName, setIndependentFilter, setMarkerFilter, setMarkerNames, setProperties, setProperty, size, toString, values
addActionListener, addCommand, addCommand, addMenuListener, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getActionListenerArray, getButtonClass, getCommand, getCommandName, getCommands, getController, getGroup, getHelpID, getIconKey, getMenuEventEnabled, getMenuItemClass, getMenuListenerArray, getMnemonic, getRadioGroupState, getSensitivity, getSeparator, getText, getTextKey, getToggle, getToggleState, getToolBarEnabled, getToolTipKey, getToolTipText, getVisibility, groupExists, hasActionListeners, hasMenuListeners, isParent, menuSelect, register, registeredObjects, registrySize, removeActionListener, removeCommand, removeFromGroup, removeMenuListener, setAsParent, setButtonClass, setCommandName, setCommands, setController, setHelpID, setIcon, setIconKey, setMenuEventEnabled, setMenuItemClass, setMnemonic, setRadioGroupState, setSensitivity, setSeparator, setText, setTextKey, setToggle, setToggleState, setToolBarEnabled, setToolTipKey, setToolTipText, setVisibility, unregister
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEvents
getAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIconKey, getName, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, getTransferData, getTransferDataFlavors, isDataFlavorSupported, lostOwnership, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIconKey, setName, setSupportEMail, setTitleName
getNiceVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addActionListener, addMenuListener, getActionListenerArray, getButtonClass, getCommandName, getHelpID, getIconKey, getMenuEventEnabled, getMenuItemClass, getMenuListenerArray, getMnemonic, getRadioGroupState, getSensitivity, getSeparator, getText, getTextKey, getToggle, getToggleState, getToolBarEnabled, getToolTipKey, getToolTipText, getVisibility, hasActionListeners, hasMenuListeners, isParent, menuSelect, register, registeredObjects, registrySize, removeActionListener, removeMenuListener, setAsParent, setButtonClass, setCommandName, setHelpID, setIcon, setIconKey, setMenuEventEnabled, setMenuItemClass, setMnemonic, setRadioGroupState, setSensitivity, setSeparator, setText, setTextKey, setToggle, setToggleState, setToolBarEnabled, setToolTipKey, setToolTipText, setVisibility, unregister
addCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommands
getPresentationString, getPresentationString
getController, setController
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEvents
public static final java.lang.String version
protected static final FwkDescriptionInterface descriptor
protected int convolLength
public MEDSmooth()
public MEDSmooth(FwkControllerInterface controller)
controller
- must be an instance implementing com.highqsoft.med.MEDInterface.public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class MEDCalculator
public static FwkDescriptionInterface getDescriptor()
public double[] calculate(double[] independent, double[] data) throws FwkException
calculate
in interface MEDCalculatorInterface
calculate
in class MEDCalculator
independent
- An array containing The independent channel.data
- The array containing the channel data of interest.FwkException
public java.lang.String getChannelName(FwkColumnAccessInterface col, double[] limit)
getChannelName
in interface MEDCalculatorInterface
getChannelName
in class MEDCalculator
col
- the source channel.limit
- a two element array containing the upper and the lower limit.public java.lang.String getChannelColumnName(FwkColumnAccessInterface col, double[] limit)
getChannelColumnName
in interface MEDCalculatorInterface
getChannelColumnName
in class MEDCalculator
col
- the source channel.limit
- a two element array containing the upper and the lower limit.public void setConvolLength(int len)
len
- the convol length.public int getConvolLength()
public FwkPanelInterface getCalculatorPanel()
This method should return a dialog to configurate the calculator specific properties.
getCalculatorPanel
in interface MEDCalculatorInterface
getCalculatorPanel
in class MEDCalculator