view swig/python/xtract.i @ 98:ca40a0dc29d6

Removed fftw_plan from xtraction functions. Created new init function xtract_init_fft() for creating plans, which have global scope. Updated examples to reflect the change. New configure option: --with-fft_optimisation (0 = FFTW_ESTIMATE, 1 = FFTW_MEASURE, 2 = FFTW_PATIENT).
author Jamie Bullock <jamie@postlude.co.uk>
date Sat, 06 Oct 2007 16:36:00 +0000
parents 525bfdf936c6
children
line wrap: on
line source
%module xtract
%include carrays.i 
%include typemaps.i

%{
#include "xtract/xtract_scalar.h"
%}

%array_functions(float, floatArray); 
%apply float *OUTPUT { float *result };

%include "xtract/xtract_scalar.h"