LALInspiral 5.0.3.1-eeff03c
LALInspiralSBankOverlap.c File Reference

Prototypes

WSXLALCreateSBankWorkspaceCache (void)
 
void XLALDestroySBankWorkspaceCache (WS *workspace_cache)
 
static WSget_workspace (WS *workspace_cache, const size_t n)
 
static void multiply_conjugate (COMPLEX8 *restrict out, COMPLEX8 *a, COMPLEX8 *b, const size_t size)
 
static double abs_real (const COMPLEX8 x)
 
static double abs2 (const COMPLEX8 x)
 
static double vector_peak_interp (const double ym1, const double y, const double yp1)
 
REAL8 XLALInspiralSBankComputeMatch (const COMPLEX8FrequencySeries *inj, const COMPLEX8FrequencySeries *tmplt, WS *workspace_cache)
 
REAL8 XLALInspiralSBankComputeRealMatch (const COMPLEX8FrequencySeries *inj, const COMPLEX8FrequencySeries *tmplt, WS *workspace_cache)
 
REAL8 XLALInspiralSBankComputeMatchMaxSkyLoc (const COMPLEX8FrequencySeries *hp, const COMPLEX8FrequencySeries *hc, const REAL8 hphccorr, const COMPLEX8FrequencySeries *proposal, WS *workspace_cache1, WS *workspace_cache2)
 
REAL8 XLALInspiralSBankComputeMatchMaxSkyLocNoPhase (const COMPLEX8FrequencySeries *hp, const COMPLEX8FrequencySeries *hc, const REAL8 hphccorr, const COMPLEX8FrequencySeries *proposal, WS *workspace_cache1, WS *workspace_cache2)
 

Go to the source code of this file.

Macros

#define MAX_NUM_WS   32 /* maximum number of workspaces */
 
#define CHECK_OOM(ptr, msg)   if (!(ptr)) { XLALPrintError((msg)); XLAL_ERROR_NULL(XLAL_ENOMEM); }
 

Macro Definition Documentation

◆ MAX_NUM_WS

#define MAX_NUM_WS   32 /* maximum number of workspaces */

Definition at line 31 of file LALInspiralSBankOverlap.c.

◆ CHECK_OOM

#define CHECK_OOM (   ptr,
  msg 
)    if (!(ptr)) { XLALPrintError((msg)); XLAL_ERROR_NULL(XLAL_ENOMEM); }

Definition at line 32 of file LALInspiralSBankOverlap.c.

Function Documentation

◆ XLALCreateSBankWorkspaceCache()

WS * XLALCreateSBankWorkspaceCache ( void  )

Definition at line 38 of file LALInspiralSBankOverlap.c.

◆ XLALDestroySBankWorkspaceCache()

void XLALDestroySBankWorkspaceCache ( WS workspace_cache)

Definition at line 44 of file LALInspiralSBankOverlap.c.

◆ get_workspace()

static WS * get_workspace ( WS workspace_cache,
const size_t  n 
)
static

Definition at line 56 of file LALInspiralSBankOverlap.c.

◆ multiply_conjugate()

static void multiply_conjugate ( COMPLEX8 *restrict  out,
COMPLEX8 a,
COMPLEX8 b,
const size_t  size 
)
static

Definition at line 86 of file LALInspiralSBankOverlap.c.

◆ abs_real()

static double abs_real ( const COMPLEX8  x)
static

Definition at line 98 of file LALInspiralSBankOverlap.c.

◆ abs2()

static double abs2 ( const COMPLEX8  x)
static

Definition at line 103 of file LALInspiralSBankOverlap.c.

◆ vector_peak_interp()

static double vector_peak_interp ( const double  ym1,
const double  y,
const double  yp1 
)
static

Definition at line 110 of file LALInspiralSBankOverlap.c.

◆ XLALInspiralSBankComputeMatch()

REAL8 XLALInspiralSBankComputeMatch ( const COMPLEX8FrequencySeries inj,
const COMPLEX8FrequencySeries tmplt,
WS workspace_cache 
)

Definition at line 120 of file LALInspiralSBankOverlap.c.

◆ XLALInspiralSBankComputeRealMatch()

REAL8 XLALInspiralSBankComputeRealMatch ( const COMPLEX8FrequencySeries inj,
const COMPLEX8FrequencySeries tmplt,
WS workspace_cache 
)

Definition at line 169 of file LALInspiralSBankOverlap.c.

◆ XLALInspiralSBankComputeMatchMaxSkyLoc()

REAL8 XLALInspiralSBankComputeMatchMaxSkyLoc ( const COMPLEX8FrequencySeries hp,
const COMPLEX8FrequencySeries hc,
const REAL8  hphccorr,
const COMPLEX8FrequencySeries proposal,
WS workspace_cache1,
WS workspace_cache2 
)

Definition at line 208 of file LALInspiralSBankOverlap.c.

◆ XLALInspiralSBankComputeMatchMaxSkyLocNoPhase()

REAL8 XLALInspiralSBankComputeMatchMaxSkyLocNoPhase ( const COMPLEX8FrequencySeries hp,
const COMPLEX8FrequencySeries hc,
const REAL8  hphccorr,
const COMPLEX8FrequencySeries proposal,
WS workspace_cache1,
WS workspace_cache2 
)

Definition at line 285 of file LALInspiralSBankOverlap.c.