59 #include <lal/LALStdlib.h>
60 #include <lal/LALConstants.h>
61 #include <lal/AVFactories.h>
62 #include <lal/SeqFactories.h>
65 # include <lal/PHMD.h>
75 #define HOUGHMAPH_ENULL 1
76 #define HOUGHMAPH_ESIZE 2
77 #define HOUGHMAPH_ESZMM 4
78 #define HOUGHMAPH_EINT 6
79 #define HOUGHMAPH_ESAME 8
80 #define HOUGHMAPH_EFREQ 10
81 #define HOUGHMAPH_EVAL 12
83 #define HOUGHMAPH_MSGENULL "Null pointer"
84 #define HOUGHMAPH_MSGESIZE "Invalid input size"
85 #define HOUGHMAPH_MSGESZMM "Size mismatch"
86 #define HOUGHMAPH_MSGEINT "Invalid interval"
87 #define HOUGHMAPH_MSGESAME "Input/Output data vectors are the same"
88 #define HOUGHMAPH_MSGEFREQ "Invalid frequency"
89 #define HOUGHMAPH_MSGEVAL "Invalid value"
121 typedef struct tagHOUGHMapDeriv{
130 typedef struct tagHOUGHMapTotal{
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 p...
void LALStereo2SkyLocation(LALStatus *status, REAL8UnitPolarCoor *sourceLocation, UINT2 xPos, UINT2 yPos, HOUGHPatchGrid *patch, HOUGHDemodPar *parDem)
Find source sky location given stereographic coordinates indexes.
void LALHOUGHInitializeHD(LALStatus *status, HOUGHMapDeriv *hd)
This function initializes the Hough map derivative space HOUGHMapDeriv *hd to zero.
REAL8 HoughTT
Total Hough Map pixel type.
void LALHOUGHAddPHMD2HD(LALStatus *status, HOUGHMapDeriv *hd, HOUGHphmd *phmd)
Given an initial Hough map derivative HOUGHMapDeriv *hd and a representation of a phmd HOUGHphmd *phm...
void LALHOUGHIntegrHD2HT(LALStatus *status, HOUGHMapTotal *ht, HOUGHMapDeriv *hd)
This function constructs a total Hough map HOUGHMapTotal *ht from its derivative HOUGHMapDeriv *hd by...
void LALHOUGHInitializeHT(LALStatus *status, HOUGHMapTotal *ht, HOUGHPatchGrid *patch)
This function initializes the total Hough map HOUGHMapTotal *ht to zero and checks consistency betwee...
REAL8 HoughDT
Hough Map derivative pixel type.
Demodulation parameters needed for the Hough transform; all coordinates are assumed to be with respec...
This structure stores the Hough map derivative.
UINT2 ySide
number of physical pixels in the y direction
UINT2 xSide
number of physical pixels in the x direction
HoughDT * map
the pixel count derivatives; the number of elements to allocate is ySide*(xSide+1)*
This structure stores the Hough map.
UINT2 ySide
number of physical pixels in the y direction
UINT2 xSide
number of physical pixels in the x direction
HoughTT * map
the pixel counts; the number of elements to allocate is ySide*xSide
REAL8Vector dFdot
resolution in spindown parameters
REAL8Vector spinRes
Refined spin parameters used in the Hough transform.
REAL8UnitPolarCoor skyPatch
Coordinates of the versor (alpha, delta) pointing to the center of the sky patch.
INT8 f0Bin
frequency bin for which it has been constructed
UINT4 mObsCoh
ratio of observation time and coherent timescale
REAL8 patchSizeX
x size of patch
UINT4 nPG
number of peakgrams used <= mObsCoh; there could be gaps during the observation time
REAL8 deltaF
frequency resolution
REAL8 patchSizeY
y size of patch
REAL8Vector spinDem
Spin parameters used in the demodulation stage.
This structure stores patch-frequency grid information.
This structure stores a partial Hough map derivative.
Polar coordinates of a unitary vector on the sphere.