# Contributions:DiffFilter

## Contents

## Synopsis

Take the derivative of a continuous time-series input wrt. time

## Location

http://www.bci2000.org/svn/trunk/src/contrib/SignalProcessing/HilbertSignalProcessing/DiffFilter.cpp

## Versioning

### Authors

Jeremy Hill

## Parameters

### DiffOrder

0 = disable; 1 = first derivative; 2 = second derivative; etc

### UnwrapDiff

Base at which to unwrap numerical deltas. 2*pi ( = 6.283185307179586232) is a useful base to take in order to unwrap phase differences (when unwrapped at 2*pi, the first derivative of HilbertFilter output when OutputSignal=2 yields instantaneous frequency * 2 * pi).

### DivideByDeltaTime

Select whether to return raw sample-to-sample numerical deltas, or to divide these by the time delta in seconds to approximate a true derivative.

## States

None.

## See also

User Reference:Filters, Contributions:SignalProcessing, Contributions:HilbertSignalProcessing