Functions for selecting peaks from SFTs. More...
Prototypes | |
void | LALComputeMeanPower (LALStatus *status, REAL8 *mean, REAL8Periodogram1 *peri) |
to compute mean power from a periodogram – obsolete – use LAL functions in NormalizeSFTRngMed.c More... | |
void | LALSelectPeakWhiteNoise (LALStatus *status, UCHARPeakGram *pg, REAL8 *thr, REAL8Periodogram1 *peri) |
select peakgram in white noise – obsolete – use LAL functions in NormalizeSFTRngMed.c More... | |
void | LALUCHAR2HOUGHPeak (LALStatus *status, HOUGHPeakGram *pgOut, UCHARPeakGram *pgIn) |
Compress explicit peak gram. More... | |
void | LALPeriodo2PSDrng (LALStatus *status, REAL8Periodogram1 *psd, REAL8Periodogram1 *peri, INT4 *blocksRNG) |
Wrapper for LALRunningMedian code – obsolete – use LAL functions in NormalizeSFTRngMed.c. More... | |
void | LALSelectPeakColorNoise (LALStatus *status, UCHARPeakGram *pg, REAL8 *thr, REAL8PeriodoPSD *in) |
Function for selecting peaks in colored noise – obsolete – use LAL functions in NormalizeSFTRngMed.c. More... | |
void | SFTtoUCHARPeakGram (LALStatus *status, UCHARPeakGram *pg, const SFTtype *sft, REAL8 thr) |
Convert a normalized sft into a peakgram by selecting bins in which power exceeds a threshold. More... | |
Functions for selecting peaks from SFTs.
History: Created by Sintes May 21, 2003 Modified by Krishnan Oct, 2005
Routines for reading SFT binary files
PeakSelectHeader1()
the output of the periodogram should be properly normalized !!!
Definition in file PeakSelect.c.
Go to the source code of this file.
void LALComputeMeanPower | ( | LALStatus * | status, |
REAL8 * | mean, | ||
REAL8Periodogram1 * | peri | ||
) |
to compute mean power from a periodogram – obsolete – use LAL functions in NormalizeSFTRngMed.c
status | pointer to LALStatus structure |
mean | mean power |
peri | periodogram |
Definition at line 56 of file PeakSelect.c.
void LALSelectPeakWhiteNoise | ( | LALStatus * | status, |
UCHARPeakGram * | pg, | ||
REAL8 * | thr, | ||
REAL8Periodogram1 * | peri | ||
) |
select peakgram in white noise – obsolete – use LAL functions in NormalizeSFTRngMed.c
Definition at line 97 of file PeakSelect.c.
void LALUCHAR2HOUGHPeak | ( | LALStatus * | status, |
HOUGHPeakGram * | pgOut, | ||
UCHARPeakGram * | pgIn | ||
) |
Compress explicit peak gram.
status | pointer to LALStatus structure |
pgOut | compressed peakgram |
pgIn | explicit peakgram – collection of 1s and 0s |
Definition at line 160 of file PeakSelect.c.
void LALPeriodo2PSDrng | ( | LALStatus * | status, |
REAL8Periodogram1 * | psd, | ||
REAL8Periodogram1 * | peri, | ||
INT4 * | blocksRNG | ||
) |
Wrapper for LALRunningMedian code – obsolete – use LAL functions in NormalizeSFTRngMed.c.
status | pointer to LALStatus structure |
psd | output psd |
peri | input periodogram |
blocksRNG | running median block size |
Definition at line 215 of file PeakSelect.c.
void LALSelectPeakColorNoise | ( | LALStatus * | status, |
UCHARPeakGram * | pg, | ||
REAL8 * | thr, | ||
REAL8PeriodoPSD * | in | ||
) |
Function for selecting peaks in colored noise – obsolete – use LAL functions in NormalizeSFTRngMed.c.
status | pointer to LALStatus structure |
pg | output peakgram |
thr | threshold reltive to psd |
in | input psd and periodogram |
Definition at line 286 of file PeakSelect.c.
void SFTtoUCHARPeakGram | ( | LALStatus * | status, |
UCHARPeakGram * | pg, | ||
const SFTtype * | sft, | ||
REAL8 | thr | ||
) |
Convert a normalized sft into a peakgram by selecting bins in which power exceeds a threshold.
Constructs peakgram from a normalized SFT – uses standard pulsar data types.
status | pointer to LALStatus structure |
pg | output peakgram |
sft | standard pulsar sft type |
thr | sft power threshold for peak selection |
Definition at line 371 of file PeakSelect.c.