LALPulsar 7.1.1.1-eeff03c

Header for CW cross-correlation search. More...

Prototypes

void SetUpRadiometerSkyPatches (LALStatus *status, SkyPatchesInfo *out, CHAR *skyFileName, CHAR *skyRegion, REAL8 dAlpha, REAL8 dDelta)
 Set up location of skypatch centers and sizes If user specified skyRegion then use DopplerScan function to construct an isotropic grid. More...
 
void InitDoppParams (LALStatus *status, REAL8Vector *fdots, PulsarDopplerParams *thisPoint, LIGOTimeGPS refTime, REAL8 f_current, REAL8 q1_current, REAL8 q2_current, REAL8 n_current, REAL8 fdot_current, REAL8 fddot_current)
 
void GetBeamInfo (LALStatus *status, CrossCorrBeamFnListElement *beamHead, SFTListElement *sftHead, REAL8ListElement *freqHead, REAL8ListElement *phaseHead, SkyPosition skypos, EphemerisData *edat, PulsarDopplerParams *thisPoint)
 
void CalculateFdots (LALStatus *status, REAL8Vector *fdots, REAL8 f0, REAL8 q1, REAL8 q2, REAL8 n)
 
void CopySFTFromCatalog (LALStatus *status, SFTCatalog *catalog, SFTVector **sft, REAL8 fMin, REAL8 fMax, INT4 sftindex)
 
void AddSFTtoList (LALStatus *status, SFTListElement **sftHead, SFTListElement **sftTail, SFTtype *sft)
 
void AddPSDtoList (LALStatus *status, PSDListElement **psdHead, PSDListElement **psdTail, INT4 length)
 
void AddREAL8toList (LALStatus *status, REAL8ListElement **head, REAL8ListElement **tail)
 
void AddBeamFntoList (LALStatus *status, CrossCorrBeamFnListElement **beamHead, CrossCorrBeamFnListElement **beamTail)
 
void DeleteSFTHead (LALStatus *status, SFTListElement **sftHead)
 
void DeletePSDHead (LALStatus *status, PSDListElement **psdHead)
 
void DeleteREAL8Head (LALStatus *status, REAL8ListElement **head)
 
void DeleteBeamFnHead (LALStatus *status, CrossCorrBeamFnListElement **beamHead)
 

Detailed Description

Header for CW cross-correlation search.

Author
Christine Chung, Badri Krishnan, John Whelan
Date
2008

Definition in file pulsar_crosscorr.h.

Go to the source code of this file.

Macros

#define PULSAR_CROSSCORR_ENORM   0
 
#define PULSAR_CROSSCORR_ESUB   1
 
#define PULSAR_CROSSCORR_EARG   2
 
#define PULSAR_CROSSCORR_EBAD   3
 
#define PULSAR_CROSSCORR_EFILE   4
 
#define PULSAR_CROSSCORR_EDIR   5
 
#define PULSAR_CROSSCORR_ENULL   6
 
#define PULSAR_CROSSCORR_ENONULL   7
 
#define PULSAR_CROSSCORR_EVAL   8
 
#define PULSAR_CROSSCORR_EMEM   9
 
#define PULSAR_CROSSCORR_MSGENORM   "Normal exit"
 
#define PULSAR_CROSSCORR_MSGESUB   "Subroutine failed"
 
#define PULSAR_CROSSCORR_MSGEARG   "Error parsing arguments"
 
#define PULSAR_CROSSCORR_MSGEBAD   "Bad argument values"
 
#define PULSAR_CROSSCORR_MSGEFILE   "Could not create output file"
 
#define PULSAR_CROSSCORR_MSGEDIR   "Could not create directory"
 
#define PULSAR_CROSSCORR_MSGENULL   "Null pointer"
 
#define PULSAR_CROSSCORR_MSGENONULL   "Non-null pointer"
 
#define PULSAR_CROSSCORR_MSGEVAL   "Invalid value"
 
#define PULSAR_CROSSCORR_MSGEMEM   "Out of memory"
 
#define PIXELFACTOR   2
 

Macro Definition Documentation

◆ PULSAR_CROSSCORR_ENORM

#define PULSAR_CROSSCORR_ENORM   0

Definition at line 91 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_ESUB

#define PULSAR_CROSSCORR_ESUB   1

Definition at line 92 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_EARG

#define PULSAR_CROSSCORR_EARG   2

Definition at line 93 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_EBAD

#define PULSAR_CROSSCORR_EBAD   3

Definition at line 94 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_EFILE

#define PULSAR_CROSSCORR_EFILE   4

Definition at line 95 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_EDIR

#define PULSAR_CROSSCORR_EDIR   5

Definition at line 96 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_ENULL

#define PULSAR_CROSSCORR_ENULL   6

Definition at line 97 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_ENONULL

#define PULSAR_CROSSCORR_ENONULL   7

Definition at line 98 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_EVAL

#define PULSAR_CROSSCORR_EVAL   8

Definition at line 99 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_EMEM

#define PULSAR_CROSSCORR_EMEM   9

Definition at line 100 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_MSGENORM

#define PULSAR_CROSSCORR_MSGENORM   "Normal exit"

Definition at line 102 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_MSGESUB

#define PULSAR_CROSSCORR_MSGESUB   "Subroutine failed"

Definition at line 103 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_MSGEARG

#define PULSAR_CROSSCORR_MSGEARG   "Error parsing arguments"

Definition at line 104 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_MSGEBAD

#define PULSAR_CROSSCORR_MSGEBAD   "Bad argument values"

Definition at line 105 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_MSGEFILE

#define PULSAR_CROSSCORR_MSGEFILE   "Could not create output file"

Definition at line 106 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_MSGEDIR

#define PULSAR_CROSSCORR_MSGEDIR   "Could not create directory"

Definition at line 107 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_MSGENULL

#define PULSAR_CROSSCORR_MSGENULL   "Null pointer"

Definition at line 108 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_MSGENONULL

#define PULSAR_CROSSCORR_MSGENONULL   "Non-null pointer"

Definition at line 109 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_MSGEVAL

#define PULSAR_CROSSCORR_MSGEVAL   "Invalid value"

Definition at line 110 of file pulsar_crosscorr.h.

◆ PULSAR_CROSSCORR_MSGEMEM

#define PULSAR_CROSSCORR_MSGEMEM   "Out of memory"

Definition at line 111 of file pulsar_crosscorr.h.

◆ PIXELFACTOR

#define PIXELFACTOR   2

Definition at line 113 of file pulsar_crosscorr.h.

Function Documentation

◆ SetUpRadiometerSkyPatches()

void SetUpRadiometerSkyPatches ( LALStatus status,
SkyPatchesInfo out,
CHAR skyFileName,
CHAR skyRegion,
REAL8  dAlpha,
REAL8  dDelta 
)

Set up location of skypatch centers and sizes If user specified skyRegion then use DopplerScan function to construct an isotropic grid.

Otherwise use skypatch file.

Parameters
statuspointer to LALStatus structure
outoutput skypatches info
skyFileNamename of skypatch file
skyRegionskyregion (if isotropic grid is to be constructed)
dAlphaalpha resolution (if isotropic grid is to be constructed)
dDeltadelta resolution (if isotropic grid is to be constructed)

Definition at line 1124 of file pulsar_crosscorr.c.

◆ InitDoppParams()

void InitDoppParams ( LALStatus status,
REAL8Vector fdots,
PulsarDopplerParams thisPoint,
LIGOTimeGPS  refTime,
REAL8  f_current,
REAL8  q1_current,
REAL8  q2_current,
REAL8  n_current,
REAL8  fdot_current,
REAL8  fddot_current 
)

Definition at line 1238 of file pulsar_crosscorr.c.

◆ GetBeamInfo()

void GetBeamInfo ( LALStatus status,
CrossCorrBeamFnListElement beamHead,
SFTListElement sftHead,
REAL8ListElement freqHead,
REAL8ListElement phaseHead,
SkyPosition  skypos,
EphemerisData edat,
PulsarDopplerParams thisPoint 
)

Definition at line 1290 of file pulsar_crosscorr.c.

◆ CalculateFdots()

void CalculateFdots ( LALStatus status,
REAL8Vector fdots,
REAL8  f0,
REAL8  q1,
REAL8  q2,
REAL8  n 
)

Definition at line 1652 of file pulsar_crosscorr.c.

◆ CopySFTFromCatalog()

void CopySFTFromCatalog ( LALStatus status,
SFTCatalog catalog,
SFTVector **  sft,
REAL8  fMin,
REAL8  fMax,
INT4  sftindex 
)

Definition at line 1401 of file pulsar_crosscorr.c.

◆ AddSFTtoList()

void AddSFTtoList ( LALStatus status,
SFTListElement **  sftHead,
SFTListElement **  sftTail,
SFTtype sft 
)

Definition at line 1452 of file pulsar_crosscorr.c.

◆ AddPSDtoList()

void AddPSDtoList ( LALStatus status,
PSDListElement **  psdHead,
PSDListElement **  psdTail,
INT4  length 
)

Definition at line 1483 of file pulsar_crosscorr.c.

◆ AddREAL8toList()

void AddREAL8toList ( LALStatus status,
REAL8ListElement **  head,
REAL8ListElement **  tail 
)

Definition at line 1510 of file pulsar_crosscorr.c.

◆ AddBeamFntoList()

void AddBeamFntoList ( LALStatus status,
CrossCorrBeamFnListElement **  beamHead,
CrossCorrBeamFnListElement **  beamTail 
)

Definition at line 1537 of file pulsar_crosscorr.c.

◆ DeleteSFTHead()

void DeleteSFTHead ( LALStatus status,
SFTListElement **  sftHead 
)

Definition at line 1565 of file pulsar_crosscorr.c.

◆ DeletePSDHead()

void DeletePSDHead ( LALStatus status,
PSDListElement **  psdHead 
)

Definition at line 1588 of file pulsar_crosscorr.c.

◆ DeleteREAL8Head()

void DeleteREAL8Head ( LALStatus status,
REAL8ListElement **  head 
)

Definition at line 1609 of file pulsar_crosscorr.c.

◆ DeleteBeamFnHead()

void DeleteBeamFnHead ( LALStatus status,
CrossCorrBeamFnListElement **  beamHead 
)

Definition at line 1631 of file pulsar_crosscorr.c.