pairing.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 //-----------------------------------------------------------------------------
00005 // CVS: $Revision: 2123 $, $Date: 2006-04-20 17:37:21 +0100 (Thu, 20 Apr 2006) $, $Author: rsc $
00006 //-----------------------------------------------------------------------------
00007 #ifndef PAIRING_H
00008 #define PAIRING_H
00009 
00010 #include <Python.h>
00011 #include "datatypes.h"
00012 //-----------------------------------------------------------------------------
00013 // Python module
00014 
00016 void initpairing(void);
00017 
00018 //-----------------------------------------------------------------------------
00019 // Python callable interface functions
00020 
00024 static PyObject* multiPair(PyObject* self,
00025                            PyObject* args,
00026                            PyObject* kwds);
00027 
00032 static PyObject* pairOff(PyObject* self,
00033                          PyObject* args,
00034                          PyObject* kwds);
00035 
00037 static PyObject* merge(PyObject* self,
00038                        PyObject* args,
00039                        PyObject* kwds);
00040 
00041 //-----------------------------------------------------------------------------
00042 // Private functions
00043 
00050 int prepare_detections_list(PyObject*      input,
00051                             CartesianSet** cart,
00052                             IndexedList**  dec);
00053 
00066 void create_pointer_files(CartesianSet cart1[], IndexedList dec1[], int nrec1,
00067                           CartesianSet cart2[], IndexedList dec2[], int nrec2,
00068                           double matchradius, char* outfile1, char* outfile2);
00069 //-----------------------------------------------------------------------------
00070 #endif
00071 //-----------------------------------------------------------------------------
00072 // Change log:
00073 //
00074 //  7-Nov-2005,  RSC: Merged multipair.h and pairoff.h into one Python
00075 //                    interface file: pairing.h
00076 //  8-Nov-2005,  RSC: * Moved implementation into source code file, pairing.c
00077 //                    * Duplicate functionality in multiPair and PairOff is now
00078 //                    in separate functions: prepare_detections_list() and
00079 //                    create_pointer_files()
00080 //                    * Python interface function merge() now declared here
Generated on Mon Oct 4 10:39:50 2010 for WsaTools by  doxygen 1.6.3