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 MERGE_H 00008 #define MERGE_H 00009 //----------------------------------------------------------------------------- 00016 int create_merge_table(char* workpath, 00017 char* out, 00018 int* fileno, 00019 int numsets); 00020 //----------------------------------------------------------------------------- 00021 #endif 00022 //----------------------------------------------------------------------------- 00023 // Change log: 00024 // 00025 // 18-Aug-2004, NCH: Modified to output only those records not already 00026 // output as part of a previous merged source when 00027 // cycling through the passband set; bug fixes of various 00028 // algorithmic problems and associated memory leaks. 00029 // 14-Mar-2005, NCH: Modified to return the number of merged records in the 00030 // merge table to the calling routine. 00031 // 16-Mar-2005, NCH: Modified to always write out the merged table record, 00032 // regardless of whether pairs are matched (e.g. to get 00033 // single passband detections in all passbands copied 00034 // through into source). 00035 // 8-Nov-2005, RSC: * Moved implementation from merge.h to merge.c 00036 // * Separated out implementation into the new function 00037 // create_merge_table() 00038 // * Moved merge() Python interface into pairing.h