|
tico 0.1
Mechanical Watch Terminal Timegrapher
|
#include "myfft.h"#include "myarr.h"#include "mydefs.h"#include "mysync.h"#include "printing.h"#include <fftw3.h>#include <limits.h>#include <math.h>#include <stdlib.h>
Functions | |
| fftw_complex * | makeFilter (size_t evalue, size_t ArrayLength) |
| @ . More... | |
| void | remove50hz (size_t ArrayLength, int *array, unsigned int rate) |
| Remove the 50Hz component from the input array. More... | |
| fftw_complex * | convolute (const struct myarr array, fftw_complex *filterFFT) |
| @ frequency domain. More... | |
| fftw_complex * | crosscor (size_t ArrayLength, fftw_complex *array, fftw_complex *ref) |
| Perform cross-correlation between the input array and the reference array in the frequency domain. More... | |
| int | getshift (const struct myarr xarr, const struct myarr yarr) |
| Get the shift between the two input arrays. More... | |
| size_t | fftfit (const struct myarr input, int *total, const int *base, double *corvalue, fftw_complex *filterFFT, int verb, double *subpos) |
| @ shift. More... | |
| void | rescale (int *total, size_t ArrayLength) |
| Rescale the input array to fit within the range of a 16-bit signed integer. More... | |
| size_t | getmaxfftw (fftw_complex *array, size_t ArrayLength) |
| @ frequency domain. More... | |
| void | writefftw (fftw_complex *arr, size_t ArrayLength, const char *file) |
| Write the given array in the frequency domain to a file. More... | |
| void | normalise (size_t ArrayLength, fftw_complex *inData) |
| Normalise the input array in the frequency domain. More... | |