00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
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
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
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
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
00097 #ifdef __cplusplus
00098 }
00099 #endif
00100
00101
00102
00103
00104
00105
00106
00107 #endif