Class AbstractDerivative<T extends DataContainer>

    • Field Detail

      • m_Order

        protected int m_Order
        the order of the derivative.
      • m_ScalingRange

        protected double m_ScalingRange
        the range to scale the abundances to after each derivation step.
    • Constructor Detail

      • AbstractDerivative

        public AbstractDerivative()
    • Method Detail

      • setOrder

        public void setOrder​(int value)
        Sets the order of the derivative to calculate.
        Parameters:
        value - the order
      • getOrder

        public int getOrder()
        Returns the order of the derivative to calculate.
        Returns:
        the order
      • orderTipText

        public String orderTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setScalingRange

        public void setScalingRange​(double value)
        Sets the range to scale the abundances to after each derivation step (= 0 turns scaling off; -1 sets scaling to input range).
        Parameters:
        value - the range
      • getScalingRange

        public double getScalingRange()
        Returns the scaling range the abundances are scaled to after each derivation step (= 0 means no scaling; -1 sets scaling to input range).
        Returns:
        the range
      • scalingRangeTipText

        public String scalingRangeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • toPoint

        protected abstract AbstractDerivative.Point toPoint​(DataPoint point)
        Turns the DataPoint into the intermediate format.
        Parameters:
        point - the DataPoint to convert
        Returns:
        the generated intermediate format point
      • toDataPoint

        protected abstract DataPoint toDataPoint​(AbstractDerivative.Point point)
        Turns the intermediate format point back into a DataPoint.
        Parameters:
        point - the intermediate format point to convert
        Returns:
        the generated DataPoint
      • processData

        protected T processData​(T data)
        Performs the actual filtering.
        Specified by:
        processData in class AbstractFilter<T extends DataContainer>
        Parameters:
        data - the data to filter
        Returns:
        the filtered data