LALPulsar  6.1.0.1-c9a8ef6
HoughMap.h File Reference

Prototypes

void LALHOUGHInitializeHD (LALStatus *status, HOUGHMapDeriv *hd)
 This function initializes the Hough map derivative space HOUGHMapDeriv *hd to zero. More...
 
void LALHOUGHAddPHMD2HD (LALStatus *status, HOUGHMapDeriv *hd, HOUGHphmd *phmd)
 Given an initial Hough map derivative HOUGHMapDeriv *hd and a representation of a phmd HOUGHphmd *phmd, the function LALHOUGHAddPHMD2HD() accumulates the partial Hough map derivative *phmd to *hd by adding +1 or -1 to the pixels corresponding to the left or right borders respectively. More...
 
void LALHOUGHAddPHMD2HD_W (LALStatus *status, HOUGHMapDeriv *hd, HOUGHphmd *phmd)
 Adds a hough map derivative into a total hough map derivative taking into account the weight of the partial hough map. More...
 
void LALHOUGHIntegrHD2HT (LALStatus *status, HOUGHMapTotal *ht, HOUGHMapDeriv *hd)
 This function constructs a total Hough map HOUGHMapTotal *ht from its derivative HOUGHMapDeriv *hd by integrating each row (x-direction). More...
 
void LALHOUGHInitializeHT (LALStatus *status, HOUGHMapTotal *ht, HOUGHPatchGrid *patch)
 This function initializes the total Hough map HOUGHMapTotal *ht to zero and checks consistency between the number of physical pixels in the map and those given by the grid information structure HOUGHPatchGrid *patch. More...
 
void LALStereo2SkyLocation (LALStatus *status, REAL8UnitPolarCoor *sourceLocation, UINT2 xPos, UINT2 yPos, HOUGHPatchGrid *patch, HOUGHDemodPar *parDem)
 Find source sky location given stereographic coordinates indexes. More...
 

Go to the source code of this file.

Data Structures

struct  HOUGHMapDeriv
 This structure stores the Hough map derivative. More...
 
struct  HOUGHMapTotal
 This structure stores the Hough map. More...
 

Macros

Error Codes
#define HOUGHMAPH_ENULL   1
 
#define HOUGHMAPH_ESIZE   2
 
#define HOUGHMAPH_ESZMM   4
 
#define HOUGHMAPH_EINT   6
 
#define HOUGHMAPH_ESAME   8
 
#define HOUGHMAPH_EFREQ   10
 
#define HOUGHMAPH_EVAL   12
 
#define HOUGHMAPH_MSGENULL   "Null pointer"
 
#define HOUGHMAPH_MSGESIZE   "Invalid input size"
 
#define HOUGHMAPH_MSGESZMM   "Size mismatch"
 
#define HOUGHMAPH_MSGEINT   "Invalid interval"
 
#define HOUGHMAPH_MSGESAME   "Input/Output data vectors are the same"
 
#define HOUGHMAPH_MSGEFREQ   "Invalid frequency"
 
#define HOUGHMAPH_MSGEVAL   "Invalid value"
 

Typedefs

typedef REAL8 HoughTT
 Total Hough Map pixel type. More...