Header file for DriveHoughFstat.c. More...
Prototypes | |
| void | ComputeFstatHoughMap (LALStatus *status, SemiCohCandidateList *out, HOUGHPeakGramVector *pgV, SemiCoherentParams *params) |
| Function for calculating Hough Maps and candidates. More... | |
| void | LocalComputeFstatHoughMap (LALStatus *status, SemiCohCandidateList *out, HOUGHPeakGramVector *pgV, SemiCoherentParams *params) |
| void | FstatVectToPeakGram (LALStatus *status, HOUGHPeakGramVector *pgV, REAL4FrequencySeriesVector *FstatVect, REAL4 thr) |
| Function for selecting frequency bins from a set of Fstatistic vectors. More... | |
| void | SetUpStacks (LALStatus *status, SFTCatalogSequence *out, REAL8 tStack, SFTCatalog *in, UINT4 nStacks) |
| Breaks up input sft catalog into specified number of stacks Loops over elements of the catalog, assigns a bin index and allocates memory to the output catalog sequence appropriately. More... | |
| void | PrintHmap2file (LALStatus *status, HOUGHMapTotal *ht, CHAR *fnameOut, INT4 iHmap) |
| Print single Hough map to a specified output file. More... | |
| void | GetHoughCandidates_threshold (LALStatus *status, SemiCohCandidateList *out, HOUGHMapTotal *ht, HOUGHPatchGrid *patch, HOUGHDemodPar *parDem, REAL8 threshold) |
| Get Hough candidates as a toplist using a fixed threshold. More... | |
| void | GetHoughCandidates_toplist (LALStatus *status, toplist_t *list, HOUGHMapTotal *ht, HOUGHPatchGrid *patch, HOUGHDemodPar *parDem) |
| Get Hough candidates as a toplist. More... | |
| void | GetFstatCandidates_toplist (LALStatus *status, toplist_t *list, REAL8FrequencySeries *FstatVec, REAL8 alpha, REAL8 delta, REAL8 fdot) |
| void | GetChkPointIndex (LALStatus *status, INT4 *loopindex, const CHAR *fnameChkPoint) |
| Read checkpointing file This does not (yet) check any consistency of the existing results file. More... | |
Header file for DriveHoughFstat.c.
Definition in file HierarchicalSearch.h.
Go to the source code of this file.
Data Structures | |
| struct | SFTCatalogSequence |
| sequence of SFT catalogs – for each segment More... | |
| struct | SemiCoherentParams |
| parameters for the semicoherent stage More... | |
| struct | SemiCohCandidate |
| one hough or stackslide candidate More... | |
| struct | SemiCohCandidateList |
| structure for storing candidates produced by Hough search More... | |
| #define HIERARCHICALSEARCH_ENORM 0 |
Definition at line 84 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_ESUB 1 |
Definition at line 85 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_EARG 2 |
Definition at line 86 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_EBAD 3 |
Definition at line 87 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_EFILE 4 |
Definition at line 88 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_ENULL 5 |
Definition at line 89 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_EVAL 6 |
Definition at line 90 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_ENONULL 7 |
Definition at line 91 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_EDLOPEN 8 |
Definition at line 92 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_EWORKER 9 |
Definition at line 93 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_ECHECKPT 10 |
Definition at line 94 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_EMEM 11 |
Definition at line 95 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_ESFT 12 |
Definition at line 96 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_EXLAL 13 |
Definition at line 97 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_MSGENORM "Normal exit" |
Definition at line 100 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_MSGESUB "Subroutine failed" |
Definition at line 101 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_MSGEARG "Error parsing arguments" |
Definition at line 102 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_MSGEBAD "Bad argument values" |
Definition at line 103 of file HierarchicalSearch.h.
Definition at line 104 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_MSGENULL "Null pointer" |
Definition at line 105 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_MSGEVAL "Invalid value" |
Definition at line 106 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_MSGENONULL "Pointer not null" |
Definition at line 107 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_MSGECHECKPT "Could not resume from checkpoint" |
Definition at line 108 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_MSGEMEM "Out of memory" |
Definition at line 109 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_MSGESFT "SFT validity check failed" |
Definition at line 110 of file HierarchicalSearch.h.
| #define HIERARCHICALSEARCH_MSGEXLAL "XLAL function call failed" |
Definition at line 111 of file HierarchicalSearch.h.
| void ComputeFstatHoughMap | ( | LALStatus * | status, |
| SemiCohCandidateList * | out, | ||
| HOUGHPeakGramVector * | pgV, | ||
| SemiCoherentParams * | params | ||
| ) |
Function for calculating Hough Maps and candidates.
This function takes a peakgram as input. This peakgram was constructed by setting a threshold on a sequence of Fstatistic vectors. The function produces a Hough map in the sky for each value of the frequency and spindown. The Hough nummber counts are then used to select candidates in parameter space to be followed up in a more refined search. This uses DriveHough_v3.c as a prototype suitably modified to work on demodulated data instead of SFTs.
| status | pointer to LALStatus structure |
| out | Candidates from thresholding Hough number counts |
| pgV | HOUGHPeakGramVector obtained after thresholding Fstatistic vectors |
| params | pointer to HoughParams – parameters for calculating Hough maps |
Definition at line 1490 of file HierarchicalSearch.c.
| void LocalComputeFstatHoughMap | ( | LALStatus * | status, |
| SemiCohCandidateList * | out, | ||
| HOUGHPeakGramVector * | pgV, | ||
| SemiCoherentParams * | params | ||
| ) |
Definition at line 114 of file LocalComputeFstatHoughMap.c.
| void FstatVectToPeakGram | ( | LALStatus * | status, |
| HOUGHPeakGramVector * | pgV, | ||
| REAL4FrequencySeriesVector * | FstatVect, | ||
| REAL4 | thr | ||
| ) |
Function for selecting frequency bins from a set of Fstatistic vectors.
Input is a vector of Fstatistic vectors. It allocates memory for the peakgrams based on the frequency span of the Fstatistic vectors and fills tyem up by setting a threshold on the Fstatistic. Peakgram must be deallocated outside the function.
| status | pointer to LALStatus structure |
| pgV | a vector of peakgrams |
| FstatVect | sequence of Fstatistic vectors |
| thr | REAL8 threshold for selecting frequency bins |
Definition at line 2048 of file HierarchicalSearch.c.
| void SetUpStacks | ( | LALStatus * | status, |
| SFTCatalogSequence * | out, | ||
| REAL8 | tStack, | ||
| SFTCatalog * | in, | ||
| UINT4 | nStacksMax | ||
| ) |
Breaks up input sft catalog into specified number of stacks Loops over elements of the catalog, assigns a bin index and allocates memory to the output catalog sequence appropriately.
If there are long gaps in the data, then some of the catalogs in the output catalog sequence may be of zero length.
Breaks up input sft catalog into specified number of stacks Loops over elements of the catalog, assigns a bin index and allocates memory to the output catalog sequence appropriately.
Loops over elements of the catalog, assigns a bin index and allocates memory to the output catalog sequence appropriately. If there are long gaps in the data, then some of the catalogs in the output catalog sequence may be of zero length.
| status | pointer to LALStatus structure |
| out | Output catalog of sfts – one for each stack |
| tStack | Output duration of each stack |
| in | Input sft catalog to be broken up into stacks (ordered in increasing time) |
| nStacksMax | User specified number of stacks |
Definition at line 2390 of file HierarchSearchGCT.c.
| void PrintHmap2file | ( | LALStatus * | status, |
| HOUGHMapTotal * | ht, | ||
| CHAR * | fnameOut, | ||
| INT4 | iHmap | ||
| ) |
Print single Hough map to a specified output file.
Definition at line 2253 of file HierarchicalSearch.c.
| void GetHoughCandidates_threshold | ( | LALStatus * | status, |
| SemiCohCandidateList * | out, | ||
| HOUGHMapTotal * | ht, | ||
| HOUGHPatchGrid * | patch, | ||
| HOUGHDemodPar * | parDem, | ||
| REAL8 | threshold | ||
| ) |
Get Hough candidates as a toplist using a fixed threshold.
Definition at line 2675 of file HierarchicalSearch.c.
| void GetHoughCandidates_toplist | ( | LALStatus * | status, |
| toplist_t * | list, | ||
| HOUGHMapTotal * | ht, | ||
| HOUGHPatchGrid * | patch, | ||
| HOUGHDemodPar * | parDem | ||
| ) |
Get Hough candidates as a toplist.
Definition at line 2614 of file HierarchicalSearch.c.
| void GetFstatCandidates_toplist | ( | LALStatus * | status, |
| toplist_t * | list, | ||
| REAL8FrequencySeries * | FstatVec, | ||
| REAL8 | alpha, | ||
| REAL8 | delta, | ||
| REAL8 | fdot | ||
| ) |
Definition at line 2950 of file HierarchicalSearch.c.