candidates.h

Go to the documentation of this file.
00001 /*
00002 *  Copyright (C) 2007 Vladimir Dergachev
00003 *
00004 *  This program is free software; you can redistribute it and/or modify
00005 *  it under the terms of the GNU General Public License as published by
00006 *  the Free Software Foundation; either version 2 of the License, or
00007 *  (at your option) any later version.
00008 *
00009 *  This program is distributed in the hope that it will be useful,
00010 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 *  GNU General Public License for more details.
00013 *
00014 *  You should have received a copy of the GNU General Public License
00015 *  along with with program; see the file COPYING. If not, write to the
00016 *  Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00017 *  MA  02111-1307  USA
00018 */
00019 
00020 #ifndef __CANDIDATES_H__
00021 #define __CANDIDATES_H__
00022 
00023 typedef struct {
00024         int better_candidate;
00025                 
00026         int max_dx_polarization_index;
00027         
00028         int rank;
00029         int opt_rank;
00030         float score;
00031         int point_index;
00032         int domain_size;
00033         float ul;
00034         float S_band;
00035         float M_band;
00036         float max_dx;
00037         double frequency;
00038         float ra;
00039         float dec;
00040         float spindown;
00041         float psi;
00042         float iota;
00043         float weight_ratio;
00044         int skyband;
00045         float coherence_score;
00046         float chi_sq;
00047         float power_cor;
00048         float snr;
00049         float strain;
00050         float strain_err;
00051         float total_weight;
00052         double f_max;
00053         double ifo_freq;
00054         float ifo_freq_sd;
00055         } CANDIDATE;
00056 
00057 void init_candidates(void);
00058 void identify_candidates(void);
00059 void output_candidates(FILE *fout);
00060 void compute_scores(CANDIDATE *cand, int debug);
00061 void single_pass_compute_matched_snr(CANDIDATE *cand);
00062 void single_pass_compute_simple_snr(CANDIDATE *cand);
00063 
00064 #endif

Generated on Sat Aug 30 03:12:15 2008 for LAL by  doxygen 1.5.2