SINFONI Pipeline Reference Manual  2.6.0
irplib_match_cats.h
1 /* $Id: irplib_match_cats.h,v 1.5 2009-12-18 10:44:48 cgarcia Exp $
2  *
3  * This file is part of the irplib package
4  * Copyright (C) 2002,2003 European Southern Observatory
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
19  */
20 
21 /*
22  * $Author: cgarcia $
23  * $Date: 2009-12-18 10:44:48 $
24  * $Revision: 1.5 $
25  * $Name: not supported by cvs2svn $
26  */
27 
28 #ifndef IRPLIB_MATCH_CATS_H
29 #define IRPLIB_MATCH_CATS_H
30 
31 /*-----------------------------------------------------------------------------
32  Includes
33  -----------------------------------------------------------------------------*/
34 
35 #include <cpl.h>
36 
37 cpl_table * irplib_match_cat_pairs
38 (cpl_table ** catalogues,
39  int nCats,
40  int (*binary_match_condition)
41  (cpl_table * catalogue1,
42  cpl_table * catalogue2,
43  int iobj1,
44  int iobj2) );
45 
46 #endif
cpl_table * irplib_match_cat_pairs(cpl_table **catalogues, int nCats, int(*binary_match_condition)(cpl_table *catalogue1, cpl_table *catalogue2, intiobj1, intiobj2))
Finds all the objects that appear at least in some of the catalogues.