HoughMap.c File Reference

Subroutines for initialization and construction of Hough-map derivatives and total Hough-maps. More...

#include <lal/HoughMap.h>

Include dependency graph for HoughMap.c:

Go to the source code of this file.

Functions

 NRCSID (HOUGHMAPC,"$Id: HoughMap.c,v 1.12 2008/01/30 22:56:13 bema Exp $")
void LALHOUGHInitializeHD (LALStatus *status, HOUGHMapDeriv *hd)
void LALHOUGHInitializeHT (LALStatus *status, HOUGHMapTotal *ht, HOUGHPatchGrid *patch)
void LALHOUGHAddPHMD2HD (LALStatus *status, HOUGHMapDeriv *hd, HOUGHphmd *phmd)
 Adds a hough map derivative into a total hough map derivative WITHOUT taking into account the weight of the partial hough map.
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.
void LALHOUGHIntegrHD2HT (LALStatus *status, HOUGHMapTotal *ht, HOUGHMapDeriv *hd)
void LALStereo2SkyLocation (LALStatus *status, REAL8UnitPolarCoor *sourceLocation, UINT2 xPos, UINT2 yPos, HOUGHPatchGrid *patch, HOUGHDemodPar *parDem)
 Find source sky location given stereographic coordinates indexes.


Detailed Description

Subroutines for initialization and construction of Hough-map derivatives and total Hough-maps.

Author:
Sintes, A.M.,
Revision:
Id
HoughMap.c,v 1.12 2008/01/30 22:56:13 bema Exp

History: Created by Sintes June 22, 2001 Modified " August 6, 2001

Description
The function LALHOUGHInitializeHD() initializes the Hough map derivative space HOUGHMapDeriv *hd to zero. Note that the length of the map hd->map should be hd->ySide * (hd->xSide + 1).

The function LALHOUGHInitializeHT() 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.

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. It takes into account corrections due to border effects as well.

The function LALHOUGHIntegrHD2HT() constructs a total Hough map HOUGHMapTotal *ht from its derivative HOUGHMapDeriv *hd by integrating each row (x-direction).

Definition in file HoughMap.c.


Function Documentation

NRCSID ( HOUGHMAPC  ,
"$Id: HoughMap.  c,
v 1.12 2008/01/30 22:56:13 bema Exp $"   
)

void LALHOUGHInitializeHD ( LALStatus status,
HOUGHMapDeriv hd 
)

Definition at line 132 of file HoughMap.c.

void LALHOUGHInitializeHT ( LALStatus status,
HOUGHMapTotal ht,
HOUGHPatchGrid patch 
)

Definition at line 170 of file HoughMap.c.

void LALHOUGHAddPHMD2HD ( LALStatus status,
HOUGHMapDeriv hd,
HOUGHphmd phmd 
)

Adds a hough map derivative into a total hough map derivative WITHOUT taking into account the weight of the partial hough map.

Parameters:
status  the status pointer
hd  the Hough map derivative
phmd  info from a partial map

Definition at line 214 of file HoughMap.c.

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.

Parameters:
status  the status pointer
hd  the Hough map derivative
phmd  info from a partial map

Definition at line 322 of file HoughMap.c.

void LALHOUGHIntegrHD2HT ( LALStatus status,
HOUGHMapTotal ht,
HOUGHMapDeriv hd 
)

Definition at line 443 of file HoughMap.c.

void LALStereo2SkyLocation ( LALStatus status,
REAL8UnitPolarCoor sourceLocation,
UINT2  xPos,
UINT2  yPos,
HOUGHPatchGrid patch,
HOUGHDemodPar parDem 
)

Find source sky location given stereographic coordinates indexes.

Definition at line 497 of file HoughMap.c.


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