LALPulsar  6.1.0.1-fe68b98
LUT.h File Reference

Prototypes

void LALHOUGHComputeSizePar (LALStatus *status, HOUGHSizePar *out, HOUGHResolutionPar *in)
 
void LALHOUGHComputeNDSizePar (LALStatus *status, HOUGHSizePar *out, HOUGHResolutionPar *in)
 
void LALHOUGHFillPatchGrid (LALStatus *status, HOUGHPatchGrid *out, HOUGHSizePar *par)
 
void LALHOUGHCalcParamPLUT (LALStatus *status, HOUGHParamPLUT *out, HOUGHSizePar *sizePar, HOUGHDemodPar *par)
 
void LALNDHOUGHParamPLUT (LALStatus *status, HOUGHParamPLUT *out, HOUGHSizePar *sizePar, HOUGHDemodPar *par)
 
void LALRotatePolarU (LALStatus *status, REAL8UnitPolarCoor *out, REAL8UnitPolarCoor *in, REAL8UnitPolarCoor *par)
 
void LALInvRotatePolarU (LALStatus *status, REAL8UnitPolarCoor *out, REAL8UnitPolarCoor *in, REAL8UnitPolarCoor *par)
 
void LALStereoProjectPolar (LALStatus *status, REAL8Polar2Coor *out, REAL8UnitPolarCoor *in)
 
void LALStereoProjectCart (LALStatus *status, REAL8Cart2Coor *out, REAL8UnitPolarCoor *in)
 
void LALStereoInvProjectPolar (LALStatus *status, REAL8UnitPolarCoor *out, REAL8Polar2Coor *in)
 
void LALStereoInvProjectCart (LALStatus *status, REAL8UnitPolarCoor *out, REAL8Cart2Coor *in)
 
void LALHOUGHConstructPLUT (LALStatus *status, HOUGHptfLUT *lut, HOUGHPatchGrid *patch, HOUGHParamPLUT *par)
 

Go to the source code of this file.

Data Structures

struct  HOUGHBorder
 This structure stores the border of a circle clipped on the projected plane. More...
 
struct  HOUGHBin2Border
 This structure stores the border indexes corresponding to one frequency bin plus the corrections to be added to the first column of the patch. More...
 
struct  HOUGHptfLUT
 This structure stores the patch-time-frequency look up table. More...
 
struct  HOUGHPatchGrid
 This structure stores patch-frequency grid information. More...
 
struct  HOUGHResolutionPar
 parameters needed for gridding the patch More...
 
struct  HOUGHSizePar
 required for constructing patch More...
 
struct  REAL8Cart3Coor
 Three dimensional Cartessian coordinates. More...
 
struct  REAL8Cart2Coor
 Two dimensional Cartessian coordinates. More...
 
struct  REAL8Polar2Coor
 Two dimensional polar coordinates. More...
 
struct  REAL8UnitPolarCoor
 Polar coordinates of a unitary vector on the sphere. More...
 
struct  HOUGHParamPLUT
 Parameters needed to construct the partial look up table. More...
 
struct  HOUGHDemodPar
 Demodulation parameters needed for the Hough transform; all coordinates are assumed to be with respect to the same reference system. More...
 

Macros

#define MAX(A, B)   (((A) < (B)) ? (B) : (A))
 
#define MIN(A, B)   (((A) < (B)) ? (A) : (B))
 
#define cot(A)   (1./tan(A))
 
Error Codes
#define LUTH_ENULL   1
 
#define LUTH_ESIZE   2
 
#define LUTH_ESZMM   4
 
#define LUTH_EINT   6
 
#define LUTH_ESAME   8
 
#define LUTH_EFREQ   10
 
#define LUTH_EVAL   12
 
#define LUTH_MSGENULL   "Null pointer"
 
#define LUTH_MSGESIZE   "Invalid input size"
 
#define LUTH_MSGESZMM   "Size mismatch"
 
#define LUTH_MSGEINT   "Invalid interval"
 
#define LUTH_MSGESAME   "Input/Output data vectors are the same"
 
#define LUTH_MSGEFREQ   "Invalid frequency"
 
#define LUTH_MSGEVAL   "Invalid value"
 
Constant declarations
#define LINERR   0.001
 Maximum `‘error’' (as a fraction of the width of the thinnest annulus) which allows to represent a circle by a line. More...
 
#define PIXERR   0.5
 Maximum `‘error’' (as a fraction of the width of the thinnest annulus) which allows to consider two border equivalents! It is relevant for determining the LUT frequency range validity. More...
 
#define VEPI   LAL_TWOPI * LAL_REARTH_SI / ( LAL_DAYSID_SI * LAL_C_SI )
 Earth v_epicycle/c TO BE CHANGED DEPENDING ON DETECTOR. More...
 
#define VTOT   LAL_TWOPI * LAL_AU_SI / ( LAL_YRSID_SI * LAL_C_SI )
 Total detector velocity/c TO BE CHANGED DEPENDING ON DETECTOR. More...
 

Typedefs

typedef INT2 COORType
 To be changed to {INT2 COORType} if the number of pixels in the x-direction exceeds 255. More...