Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Set of rules to allow selection of peaks from an input time series.

Input

Timeseries

Options

In the configuration of peak selections there are two choices for refining the selection:

...

  • An attribute "totalNumber" must be defined. The value attribute defines the maximum number of peaks to consider.
Output

Timeseries containing the selection of peaks

Configuration example
Code Block
xml
xml
titleSelectionPeaksFunctionTest 1.00 default.xml
borderStylesolid
<transformation id="peaks function test">
   <selection>
      <peaks>
         <inputVariable>
            <timeSeriesSet>
               <moduleInstanceId>SelectionPeaksFunctionTest</moduleInstanceId>
               <valueType>scalar</valueType>
               <parameterId>H.tidal</parameterId>
               <locationId>H-2010</locationId>
               <timeSeriesType>external historical</timeSeriesType>
               <timeStep unit="minute" multiplier="15"/>
               <relativeViewPeriod unit="day" start="0" end="365"/>
               <readWriteMode>editing visible to all future task runs</readWriteMode>
            </timeSeriesSet>
         </inputVariable>
         <totalNumberBeforeT0>3</totalNumberBeforeT0>
         <totalNumberAfterT0>4</totalNumberAfterT0>
         <skipJustBeforeT0>2</skipJustBeforeT0>
         <skipJustAfterT0>2</skipJustAfterT0>			
         <outputVariable>
            <timeSeriesSet>
               <moduleInstanceId>SelectionPeaksFunctionTest</moduleInstanceId>
               <valueType>scalar</valueType>
               <parameterId>H.updated</parameterId>
               <locationId>H-2010</locationId>
               <timeSeriesType>external historical</timeSeriesType>
               <timeStep unit="nonequidistant"/>
               <relativeViewPeriod unit="day" start="-5" end="15"/>
               <readWriteMode>add originals</readWriteMode>
            </timeSeriesSet>
         </outputVariable>
      </peaks>
   </selection>
</transformation>

...