Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALPulsar 7.1.1.1-b246709
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
PeakSelect.c File Reference

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...
 

Detailed Description

Functions for selecting peaks from SFTs.

Author
Sintes, A.M. and Krishnan, B.

History: Created by Sintes May 21, 2003 Modified by Krishnan Oct, 2005

PeakSelect.c

Routines for reading SFT binary files

Prototypes

PeakSelectHeader1()

Description

the output of the periodogram should be properly normalized !!!

Uses

LALHO()

Definition in file PeakSelect.c.

Go to the source code of this file.

Function Documentation

◆ LALComputeMeanPower()

void LALComputeMeanPower ( LALStatus status,
REAL8 mean,
REAL8Periodogram1 peri 
)

to compute mean power from a periodogram – obsolete – use LAL functions in NormalizeSFTRngMed.c

Parameters
statuspointer to LALStatus structure
meanmean power
periperiodogram

Definition at line 56 of file PeakSelect.c.

◆ LALSelectPeakWhiteNoise()

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.

◆ LALUCHAR2HOUGHPeak()

void LALUCHAR2HOUGHPeak ( LALStatus status,
HOUGHPeakGram pgOut,
UCHARPeakGram pgIn 
)

Compress explicit peak gram.

Parameters
statuspointer to LALStatus structure
pgOutcompressed peakgram
pgInexplicit peakgram – collection of 1s and 0s

Definition at line 160 of file PeakSelect.c.

◆ LALPeriodo2PSDrng()

void LALPeriodo2PSDrng ( LALStatus status,
REAL8Periodogram1 psd,
REAL8Periodogram1 peri,
INT4 blocksRNG 
)

Wrapper for LALRunningMedian code – obsolete – use LAL functions in NormalizeSFTRngMed.c.

Parameters
statuspointer to LALStatus structure
psdoutput psd
periinput periodogram
blocksRNGrunning median block size

Definition at line 215 of file PeakSelect.c.

◆ LALSelectPeakColorNoise()

void LALSelectPeakColorNoise ( LALStatus status,
UCHARPeakGram pg,
REAL8 thr,
REAL8PeriodoPSD in 
)

Function for selecting peaks in colored noise – obsolete – use LAL functions in NormalizeSFTRngMed.c.

Parameters
statuspointer to LALStatus structure
pgoutput peakgram
thrthreshold reltive to psd
ininput psd and periodogram

Definition at line 286 of file PeakSelect.c.

◆ SFTtoUCHARPeakGram()

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.

Parameters
statuspointer to LALStatus structure
pgoutput peakgram
sftstandard pulsar sft type
thrsft power threshold for peak selection

Definition at line 371 of file PeakSelect.c.