// -*- C -*-
/*
 */
%module poisSwig

%{
#include "pois.h"
%}

%include "p_psSwig.i"
%import "psLibSwig.i"

EXPORT_TYPE(poisConfig);
EXPORT_TYPE(poisStamp);
EXPORT_TYPE(poisKernelBasis);
NEWOBJECT(poisKernelBasisFunctions);
NEWOBJECT(poisMakeMask);
NEWOBJECT(poisFindStamps);
NEWOBJECT(poisExtractKernel);
NEWOBJECT(poisConvolveImage);
NEWOBJECT(poisCalculateDeviations);
NEWOBJECT(poisSolveEquation);
%newobject poisRejectStamps;
NEWOBJECT(poisImageSetVal);
NEWOBJECT(poisImageSetValInMask);

TYPE_INOUT(psArray *, stampsIO);
TYPE_INOUT(psImage *, IO);
TYPE_INOUT(psVector *, solutionIO)
%include "pois.h"
CLEAR_TYPE_INOUT(psArray *, stampsIO);
CLEAR_TYPE_INOUT(psImage *, IO);
CLEAR_TYPE_INOUT(psVector *, solutionIO)
