LALBurst 2.0.7.1-eeff03c
SnglBurstUtils.h
Go to the documentation of this file.
1/*
2* This program is free software; you can redistribute it and/or modify
3* it under the terms of the GNU General Public License as published by
4* the Free Software Foundation; either version 2 of the License, or
5* (at your option) any later version.
6*
7* This program is distributed in the hope that it will be useful,
8* but WITHOUT ANY WARRANTY; without even the implied warranty of
9* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10* GNU General Public License for more details.
11*
12* You should have received a copy of the GNU General Public License
13* along with with program; see the file COPYING. If not, write to the
14* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
15* MA 02110-1301 USA
16*/
17
18#ifndef _LIGOMETADATABURSTUTILS_H
19#define _LIGOMETADATABURSTUTILS_H
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#include <lal/LIGOMetadataTables.h>
26
27/*
28 *
29 * burst specific functions
30 *
31 */
32
33int
35 SnglBurst *head
36);
37
38SnglBurst **
40 SnglBurst **head,
41 int (*comparefunc)(const SnglBurst * const *, const SnglBurst * const *)
42);
43
44int
46 const SnglBurst * const *a,
47 const SnglBurst * const *b
48);
49
50#ifdef __cplusplus
51}
52#endif
53
54#endif /* _LIGOMETADATABURSTUTILS_H */
int XLALSnglBurstTableLength(SnglBurst *head)
Compute the length of a linked list of SnglBurst objects.
int XLALCompareSnglBurstByPeakTimeAndSNR(const SnglBurst *const *a, const SnglBurst *const *b)
Compare the peak times and SNRs of two SnglBurst events.
SnglBurst ** XLALSortSnglBurst(SnglBurst **head, int(*comparefunc)(const SnglBurst *const *, const SnglBurst *const *))
Sort a list of SnglBurst events into increasing order according to the supplied comparison function.
static const INT4 a