#ifndef _utl_FFTDataContainer_h_ #define _utl_FFTDataContainer_h_ /** \file Template class for a data container that offers and takes both time series and corresponding frequency data, keeping track of which one is the most recent and doing FFTs automatically if necessary. Caution: Do not cache references you have asked from an FFTDataContainer. Always refresh a new one to make sure it is up to date. \author Tim Huege \ingroup fft */ #include #include #include #include #include namespace utl { /** \class FFTDataContainer FFTDataContainer.h "utl/FFTDataContainer.h" \brief Template class for a data container that offers and takes both time series and corresponding frequency data, keeping track of which one is the most recent and doing FFTs automatically if necessary. The data are stored in ShadowPtrs to be able to clear them without relying on specific clear() methods of the container classes. \param C Container class that is used to store the data, usually Trace \param T Data type that is used to store time-series data, usually double \param F Data type that is used to store frequency-spectrum data, usually complex \author Tim Huege */ template