LALPulsar  6.1.0.1-c9a8ef6
TascPorbTiling.c File Reference

Functions for tiling the orbital phase and period space for Sco X-1 and other binaries. More...

Prototypes

static double PorbEllipticalBound (const void *data, const size_t dim UNUSED, const gsl_matrix *cache UNUSED, const gsl_vector *point)
 
int XLALSetLatticeTilingPorbEllipticalBound (LatticeTiling *tiling, const size_t tasc_dimension, const size_t porb_dimension, const double P0, const double sigP, const double T0, const double sigT, const int norb, const double nsigma, const BOOLEAN useShearedPeriod)
 Set an orbital period as a function of time of ascension. More...
 

Detailed Description

Functions for tiling the orbital phase and period space for Sco X-1 and other binaries.

Author
John T. Whelan
Date
2019

Definition in file TascPorbTiling.c.

Go to the source code of this file.

Data Structures

struct  PorbEllipticalBoundInfo
 

Macros

#define SQR(x)   ((x)*(x))
 
#define RE_SQRT(x)   sqrt(GSL_MAX(DBL_EPSILON, (x)))
 

Macro Definition Documentation

◆ SQR

#define SQR (   x)    ((x)*(x))

Definition at line 59 of file TascPorbTiling.c.

◆ RE_SQRT

#define RE_SQRT (   x)    sqrt(GSL_MAX(DBL_EPSILON, (x)))

Definition at line 62 of file TascPorbTiling.c.

Function Documentation

◆ PorbEllipticalBound()

static double PorbEllipticalBound ( const void *  data,
const size_t dim  UNUSED,
const gsl_matrix *cache  UNUSED,
const gsl_vector *  point 
)
static

Definition at line 76 of file TascPorbTiling.c.

◆ XLALSetLatticeTilingPorbEllipticalBound()

int XLALSetLatticeTilingPorbEllipticalBound ( LatticeTiling *  tiling,
const size_t  tasc_dimension,
const size_t  porb_dimension,
const double  P0,
const double  sigP,
const double  T0,
const double  sigT,
const int  norb,
const double  nsigma,
const BOOLEAN  useShearedPeriod 
)

Set an orbital period as a function of time of ascension.

Parameters
[in]tilingLattice tiling
[in]tasc_dimensionTime of ascension dimension
[in]porb_dimensionOrbital period dimension
[in]P0Most likely orbital period
[in]sigPOne-sigma uncertainty on orbital period
[in]T0Most likely time of ascension (uncorrelated with orbital period
[in]sigTOne-sigma uncertainty on time of ascension
[in]norbNumber of orbits between time of ascention estimate and search region
[in]nsigmaRadius in sigma of circular search region in parameter space scaled by uncertainties
[in]useShearedPeriodWhether to use sheared Porb coordinate so the centerline of the search ellipse is horizontal

Definition at line 116 of file TascPorbTiling.c.