\hypertarget{myfft_8c}{}\doxysection{src/myfft.c File Reference}
\label{myfft_8c}\index{src/myfft.c@{src/myfft.c}}
{\ttfamily \#include \char`\"{}myfft.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}myarr.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}mydefs.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}mysync.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}printing.\+h\char`\"{}}\newline
{\ttfamily \#include $<$fftw3.\+h$>$}\newline
{\ttfamily \#include $<$limits.\+h$>$}\newline
{\ttfamily \#include $<$math.\+h$>$}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
Include dependency graph for myfft.\+c\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{myfft_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
fftw\+\_\+complex $\ast$ \mbox{\hyperlink{group__myfft_ga9b42daf91bb4c04d6e03295977763829}{make\+Filter}} (size\+\_\+t evalue, size\+\_\+t Array\+Length)
\begin{DoxyCompactList}\small\item\em @ . \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__myfft_ga7ae335353fa1417b04f8e0f92f5d9b11}{remove50hz}} (size\+\_\+t Array\+Length, int $\ast$array, unsigned int rate)
\begin{DoxyCompactList}\small\item\em Remove the 50Hz component from the input array. \end{DoxyCompactList}\item 
fftw\+\_\+complex $\ast$ \mbox{\hyperlink{group__myfft_gaf4b06d4391b8782061878a3f2983eefa}{convolute}} (const struct \mbox{\hyperlink{structmyarr}{myarr}} array, fftw\+\_\+complex $\ast$filter\+FFT)
\begin{DoxyCompactList}\small\item\em @ frequency domain. \end{DoxyCompactList}\item 
fftw\+\_\+complex $\ast$ \mbox{\hyperlink{group__myfft_ga630fc656ef71b4c11b84a83155afa1ca}{crosscor}} (size\+\_\+t Array\+Length, fftw\+\_\+complex $\ast$array, fftw\+\_\+complex $\ast$ref)
\begin{DoxyCompactList}\small\item\em Perform cross-\/correlation between the input array and the reference array in the frequency domain. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__myfft_ga9e7b5003fb81033321cc19879e90c27f}{getshift}} (const struct \mbox{\hyperlink{structmyarr}{myarr}} xarr, const struct \mbox{\hyperlink{structmyarr}{myarr}} yarr)
\begin{DoxyCompactList}\small\item\em Get the shift between the two input arrays. \end{DoxyCompactList}\item 
size\+\_\+t \mbox{\hyperlink{group__myfft_gabb76bbd993146a1f2ab98871bd802f9e}{fftfit}} (const struct \mbox{\hyperlink{structmyarr}{myarr}} input, int $\ast$total, const int $\ast$base, double $\ast$corvalue, fftw\+\_\+complex $\ast$filter\+FFT, int verb, double $\ast$subpos)
\begin{DoxyCompactList}\small\item\em @ shift. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__myfft_gabe4899260bfe379451c138bfe4f72145}{rescale}} (int $\ast$total, size\+\_\+t Array\+Length)
\begin{DoxyCompactList}\small\item\em Rescale the input array to fit within the range of a 16-\/bit signed integer. \end{DoxyCompactList}\item 
size\+\_\+t \mbox{\hyperlink{group__myfft_ga23caf332ea8a813af4290c846ffac166}{getmaxfftw}} (fftw\+\_\+complex $\ast$array, size\+\_\+t Array\+Length)
\begin{DoxyCompactList}\small\item\em @ frequency domain. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__myfft_gac7a82ce7c64ce26d67f5d761261d33c6}{writefftw}} (fftw\+\_\+complex $\ast$arr, size\+\_\+t Array\+Length, const char $\ast$file)
\begin{DoxyCompactList}\small\item\em Write the given array in the frequency domain to a file. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__myfft_ga68517c39d07c3d1a670d8b2ff60581ee}{normalise}} (size\+\_\+t Array\+Length, fftw\+\_\+complex $\ast$in\+Data)
\begin{DoxyCompactList}\small\item\em Normalise the input array in the frequency domain. \end{DoxyCompactList}\end{DoxyCompactItemize}
