LALPulsar  6.1.0.1-89842e6
TascPorbTiling.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2019 John T. Whelan
3 //
4 // This program is free software; you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation; either version 2 of the License, or
7 // (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,x5
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with with program; see the file COPYING. If not, write to the
16 // Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17 // MA 02110-1301 USA
18 //
19 
20 #ifndef _TASCPORBTILING_H
21 #define _TASCPORBTILING_H
22 
23 
24 /* C++ protection. */
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 /*---------- INCLUDES ----------*/
30 #include <lal/LALDatatypes.h>
31 #include <lal/LatticeTiling.h>
32 
33 /*---------- DEFINES ----------*/
34 
35 
36 ///
37 /// Set an orbital period as a function of time of ascension
38 ///
40  LatticeTiling *tiling, ///< [in] Lattice tiling
41  const size_t tasc_dimension, ///< [in] Time of ascension dimension
42  const size_t porb_dimension, ///< [in] Orbital period dimension
43  const double P0, ///< [in] Most likely orbital period
44  const double sigP, ///< [in] One-sigma uncertainty on orbital period
45  const double T0, ///< [in] Most likely time of ascension (uncorrelated with orbital period
46  const double sigT, ///< [in] One-sigma uncertainty on time of ascension
47  const int norb, ///< [in] Number of orbits between time of ascention estimate and search region
48  const double nsigma, ///< [in] Radius in sigma of circular search region in parameter space scaled by uncertainties
49  const BOOLEAN useShearedPeriod ///< [in] Whether to use sheared Porb coordinate so the centerline of the search ellipse is horizontal
50 );
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
56 #endif // _TASCPORBTILING_H
57 
58 // Local Variables:
59 // c-file-style: "linux"
60 // c-basic-offset: 2
61 // End:
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.
unsigned char BOOLEAN