Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ This is a small library to wrap FFTW functionality useful for Open Ephys.

It is currently used by the [Phase Calculator](https://github.com/tne-lab/phase-calculator) and Real-Time Coherence plugins (under development).

`OpenEphysFFTWBatch.h` provides a lightweight, JUCE-independent batch API for
aligned single- and double-precision real-to-complex and complex-to-real
transforms. Batches are transform-major, with contiguous rows. Inverse
transforms follow FFTW's convention and are not normalized. Create plans off
real-time threads and reuse them.

## Dependency

OpenEphysFFTW uses complete non-threaded, shared double- and single-precision
Expand Down
2 changes: 1 addition & 1 deletion Source/OpenEphysFFTW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,4 +353,4 @@ void FFTWTransformableArray::hilbert()
fftReal();
freqDomainHilbert();
ifft();
}
}
4 changes: 3 additions & 1 deletion Source/OpenEphysFFTW.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ transform library
#include <CommonLibHeader.h>
#include <complex>

#include "OpenEphysFFTWBatch.h"

// forward-declare:
struct fftw_plan_s;

Expand Down Expand Up @@ -174,4 +176,4 @@ class FFTWTransformableArrayUsing : public FFTWTransformableArray
{}
};

#endif // OEP_FFTW_H_INCLUDED
#endif // OEP_FFTW_H_INCLUDED
Loading
Loading