BlockRho.h

Go to the documentation of this file.
00001 /*
00002 *  Copyright (C) 2007 Jolien Creighton, Matt Tibbits
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 /****************** <lalVerbatim file="BlockRhoHV">
00021 Author: Tibbits, M. M.
00022 $Id: BlockRho.h,v 1.5 2007/06/08 14:41:42 bema Exp $
00023 ********************************* </lalVerbatim> */
00024 
00025 /******************************* <lalLaTeX file="BlockRhoH">
00026 \section{Header \texttt{BlockRho.h}}
00027 \label{s:BlockRho.h}
00028 
00029 Provides structures and definitions global to the Rho algorithms,
00030 notably \texttt{BlockSearchParams}.
00031 
00032 \subsection*{Error conditions}
00033 
00034 \input{BlockRhoHErrTab}
00035 
00036 \subsection*{Structures and Unions}
00037 
00038 *************************************************** </lalLaTeX> */
00039 
00040 #ifndef _BLOCK_RHO_H_
00041 #define _BLOCK_RHO_H_
00042 
00043 #include <math.h>
00044 #include <lal/LALRCSID.h>
00045 #include <lal/LALStdlib.h>
00046 #include <lal/AVFactories.h>
00047 #include <lal/SeqFactories.h>
00048 #include <lal/LALConstants.h>
00049 #include <lal/LALMoment.h>
00050 #include <lal/Comm.h>
00051 #include <lal/Matrix.h>
00052 
00053 /* C++ protection */
00054 #ifdef  __cplusplus
00055 extern "C" {
00056 #endif
00057 
00058 NRCSID( BLOCKRHOH, "$Id: BlockRho.h,v 1.5 2007/06/08 14:41:42 bema Exp $");
00059 
00060 
00061 /******** <lalErrTable file="BlockRhoHErrTab"> ********/
00062 #define BLOCKRHOH_ENULL 1
00063 #define BLOCKRHOH_ENNUL 2
00064 #define BLOCKRHOH_EALOC 3
00065 #define BLOCKRHOH_ENUMZ 4
00066 #define BLOCKRHOH_EARG  5
00067 #define BLOCKRHOH_EDATA 6
00068 
00069 #define BLOCKRHOH_MSGENULL "Null pointer"
00070 #define BLOCKRHOH_MSGENNUL "Non-null pointer"
00071 #define BLOCKRHOH_MSGEALOC "Memory allocation error"
00072 #define BLOCKRHOH_MSGENUMZ "Data segment length is zero"
00073 #define BLOCKRHOH_MSGEARG  "Error parsing command-line arguments"
00074 #define BLOCKRHOH_MSGEDATA "Too few input data points to define a Rho statistic"
00075 
00076 /******** </lalErrTable> ********/
00077 
00078 void LALBlockRho2 (
00079  LALStatus              *status,
00080  REAL8                  *result,
00081  REAL8                  *rpeak,
00082  INT4                   *myindex,
00083  REAL8Sequence          *data,
00084  UINT4                  *marginOfExclusion                      
00085 );
00086 
00087 void LALBlockRho3 (
00088  LALStatus               *status,
00089  REAL8                   *result,
00090  REAL8                   *rpeak,
00091  INT4                    *myindex,
00092  REAL8Sequence           *data
00093 );
00094 
00095 
00096 /* C++ protection */
00097 #ifdef  __cplusplus
00098 }
00099 #endif
00100 
00101 /******************************* <lalLaTeX file="BlockRhoH">
00102   \vfill{\footnotesize\input{BlockRhoHV}}
00103   \newpage\input{BlockRho2C}
00104   %\newpage\input{BlockRho3C}
00105 *************************************************** </lalLaTeX> */
00106 
00107 #endif /* _BLOCK_RHO_H_ */

Generated on Sat Sep 6 03:06:38 2008 for LAL by  doxygen 1.5.2