| LALSimInspiral.h | | LALSimInspiral.h | |
| | | | |
| skipping to change at line 24 | | skipping to change at line 24 | |
| * You should have received a copy of the GNU General Public License | | * You should have received a copy of the GNU General Public License | |
| * along with with program; see the file COPYING. If not, write to the | | * along with with program; see the file COPYING. If not, write to the | |
| * Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, | | * Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, | |
| * MA 02111-1307 USA | | * MA 02111-1307 USA | |
| */ | | */ | |
| | | | |
| #ifndef _LALSIMINSPIRAL_H | | #ifndef _LALSIMINSPIRAL_H | |
| #define _LALSIMINSPIRAL_H | | #define _LALSIMINSPIRAL_H | |
| | | | |
| #include <lal/LALDatatypes.h> | | #include <lal/LALDatatypes.h> | |
|
| #include <lal/LALSimIMR.h> | | #include <lal/LALSimInspiralWaveformFlags.h> | |
| #include <lal/LALSimInspiralWaveformFlags.h> | | #include <lal/LALSimInspiralTestGRParams.h> | |
| #include <lal/LALSimInspiralTestGRParams.h> | | #include <lal/TimeSeries.h> | |
| #include <lal/TimeSeries.h> | | | |
| #include <gsl/gsl_matrix.h> | | #include <gsl/gsl_matrix.h> | |
| | | | |
| #if defined(__cplusplus) | | #if defined(__cplusplus) | |
| extern "C" { | | extern "C" { | |
| #elif 0 | | #elif 0 | |
| } /* so that editors will match preceding brace */ | | } /* so that editors will match preceding brace */ | |
| #endif | | #endif | |
| | | | |
| #define LAL_PN_MODE_L_MAX 3 | | #define LAL_PN_MODE_L_MAX 3 | |
|
| | | /* (2x) Highest available PN order - UPDATE IF NEW ORDERS ADDED!!*/ | |
| | | #define LAL_MAX_PN_ORDER 8 | |
| | | | |
| /** Enum that specifies the PN approximant to be used in computing the wave
form. | | /** Enum that specifies the PN approximant to be used in computing the wave
form. | |
| */ | | */ | |
| typedef enum { | | typedef enum { | |
| TaylorT1, /**< Time domain Taylor approximant in which the ene
rgy and flux are both kept | | TaylorT1, /**< Time domain Taylor approximant in which the ene
rgy and flux are both kept | |
| * as Taylor expansions and a first order ordinary
differential equation is solved | | * as Taylor expansions and a first order ordinary
differential equation is solved | |
| * or the GW phase as a function of \f$t\f$; Output
s a time-domain wave. | | * or the GW phase as a function of \f$t\f$; Output
s a time-domain wave. | |
| */ | | */ | |
| TaylorT2, /**< Time domain Taylor approximant in which the pha
se evolution \f$\varphi(t)\f$ is | | TaylorT2, /**< Time domain Taylor approximant in which the pha
se evolution \f$\varphi(t)\f$ is | |
| * obtained by iteratively solving post-Newtonian e
xpansions \f$\varphi(v)\f$ and \f$t(v)\f$; | | * obtained by iteratively solving post-Newtonian e
xpansions \f$\varphi(v)\f$ and \f$t(v)\f$; | |
| * Outputs a time-domain wave. | | * Outputs a time-domain wave. | |
| */ | | */ | |
| TaylorT3, /**< Time domain Taylor approximant in which phase i
s explicitly given as a function | | TaylorT3, /**< Time domain Taylor approximant in which phase i
s explicitly given as a function | |
| * of time; outputs a time-domain wave. | | * of time; outputs a time-domain wave. | |
| */ | | */ | |
| TaylorF1, /**< The stationary phase approximation that correct
ly represents, in the Fourier domain, | | TaylorF1, /**< The stationary phase approximation that correct
ly represents, in the Fourier domain, | |
| * the waveform given by \c TaylorT1 approximant (s
ee [\ref dis2000] for details); | | * the waveform given by \c TaylorT1 approximant (s
ee [\ref dis2000] for details); | |
| * Outputs a frequency-domain wave. */ | | * Outputs a frequency-domain wave. */ | |
| TaylorF2, /**< The standard stationary phase approximation; Ou
tputs a frequency-domain wave. */ | | TaylorF2, /**< The standard stationary phase approximation; Ou
tputs a frequency-domain wave. */ | |
|
| | | TaylorR2F4, /**< A frequency domain model closely related to Tay
lorT4 */ | |
| TaylorF2RedSpin, /**< TaylorF2 waveforms for non-precessing s
pins, defined in terms of a single (reduced-spin) parameter [Ajith_2011ec]*
/ | | TaylorF2RedSpin, /**< TaylorF2 waveforms for non-precessing s
pins, defined in terms of a single (reduced-spin) parameter [Ajith_2011ec]*
/ | |
|
| TaylorF2RedSpinTidal, /**< TaylorF2 waveforms for non-prec
essing spins, defined in terms of a single (reduced-spin) parameter [Ajith_
2011ec] plus tidal terms (http://arxiv.org/abs/1101.1673) */ | | TaylorF2RedSpinTidal, /**< TaylorF2 waveforms for non-precessing s
pins, defined in terms of a single (reduced-spin) parameter [Ajith_2011ec]
plus tidal terms (http://arxiv.org/abs/1101.1673) */ | |
| PadeT1, /**< Time-domain P-approximant; Outputs a time-domai
n wave. */ | | PadeT1, /**< Time-domain P-approximant; Outputs a time-domai
n wave. */ | |
| PadeF1, /**< Frequency-domain P-approximant (not yet impleme
nted). */ | | PadeF1, /**< Frequency-domain P-approximant (not yet impleme
nted). */ | |
| EOB, /**< Effective one-body waveform; Outputs a
time-domain wave. */ | | EOB, /**< Effective one-body waveform; Outputs a
time-domain wave. */ | |
| BCV, /**< Detection template family of Buonanno,
Chen and Vallisneri [\ref BCV03]; Outputs a frequency-domain wave. */ | | BCV, /**< Detection template family of Buonanno,
Chen and Vallisneri [\ref BCV03]; Outputs a frequency-domain wave. */ | |
| BCVSpin, /**< Detection template family of Buonanno, Chen and
Vallisneri including spin effects [\ref BCV03b]; Outputs a frequency-doma
in wave. */ | | BCVSpin, /**< Detection template family of Buonanno, Chen and
Vallisneri including spin effects [\ref BCV03b]; Outputs a frequency-doma
in wave. */ | |
|
| | | SpinTaylorT1, /**< Spinning case T1 models */ | |
| | | SpinTaylorT2, /**< Spinning case T2 models */ | |
| SpinTaylorT3, /**< Spinning case T3 models */ | | SpinTaylorT3, /**< Spinning case T3 models */ | |
| SpinTaylorT4, /**< Spinning case T4 models (lalsimulation's equiva
lent of SpinTaylorFrameless) */ | | SpinTaylorT4, /**< Spinning case T4 models (lalsimulation's equiva
lent of SpinTaylorFrameless) */ | |
|
| | | SpinTaylorF2, /**< Spinning case F2 models (single spin only) */ | |
| SpinTaylorFrameless, /**< Spinning case PN models (replace SpinTa
ylor by removing the coordinate singularity) */ | | SpinTaylorFrameless, /**< Spinning case PN models (replace SpinTa
ylor by removing the coordinate singularity) */ | |
| SpinTaylor, /**< Spinning case PN models (should replace SpinTay
lorT3 in the future) */ | | SpinTaylor, /**< Spinning case PN models (should replace SpinTay
lorT3 in the future) */ | |
|
| | | PhenSpinTaylor, /**< Inspiral part of the PhenSpinTaylorRD. */ | |
| PhenSpinTaylorRD, /**< Phenomenological waveforms, interpolating betwe
en a T4 spin-inspiral and the ringdown. */ | | PhenSpinTaylorRD, /**< Phenomenological waveforms, interpolating betwe
en a T4 spin-inspiral and the ringdown. */ | |
|
| PhenSpinTaylorRDF, /**< UNDOCUMENTED */ | | | |
| SpinQuadTaylor, /**< Spinning case PN models with quadrupole-monopol
e and self-spin interaction. */ | | SpinQuadTaylor, /**< Spinning case PN models with quadrupole-monopol
e and self-spin interaction. */ | |
| FindChirpSP, /**< The stationary phase templates implemen
ted by FindChirpSPTemplate in the findchirp package (equivalent to TaylorF2
at twoPN order). */ | | FindChirpSP, /**< The stationary phase templates implemen
ted by FindChirpSPTemplate in the findchirp package (equivalent to TaylorF2
at twoPN order). */ | |
| FindChirpPTF, /**< UNDOCUMENTED */ | | FindChirpPTF, /**< UNDOCUMENTED */ | |
| GeneratePPN, /**< The time domain templates generated by
LALGeneratePPNInspiral() in the inject package (equivalent to TaylorT3 at t
woPN order). */ | | GeneratePPN, /**< The time domain templates generated by
LALGeneratePPNInspiral() in the inject package (equivalent to TaylorT3 at t
woPN order). */ | |
| BCVC, /**< UNDOCUMENTED */ | | BCVC, /**< UNDOCUMENTED */ | |
| FrameFile, /**< The waveform contains arbitrary data read from
a frame file. */ | | FrameFile, /**< The waveform contains arbitrary data read from
a frame file. */ | |
| AmpCorPPN, /**< UNDOCUMENTED */ | | AmpCorPPN, /**< UNDOCUMENTED */ | |
| NumRel, /**< UNDOCUMENTED */ | | NumRel, /**< UNDOCUMENTED */ | |
| NumRelNinja2, /**< The waveform contains REAL8 data generated by l
alapps_fr_ninja from a file in the format described in arXiv:0709.0093v3 */ | | NumRelNinja2, /**< The waveform contains REAL8 data generated by l
alapps_fr_ninja from a file in the format described in arXiv:0709.0093v3 */ | |
| Eccentricity, /**< UNDOCUMENTED */ | | Eccentricity, /**< UNDOCUMENTED */ | |
| EOBNR, /**< UNDOCUMENTED */ | | EOBNR, /**< UNDOCUMENTED */ | |
| EOBNRv2, /**< UNDOCUMENTED */ | | EOBNRv2, /**< UNDOCUMENTED */ | |
| EOBNRv2HM, /**< UNDOCUMENTED */ | | EOBNRv2HM, /**< UNDOCUMENTED */ | |
| SEOBNRv1, /**< Spin-aligned EOBNR model */ | | SEOBNRv1, /**< Spin-aligned EOBNR model */ | |
| IMRPhenomA, /**< Time domain (non-spinning) inspiral-merger-ring
down waveforms generated from the inverse FFT of IMRPhenomFA */ | | IMRPhenomA, /**< Time domain (non-spinning) inspiral-merger-ring
down waveforms generated from the inverse FFT of IMRPhenomFA */ | |
| IMRPhenomB, /**< Time domain (non-precessing spins) inspiral-mer
ger-ringdown waveforms generated from the inverse FFT of IMRPhenomFB */ | | IMRPhenomB, /**< Time domain (non-precessing spins) inspiral-mer
ger-ringdown waveforms generated from the inverse FFT of IMRPhenomFB */ | |
| IMRPhenomFA, /**< Frequency domain (non-spinning) inspira
l-merger-ringdown templates of Ajith et al [Ajith_2007kx] with phenomenolog
ical coefficients defined in the Table I of [Ajith_2007xh]*/ | | IMRPhenomFA, /**< Frequency domain (non-spinning) inspira
l-merger-ringdown templates of Ajith et al [Ajith_2007kx] with phenomenolog
ical coefficients defined in the Table I of [Ajith_2007xh]*/ | |
| IMRPhenomFB, /**< Frequency domain (non-precessing spins)
inspiral-merger-ringdown templates of Ajith et al [Ajith_2009bn] */ | | IMRPhenomFB, /**< Frequency domain (non-precessing spins)
inspiral-merger-ringdown templates of Ajith et al [Ajith_2009bn] */ | |
|
| | | IMRPhenomC, /**< Frequency domain (non-precessing spins) inspira
l-merger-ringdown templates of Ajith et al [Santamaria:2010yb] with phenome
nological coefficients defined in the Table II of [Santamaria:2010yb]*/ | |
| TaylorEt, /**< UNDOCUMENTED */ | | TaylorEt, /**< UNDOCUMENTED */ | |
| TaylorT4, /**< UNDOCUMENTED */ | | TaylorT4, /**< UNDOCUMENTED */ | |
| TaylorN, /**< UNDOCUMENTED */ | | TaylorN, /**< UNDOCUMENTED */ | |
| NumApproximants /**< Number of elements in enum, useful for checking
bounds */ | | NumApproximants /**< Number of elements in enum, useful for checking
bounds */ | |
| } Approximant; | | } Approximant; | |
| | | | |
| /** Enum of possible values to use for post-Newtonian order. */ | | /** Enum of possible values to use for post-Newtonian order. */ | |
| typedef enum { | | typedef enum { | |
| LAL_PNORDER_NEWTONIAN, /**< Newtonain (leading) order */ | | LAL_PNORDER_NEWTONIAN, /**< Newtonain (leading) order */ | |
| LAL_PNORDER_HALF, /**< 0.5PN <==> O(v) */ | | LAL_PNORDER_HALF, /**< 0.5PN <==> O(v) */ | |
| | | | |
| skipping to change at line 117 | | skipping to change at line 123 | |
| /** Enumeration to specify the tapering method to apply to the waveform */ | | /** Enumeration to specify the tapering method to apply to the waveform */ | |
| typedef enum | | typedef enum | |
| { | | { | |
| LAL_SIM_INSPIRAL_TAPER_NONE, /**< No tapering */ | | LAL_SIM_INSPIRAL_TAPER_NONE, /**< No tapering */ | |
| LAL_SIM_INSPIRAL_TAPER_START, /**< Taper the start of the
waveform */ | | LAL_SIM_INSPIRAL_TAPER_START, /**< Taper the start of the
waveform */ | |
| LAL_SIM_INSPIRAL_TAPER_END, /**< Taper the end of the waveform *
/ | | LAL_SIM_INSPIRAL_TAPER_END, /**< Taper the end of the waveform *
/ | |
| LAL_SIM_INSPIRAL_TAPER_STARTEND, /**< Taper the start and the end of
the waveform */ | | LAL_SIM_INSPIRAL_TAPER_STARTEND, /**< Taper the start and the end of
the waveform */ | |
| LAL_SIM_INSPIRAL_TAPER_NUM_OPTS /**< Number of elements in enum, use
ful for checking bounds */ | | LAL_SIM_INSPIRAL_TAPER_NUM_OPTS /**< Number of elements in enum, use
ful for checking bounds */ | |
| } LALSimInspiralApplyTaper; | | } LALSimInspiralApplyTaper; | |
| | | | |
|
| | | /** Stores previously-computed waveforms and parameters to take | |
| | | advantage of approximant- and parameter-specific opportunities for | |
| | | accelerating waveform computation. */ | |
| | | typedef struct tagLALSimInspiralWaveformCache LALSimInspiralWaveformCache; | |
| | | | |
| | | /** Enumeration to specify time or frequency domain */ | |
| | | typedef enum { | |
| | | LAL_SIM_DOMAIN_TIME, | |
| | | LAL_SIM_DOMAIN_FREQUENCY | |
| | | } LALSimulationDomain; | |
| | | | |
| /** | | /** | |
| * Tapers a REAL4 inspiral waveform in the time domain. | | * Tapers a REAL4 inspiral waveform in the time domain. | |
| */ | | */ | |
| int XLALSimInspiralREAL4WaveTaper( | | int XLALSimInspiralREAL4WaveTaper( | |
| REAL4Vector *signalvec, /**< pointer to wave
form vector */ | | REAL4Vector *signalvec, /**< pointer to wave
form vector */ | |
| LALSimInspiralApplyTaper bookends /**< taper type enum
erator */ | | LALSimInspiralApplyTaper bookends /**< taper type enum
erator */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Tapers a REAL8 inspiral waveform in the time domain. | | * Tapers a REAL8 inspiral waveform in the time domain. | |
| */ | | */ | |
| int XLALSimInspiralREAL8WaveTaper( | | int XLALSimInspiralREAL8WaveTaper( | |
| REAL8Vector *signalvec, /**< pointer to wave
form vector */ | | REAL8Vector *signalvec, /**< pointer to wave
form vector */ | |
| LALSimInspiralApplyTaper bookends /**< taper type enum
erator */ | | LALSimInspiralApplyTaper bookends /**< taper type enum
erator */ | |
| ); | | ); | |
| | | | |
| /* | | /* | |
|
| * Structyure to carry a collectio of spherical harmonic modes in COMPLEX16 | | * Structure to carry a collection of spherical harmonic modes in COMPLEX16 | |
| * time series. Contains convenience getter and setter functions, as well a
s | | * time series. Contains convenience getter and setter functions, as well a
s | |
| * a convienence "maximum l mode" function. Implemented as a singly forward | | * a convienence "maximum l mode" function. Implemented as a singly forward | |
| * linked list. | | * linked list. | |
| */ | | */ | |
| typedef struct tagSphHarmTimeSeries SphHarmTimeSeries; | | typedef struct tagSphHarmTimeSeries SphHarmTimeSeries; | |
| | | | |
|
| | | typedef struct tagSphHarmFrequencySeries SphHarmFrequencySeries; | |
| | | | |
| /* | | /* | |
| * Create a SphHarmTimeSeries. If appended is not NULL, this will prepend a
new | | * Create a SphHarmTimeSeries. If appended is not NULL, this will prepend a
new | |
| * structure to the list by duplicating the mode inmode, mode numbers l, an
d m, | | * structure to the list by duplicating the mode inmode, mode numbers l, an
d m, | |
| * and then set the next pointer to the appended structure. | | * and then set the next pointer to the appended structure. | |
| */ | | */ | |
| SphHarmTimeSeries* XLALSphHarmTimeSeriesAddMode( | | SphHarmTimeSeries* XLALSphHarmTimeSeriesAddMode( | |
| SphHarmTimeSeries *appended, /**< List structure to prepend
to */ | | SphHarmTimeSeries *appended, /**< List structure to prepend
to */ | |
| const COMPLEX16TimeSeries* inmode, /**< mode series to cont
ain */ | | const COMPLEX16TimeSeries* inmode, /**< mode series to cont
ain */ | |
| UINT4 l, /**< major mode number */ | | UINT4 l, /**< major mode number */ | |
| INT4 m /**< minor mode number */ | | INT4 m /**< minor mode number */ | |
| | | | |
| skipping to change at line 165 | | skipping to change at line 184 | |
| * COMPLEX16TimeSeries which it has references to. | | * COMPLEX16TimeSeries which it has references to. | |
| */ | | */ | |
| void XLALDestroySphHarmTimeSeries( SphHarmTimeSeries* ts ); | | void XLALDestroySphHarmTimeSeries( SphHarmTimeSeries* ts ); | |
| | | | |
| /* | | /* | |
| * Destroy a SphHarmTimeSeries. Note that this will destroy any | | * Destroy a SphHarmTimeSeries. Note that this will destroy any | |
| * COMPLEX16TimeSeries which it has references to. | | * COMPLEX16TimeSeries which it has references to. | |
| */ | | */ | |
| UINT4 XLALSphHarmTimeSeriesGetMaxL( SphHarmTimeSeries* ts ); | | UINT4 XLALSphHarmTimeSeriesGetMaxL( SphHarmTimeSeries* ts ); | |
| | | | |
|
| | | #ifdef SWIG // SWIG interface directives | |
| | | SWIGLAL(GET_OBJECT(COMPLEX16TimeSeries*, XLALSphHarmTimeSeriesGetMode)); | |
| | | #endif | |
| | | | |
| /* | | /* | |
| * Get the mode-decomposed time series corresponding to l,m. | | * Get the mode-decomposed time series corresponding to l,m. | |
| */ | | */ | |
| COMPLEX16TimeSeries* XLALSphHarmTimeSeriesGetMode( | | COMPLEX16TimeSeries* XLALSphHarmTimeSeriesGetMode( | |
| SphHarmTimeSeries *ts, | | SphHarmTimeSeries *ts, | |
| UINT4 l, | | UINT4 l, | |
| INT4 m | | INT4 m | |
| ); | | ); | |
| | | | |
|
| | | /* | |
| | | * Create a SphHarmFrequencySeries. If appended is not NULL, this will prep | |
| | | end a new | |
| | | * structure to the list by duplicating the mode inmode, mode numbers l, an | |
| | | d m, | |
| | | * and then set the next pointer to the appended structure. | |
| | | */ | |
| | | SphHarmFrequencySeries* XLALSphHarmFrequencySeriesAddMode( | |
| | | SphHarmFrequencySeries *appended, /**< List structure to pr | |
| | | epend to */ | |
| | | const COMPLEX16FrequencySeries* inmode, /**< mode series to | |
| | | contain */ | |
| | | UINT4 l, /**< major mode number */ | |
| | | INT4 m /**< minor mode number */ | |
| | | ); | |
| | | | |
| | | /* | |
| | | * Destroy a SphHarmFrequencySeries. Note that this will destroy any | |
| | | * COMPLEX16TimeSeries which it has references to. | |
| | | */ | |
| | | void XLALDestroySphHarmFrequencySeries( SphHarmFrequencySeries* ts ); | |
| | | | |
| | | /* | |
| | | * Destroy a SphHarmFrequencySeries. Note that this will destroy any | |
| | | * COMPLEX16FrequencySeries which it has references to. | |
| | | */ | |
| | | UINT4 XLALSphHarmFrequencySeriesGetMaxL( SphHarmFrequencySeries* ts ); | |
| | | | |
| | | #ifdef SWIG // SWIG interface directives | |
| | | SWIGLAL(GET_OBJECT(COMPLEX16FrequencySeries*, XLALSphHarmFrequencySeriesGet | |
| | | Mode)); | |
| | | #endif | |
| | | | |
| | | /* | |
| | | * Get the mode-decomposed frequency series corresponding to l,m. | |
| | | */ | |
| | | COMPLEX16FrequencySeries* XLALSphHarmFrequencySeriesGetMode( | |
| | | SphHarmFrequencySeries *ts, | |
| | | UINT4 l, | |
| | | INT4 m | |
| | | ); | |
| | | | |
| | | /** | |
| | | * Compute the polarizations from all the -2 spin-weighted spherical harmon | |
| | | ic | |
| | | * modes stored in 'hlms'. Be sure that 'hlms' is the head of the linked li | |
| | | st! | |
| | | * | |
| | | * The computation done is: | |
| | | * hp(t) - i hc(t) = \sum_l \sum_m h_lm(t) -2Y_lm(iota,psi) | |
| | | * | |
| | | * iota and psi are the inclination and polarization angle of the observer | |
| | | * relative to the source of GWs. | |
| | | */ | |
| | | int XLALSimInspiralPolarizationsFromSphHarmTimeSeries( | |
| | | REAL8TimeSeries **hp, /**< Plus polarization time series [returned] */ | |
| | | REAL8TimeSeries **hc, /**< Cross polarization time series [returned] */ | |
| | | SphHarmTimeSeries *hlms, /**< Head of linked list of waveform modes */ | |
| | | REAL8 iota, /**< inclination of viewer to source frame (rad) */ | |
| | | REAL8 psi /**< polarization angle (rad) */ | |
| | | ); | |
| | | | |
| /** | | /** | |
| * Computes h(2,2) mode of spherical harmonic decomposition of | | * Computes h(2,2) mode of spherical harmonic decomposition of | |
| * the post-Newtonian inspiral waveform. | | * the post-Newtonian inspiral waveform. | |
| * | | * | |
| * Implements Equation (79) of: | | * Implements Equation (79) of: | |
| * Lawrence E. Kidder, \"Using Full Information When Computing Modes of | | * Lawrence E. Kidder, \"Using Full Information When Computing Modes of | |
| * Post-Newtonian Waveforms From Inspiralling Compact Binaries in Circular | | * Post-Newtonian Waveforms From Inspiralling Compact Binaries in Circular | |
| * Orbit\", Physical Review D 77, 044016 (2008), arXiv:0710.0614v1 [gr-qc]. | | * Orbit\", Physical Review D 77, 044016 (2008), arXiv:0710.0614v1 [gr-qc]. | |
| */ | | */ | |
| COMPLEX16TimeSeries *XLALSimInspiralPNMode22( | | COMPLEX16TimeSeries *XLALSimInspiralPNMode22( | |
| | | | |
| skipping to change at line 895 | | skipping to change at line 973 | |
| * | | * | |
| * TODO: return the bit sum if the string is a concatenation of several | | * TODO: return the bit sum if the string is a concatenation of several | |
| * interaction terms. Also make names match cases of enum. | | * interaction terms. Also make names match cases of enum. | |
| */ | | */ | |
| int XLALGetInteractionFromString(const CHAR *inString); | | int XLALGetInteractionFromString(const CHAR *inString); | |
| | | | |
| /** XLAL function to determine axis choice flag from a string */ | | /** XLAL function to determine axis choice flag from a string */ | |
| int XLALGetFrameAxisFromString(const CHAR *inString); | | int XLALGetFrameAxisFromString(const CHAR *inString); | |
| | | | |
| /** | | /** | |
|
| * XLAL function to determine adaptive integration flag from a string. Ret | | * XLAL function to determine mode flag from a string. | |
| urns | | * Returns one of enum values as name matches case of enum. | |
| * 1 if string contains 'fixedStep', otherwise returns 0 to signal | | */ | |
| * adaptive integration should be used. | | int XLALGetHigherModesFromString(const CHAR *inString); | |
| | | | |
| | | /* | |
| | | * Construct and initialize a waveform cache. Caches are used to | |
| | | * avoid re-computation of waveforms that differ only by simple | |
| | | * scaling relations in parameters. | |
| */ | | */ | |
|
| int XLALGetAdaptiveIntFromString(const CHAR *inString); | | LALSimInspiralWaveformCache *XLALCreateSimInspiralWaveformCache(void); | |
| | | | |
| /** | | /** | |
|
| * XLAL function to determine inspiral-only flag from a string. Returns | | * Destroy a waveform cache. | |
| * 1 if string contains 'inspiralOnly', otherwise returns 0 to signal | | | |
| * full inspiral-merger-ringdown waveform should be generated. | | | |
| */ | | */ | |
|
| int XLALGetInspiralOnlyFromString(const CHAR *inString); | | void XLALDestroySimInspiralWaveformCache(LALSimInspiralWaveformCache *cache
); | |
| | | | |
| /** | | /** | |
| * DEPRECATED: USE XLALSimInspiralChooseTDWaveform() INSTEAD | | * DEPRECATED: USE XLALSimInspiralChooseTDWaveform() INSTEAD | |
| * | | * | |
| * Chooses between different approximants when requesting a waveform to be
generated | | * Chooses between different approximants when requesting a waveform to be
generated | |
| * For spinning waveforms, all known spin effects up to given PN order are
included | | * For spinning waveforms, all known spin effects up to given PN order are
included | |
| * | | * | |
| * The parameters passed must be in SI units. | | * The parameters passed must be in SI units. | |
| */ | | */ | |
| int XLALSimInspiralChooseWaveform( | | int XLALSimInspiralChooseWaveform( | |
| | | | |
| skipping to change at line 977 | | skipping to change at line 1059 | |
| REAL8 lambda2, /**< (tidal deformability of mass 2) / m2^5
(dimensionless) */ | | REAL8 lambda2, /**< (tidal deformability of mass 2) / m2^5
(dimensionless) */ | |
| LALSimInspiralWaveformFlags *waveFlags, /**< Set of flags to control sp
ecial behavior of some waveform families. Pass in NULL (or None in python)
for default flags */ | | LALSimInspiralWaveformFlags *waveFlags, /**< Set of flags to control sp
ecial behavior of some waveform families. Pass in NULL (or None in python)
for default flags */ | |
| LALSimInspiralTestGRParam *nonGRparams, /**< Linked list of non-GR para
meters. Pass in NULL (or None in python) for standard GR waveforms */ | | LALSimInspiralTestGRParam *nonGRparams, /**< Linked list of non-GR para
meters. Pass in NULL (or None in python) for standard GR waveforms */ | |
| int amplitudeO, /**< twice post-Newtonian amplitude order *
/ | | int amplitudeO, /**< twice post-Newtonian amplitude order *
/ | |
| int phaseO, /**< twice post-Newtonian phase order */ | | int phaseO, /**< twice post-Newtonian phase order */ | |
| Approximant approximant /**< post-Newtonian approximant to use for
waveform production */ | | Approximant approximant /**< post-Newtonian approximant to use for
waveform production */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Chooses between different approximants when requesting a waveform to be
generated | | * Chooses between different approximants when requesting a waveform to be
generated | |
|
| | | * Returns the waveform in the time domain. | |
| | | * The parameters passed must be in SI units. | |
| | | * | |
| | | * This version allows caching of waveforms. The most recently generated | |
| | | * waveform and its parameters are stored. If the next call requests a wave | |
| | | form | |
| | | * that can be obtained by a simple transformation, then it is done. | |
| | | * This bypasses the waveform generation and speeds up the code. | |
| | | */ | |
| | | int XLALSimInspiralChooseTDWaveformFromCache( | |
| | | REAL8TimeSeries **hplus, /**< +-polarization waveform */ | |
| | | REAL8TimeSeries **hcross, /**< x-polarization waveform */ | |
| | | REAL8 phiRef, /**< reference orbital phase (rad) */ | |
| | | REAL8 deltaT, /**< sampling interval (s) */ | |
| | | REAL8 m1, /**< mass of companion 1 (kg) */ | |
| | | REAL8 m2, /**< mass of companion 2 (kg) */ | |
| | | REAL8 s1x, /**< x-component of the dimensionless spin | |
| | | of object 1 */ | |
| | | REAL8 s1y, /**< y-component of the dimensionless spin | |
| | | of object 1 */ | |
| | | REAL8 s1z, /**< z-component of the dimensionless spin | |
| | | of object 1 */ | |
| | | REAL8 s2x, /**< x-component of the dimensionless spin | |
| | | of object 2 */ | |
| | | REAL8 s2y, /**< y-component of the dimensionless spin | |
| | | of object 2 */ | |
| | | REAL8 s2z, /**< z-component of the dimensionless spin | |
| | | of object 2 */ | |
| | | REAL8 f_min, /**< starting GW frequency (Hz) */ | |
| | | REAL8 f_ref, /**< reference GW frequency (Hz) */ | |
| | | REAL8 r, /**< distance of source (m) */ | |
| | | REAL8 i, /**< inclination of source (rad) */ | |
| | | REAL8 lambda1, /**< (tidal deformability of mass 1) / m1^5 | |
| | | (dimensionless) */ | |
| | | REAL8 lambda2, /**< (tidal deformability of mass 2) / m2^5 | |
| | | (dimensionless) */ | |
| | | LALSimInspiralWaveformFlags *waveFlags, /**< Set of flags to control sp | |
| | | ecial behavior of some waveform families. Pass in NULL (or None in python) | |
| | | for default flags */ | |
| | | LALSimInspiralTestGRParam *nonGRparams, /**< Linked list of non-GR para | |
| | | meters. Pass in NULL (or None in python) for standard GR waveforms */ | |
| | | int amplitudeO, /**< twice post-Newtonian amplitude order * | |
| | | / | |
| | | int phaseO, /**< twice post-Newtonian phase order */ | |
| | | Approximant approximant, /**< post-Newtonian approximant to use for | |
| | | waveform production */ | |
| | | LALSimInspiralWaveformCache *cache /**< waveform cache structure; use | |
| | | NULL for no caching */ | |
| | | ); | |
| | | | |
| | | /** | |
| | | * Chooses between different approximants when requesting a waveform to be | |
| | | generated | |
| * For spinning waveforms, all known spin effects up to given PN order are
included | | * For spinning waveforms, all known spin effects up to given PN order are
included | |
| * Returns the waveform in the frequency domain. | | * Returns the waveform in the frequency domain. | |
| * | | * | |
| * The parameters passed must be in SI units. | | * The parameters passed must be in SI units. | |
| */ | | */ | |
| int XLALSimInspiralChooseFDWaveform( | | int XLALSimInspiralChooseFDWaveform( | |
|
| COMPLEX16FrequencySeries **htilde, /**< FD waveform */ | | COMPLEX16FrequencySeries **hptilde, /**< FD plus polarization * | |
| | | / | |
| | | COMPLEX16FrequencySeries **hctilde, /**< FD cross polarization | |
| | | */ | |
| REAL8 phiRef, /**< reference orbital phas
e (rad) */ | | REAL8 phiRef, /**< reference orbital phas
e (rad) */ | |
| REAL8 deltaF, /**< sampling interval (Hz)
*/ | | REAL8 deltaF, /**< sampling interval (Hz)
*/ | |
| REAL8 m1, /**< mass of companion 1 (k
g) */ | | REAL8 m1, /**< mass of companion 1 (k
g) */ | |
| REAL8 m2, /**< mass of companion 2 (k
g) */ | | REAL8 m2, /**< mass of companion 2 (k
g) */ | |
| REAL8 S1x, /**< x-component of the dim
ensionless spin of object 1 */ | | REAL8 S1x, /**< x-component of the dim
ensionless spin of object 1 */ | |
| REAL8 S1y, /**< y-component of the dim
ensionless spin of object 1 */ | | REAL8 S1y, /**< y-component of the dim
ensionless spin of object 1 */ | |
| REAL8 S1z, /**< z-component of the dim
ensionless spin of object 1 */ | | REAL8 S1z, /**< z-component of the dim
ensionless spin of object 1 */ | |
| REAL8 S2x, /**< x-component of the dim
ensionless spin of object 2 */ | | REAL8 S2x, /**< x-component of the dim
ensionless spin of object 2 */ | |
| REAL8 S2y, /**< y-component of the dim
ensionless spin of object 2 */ | | REAL8 S2y, /**< y-component of the dim
ensionless spin of object 2 */ | |
| REAL8 S2z, /**< z-component of the dim
ensionless spin of object 2 */ | | REAL8 S2z, /**< z-component of the dim
ensionless spin of object 2 */ | |
| | | | |
| skipping to change at line 1008 | | skipping to change at line 1128 | |
| REAL8 lambda1, /**< (tidal deformability o
f mass 1) / m1^5 (dimensionless) */ | | REAL8 lambda1, /**< (tidal deformability o
f mass 1) / m1^5 (dimensionless) */ | |
| REAL8 lambda2, /**< (tidal deformability o
f mass 2) / m2^5 (dimensionless) */ | | REAL8 lambda2, /**< (tidal deformability o
f mass 2) / m2^5 (dimensionless) */ | |
| LALSimInspiralWaveformFlags *waveFlags, /**< Set of flags to contro
l special behavior of some waveform families. Pass in NULL (or None in pyth
on) for default flags */ | | LALSimInspiralWaveformFlags *waveFlags, /**< Set of flags to contro
l special behavior of some waveform families. Pass in NULL (or None in pyth
on) for default flags */ | |
| LALSimInspiralTestGRParam *nonGRparams, /**< Linked list of non-GR p
arameters. Pass in NULL (or None in python) for standard GR waveforms */ | | LALSimInspiralTestGRParam *nonGRparams, /**< Linked list of non-GR p
arameters. Pass in NULL (or None in python) for standard GR waveforms */ | |
| int amplitudeO, /**< twice post-Newtonian a
mplitude order */ | | int amplitudeO, /**< twice post-Newtonian a
mplitude order */ | |
| int phaseO, /**< twice post-Newtonian o
rder */ | | int phaseO, /**< twice post-Newtonian o
rder */ | |
| Approximant approximant /**< post-Newtonian approxi
mant to use for waveform production */ | | Approximant approximant /**< post-Newtonian approxi
mant to use for waveform production */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
|
| * Interface to compute -2 spin-weighted spherical harmonic modes for a bin | | * Chooses between different approximants when requesting a waveform to be | |
| ary | | generated | |
| * inspiral of any available amplitude and phase PN order. | | * Returns the waveform in the frequency domain. | |
| * The phasing is computed with any of the TaylorT1, T2, T3, T4 methods. | | * The parameters passed must be in SI units. | |
| * | | * | |
|
| * FIXME: Interface will be changed to return a collection of modes. | | * This version allows caching of waveforms. The most recently generated | |
| | | * waveform and its parameters are stored. If the next call requests a wave | |
| | | form | |
| | | * that can be obtained by a simple transformation, then it is done. | |
| | | * This bypasses the waveform generation and speeds up the code. | |
| | | */ | |
| | | int XLALSimInspiralChooseFDWaveformFromCache( | |
| | | COMPLEX16FrequencySeries **hptilde, /**< FD plus polarization * | |
| | | / | |
| | | COMPLEX16FrequencySeries **hctilde, /**< FD cross polarization | |
| | | */ | |
| | | REAL8 phiRef, /**< reference orbital phas | |
| | | e (rad) */ | |
| | | REAL8 deltaF, /**< sampling interval (Hz) | |
| | | */ | |
| | | REAL8 m1, /**< mass of companion 1 (k | |
| | | g) */ | |
| | | REAL8 m2, /**< mass of companion 2 (k | |
| | | g) */ | |
| | | REAL8 S1x, /**< x-component of the dim | |
| | | ensionless spin of object 1 */ | |
| | | REAL8 S1y, /**< y-component of the dim | |
| | | ensionless spin of object 1 */ | |
| | | REAL8 S1z, /**< z-component of the dim | |
| | | ensionless spin of object 1 */ | |
| | | REAL8 S2x, /**< x-component of the dim | |
| | | ensionless spin of object 2 */ | |
| | | REAL8 S2y, /**< y-component of the dim | |
| | | ensionless spin of object 2 */ | |
| | | REAL8 S2z, /**< z-component of the dim | |
| | | ensionless spin of object 2 */ | |
| | | REAL8 f_min, /**< starting GW frequency | |
| | | (Hz) */ | |
| | | REAL8 f_max, /**< ending GW frequency (H | |
| | | z) */ | |
| | | REAL8 r, /**< distance of source (m) | |
| | | */ | |
| | | REAL8 i, /**< inclination of source | |
| | | (rad) */ | |
| | | REAL8 lambda1, /**< (tidal deformability o | |
| | | f mass 1) / m1^5 (dimensionless) */ | |
| | | REAL8 lambda2, /**< (tidal deformability o | |
| | | f mass 2) / m2^5 (dimensionless) */ | |
| | | LALSimInspiralWaveformFlags *waveFlags, /**< Set of flags to contro | |
| | | l special behavior of some waveform families. Pass in NULL (or None in pyth | |
| | | on) for default flags */ | |
| | | LALSimInspiralTestGRParam *nonGRparams, /**< Linked list of non-GR p | |
| | | arameters. Pass in NULL (or None in python) for standard GR waveforms */ | |
| | | int amplitudeO, /**< twice post-Newtonian a | |
| | | mplitude order */ | |
| | | int phaseO, /**< twice post-Newtonian o | |
| | | rder */ | |
| | | Approximant approximant, /**< post-Newtonian approxi | |
| | | mant to use for waveform production */ | |
| | | LALSimInspiralWaveformCache *cache /**< waveform cache structur | |
| | | e; use NULL for no caching */ | |
| | | ); | |
| | | | |
| | | /** | |
| | | * Interface to compute a set of -2 spin-weighted spherical harmonic modes | |
| | | * for a binary inspiral of any available amplitude and phase PN order. | |
| | | * The phasing is computed with any of the TaylorT1, T2, T3, T4 methods. | |
| | | */ | |
| | | SphHarmTimeSeries *XLALSimInspiralChooseTDModes( | |
| | | REAL8 phiRef, /**< reference orbital phas | |
| | | e (rad) */ | |
| | | REAL8 deltaT, /**< sampling interval (s) | |
| | | */ | |
| | | REAL8 m1, /**< mass of companion 1 (k | |
| | | g) */ | |
| | | REAL8 m2, /**< mass of companion 2 (k | |
| | | g) */ | |
| | | REAL8 f_min, /**< starting GW frequency | |
| | | (Hz) */ | |
| | | REAL8 f_ref, /**< reference GW frequency | |
| | | (Hz) */ | |
| | | REAL8 r, /**< distance of source (m) | |
| | | */ | |
| | | REAL8 lambda1, /**< (tidal deformability o | |
| | | f mass 1) / m1^5 (dimensionless) */ | |
| | | REAL8 lambda2, /**< (tidal deformability o | |
| | | f mass 2) / m2^5 (dimensionless) */ | |
| | | LALSimInspiralWaveformFlags *waveFlags, /**< Set of flags to contro | |
| | | l special behavior of some waveform families. Pass in NULL (or None in pyth | |
| | | on) for default flags */ | |
| | | LALSimInspiralTestGRParam *nonGRparams, /**< Linked list of non-GR p | |
| | | arameters. Pass in NULL (or None in python) for standard GR waveforms */ | |
| | | int amplitudeO, /**< twice post-Newtonian a | |
| | | mplitude order */ | |
| | | int phaseO, /**< twice post-Newtonian o | |
| | | rder */ | |
| | | int lmax, /**< generate all modes wit | |
| | | h l <= lmax */ | |
| | | Approximant approximant /**< post-Newtonian approxi | |
| | | mant to use for waveform production */ | |
| | | ); | |
| | | | |
| | | /** | |
| | | * Interface to compute a single -2 spin-weighted spherical harmonic mode | |
| | | * for a binary inspiral of any available amplitude and phase PN order. | |
| | | * The phasing is computed with any of the TaylorT1, T2, T3, T4 methods. | |
| */ | | */ | |
|
| COMPLEX16TimeSeries *XLALSimInspiralChooseTDModes( | | COMPLEX16TimeSeries *XLALSimInspiralChooseTDMode( | |
| REAL8 phiRef, /**< reference orbital phas
e (rad) */ | | REAL8 phiRef, /**< reference orbital phas
e (rad) */ | |
| REAL8 deltaT, /**< sampling interval (s)
*/ | | REAL8 deltaT, /**< sampling interval (s)
*/ | |
| REAL8 m1, /**< mass of companion 1 (k
g) */ | | REAL8 m1, /**< mass of companion 1 (k
g) */ | |
| REAL8 m2, /**< mass of companion 2 (k
g) */ | | REAL8 m2, /**< mass of companion 2 (k
g) */ | |
| REAL8 f_min, /**< starting GW frequency
(Hz) */ | | REAL8 f_min, /**< starting GW frequency
(Hz) */ | |
| REAL8 f_ref, /**< reference GW frequency
(Hz) */ | | REAL8 f_ref, /**< reference GW frequency
(Hz) */ | |
| REAL8 r, /**< distance of source (m)
*/ | | REAL8 r, /**< distance of source (m)
*/ | |
| REAL8 lambda1, /**< (tidal deformability o
f mass 1) / m1^5 (dimensionless) */ | | REAL8 lambda1, /**< (tidal deformability o
f mass 1) / m1^5 (dimensionless) */ | |
| REAL8 lambda2, /**< (tidal deformability o
f mass 2) / m2^5 (dimensionless) */ | | REAL8 lambda2, /**< (tidal deformability o
f mass 2) / m2^5 (dimensionless) */ | |
| LALSimInspiralWaveformFlags *waveFlags, /**< Set of flags to contro
l special behavior of some waveform families. Pass in NULL (or None in pyth
on) for default flags */ | | LALSimInspiralWaveformFlags *waveFlags, /**< Set of flags to contro
l special behavior of some waveform families. Pass in NULL (or None in pyth
on) for default flags */ | |
| LALSimInspiralTestGRParam *nonGRparams, /**< Linked list of non-GR p
arameters. Pass in NULL (or None in python) for standard GR waveforms */ | | LALSimInspiralTestGRParam *nonGRparams, /**< Linked list of non-GR p
arameters. Pass in NULL (or None in python) for standard GR waveforms */ | |
| int amplitudeO, /**< twice post-Newtonian a
mplitude order */ | | int amplitudeO, /**< twice post-Newtonian a
mplitude order */ | |
| int phaseO, /**< twice post-Newtonian o
rder */ | | int phaseO, /**< twice post-Newtonian o
rder */ | |
|
| int l, /**< l index of mode - repl | | int l, /**< l index of mode */ | |
| ace with a struct of several integer pairs */ | | int m, /**< m index of mode */ | |
| int m, /**< m index of mode - ditt | | | |
| o */ | | | |
| Approximant approximant /**< post-Newtonian approxi
mant to use for waveform production */ | | Approximant approximant /**< post-Newtonian approxi
mant to use for waveform production */ | |
| ); | | ); | |
| | | | |
| /* TaylorT4 functions */ | | /* TaylorT4 functions */ | |
| | | | |
| /** | | /** | |
| * Evolves a post-Newtonian orbit using the Taylor T4 method. | | * Evolves a post-Newtonian orbit using the Taylor T4 method. | |
| * | | * | |
| * See: | | * See: | |
| * Michael Boyle, Duncan A. Brown, Lawrence E. Kidder, Abdul H. Mroue, | | * Michael Boyle, Duncan A. Brown, Lawrence E. Kidder, Abdul H. Mroue, | |
| * Harald P. Pfeiffer, Mark A. Scheel, Gregory B. Cook, and Saul A. Teukolsk
y | | * Harald P. Pfeiffer, Mark A. Scheel, Gregory B. Cook, and Saul A. Teukolsk
y | |
| * \"High-accuracy comparison of numerical relativity simulations with | | * \"High-accuracy comparison of numerical relativity simulations with | |
| * post-Newtonian expansions\" | | * post-Newtonian expansions\" | |
| * <a href="http://arxiv.org/abs/0710.0158v2">arXiv:0710.0158v2</a>. | | * <a href="http://arxiv.org/abs/0710.0158v2">arXiv:0710.0158v2</a>. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT4PNEvolveOrbit( | | int XLALSimInspiralTaylorT4PNEvolveOrbit( | |
|
| REAL8TimeSeries **v, /**< post-Newton | | REAL8TimeSeries **v, /**< post-Newtonian paramete | |
| ian parameter [returned] */ | | r [returned] */ | |
| REAL8TimeSeries **phi, /**< orbital pha | | REAL8TimeSeries **phi, /**< orbital phase [returned | |
| se [returned] */ | | ] */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< start frequ | | REAL8 f_min, /**< start frequency (Hz) */ | |
| ency (Hz) */ | | REAL8 fRef, /**< reference frequency (Hz | |
| REAL8 fRef, /**< reference f | | ) */ | |
| requency (Hz) */ | | REAL8 lambda1, /**< (tidal deformability of | |
| REAL8 lambda1, /**< (tidal defo | | body 1)/(mass of body 1)^5 */ | |
| rmability of body 1)/(mass of body 1)^5 */ | | REAL8 lambda2, /**< (tidal deformability of | |
| REAL8 lambda2, /**< (tidal defo | | body 2)/(mass of body 2)^5 */ | |
| rmability of body 2)/(mass of body 2)^5 */ | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | effects */ | |
| trol spin and tidal effects */ | | int O /**< twice post-Newtonian or | |
| int O /**< twice post- | | der */ | |
| Newtonian order */ | | | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the post-Newtonian inspiral waveform. | | * Driver routine to compute the post-Newtonian inspiral waveform. | |
| * | | * | |
| * This routine allows the user to specify different pN orders | | * This routine allows the user to specify different pN orders | |
| * for phasing calcuation vs. amplitude calculations. | | * for phasing calcuation vs. amplitude calculations. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT4PNGenerator( | | int XLALSimInspiralTaylorT4PNGenerator( | |
|
| REAL8TimeSeries **hplus, /**< +-polarizat | | REAL8TimeSeries **hplus, /**< +-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8TimeSeries **hcross, /**< x-polarizat | | REAL8TimeSeries **hcross, /**< x-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 v0, /**< tail-term g | | REAL8 v0, /**< tail-term gauge choice | |
| auge choice (default = 1) */ | | (default = 1) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< starting GW | | REAL8 f_min, /**< starting GW frequency ( | |
| frequency (Hz) */ | | Hz) */ | |
| REAL8 fRef, /**< reference G | | REAL8 fRef, /**< reference GW frequency | |
| W frequency (Hz) */ | | (Hz) */ | |
| REAL8 r, /**< distance of | | REAL8 r, /**< distance of source (m) | |
| source (m) */ | | */ | |
| REAL8 i, /**< inclination | | REAL8 i, /**< inclination of source ( | |
| of source (rad) */ | | rad) */ | |
| REAL8 lambda1, /**< (tidal defo | | REAL8 lambda1, /**< (tidal deformability of | |
| rmability of body 1)/(mass of body 1)^5 */ | | body 1)/(mass of body 1)^5 */ | |
| REAL8 lambda2, /**< (tidal defo | | REAL8 lambda2, /**< (tidal deformability of | |
| rmability of body 2)/(mass of body 2)^5 */ | | body 2)/(mass of body 2)^5 */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| trol spin and tidal effects */ | | effects */ | |
| int amplitudeO, /**< twice post- | | int amplitudeO, /**< twice post-Newtonian am | |
| Newtonian amplitude order */ | | plitude order */ | |
| int phaseO /**< twice post- | | int phaseO /**< twice post-Newtonian ph | |
| Newtonian phase order */ | | ase order */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the -2 spin-weighted spherical harmonic mode | | * Driver routine to compute the -2 spin-weighted spherical harmonic mode | |
| * using TaylorT4 phasing. | | * using TaylorT4 phasing. | |
| */ | | */ | |
|
| COMPLEX16TimeSeries *XLALSimInspiralTaylorT4PNModes( | | SphHarmTimeSeries *XLALSimInspiralTaylorT4PNModes( | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 v0, /**< tail-term g | | REAL8 v0, /**< tail-term gauge choice | |
| auge choice (default = 1) */ | | (default = 1) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< starting GW | | REAL8 f_min, /**< starting GW frequency ( | |
| frequency (Hz) */ | | Hz) */ | |
| REAL8 fRef, /**< reference G | | REAL8 fRef, /**< reference GW frequency | |
| W frequency (Hz) */ | | (Hz) */ | |
| REAL8 r, /**< distance of | | REAL8 r, /**< distance of source (m) | |
| source (m) */ | | */ | |
| REAL8 lambda1, /**< (tidal defo | | REAL8 lambda1, /**< (tidal deformability of | |
| rmability of body 1)/(mass of body 1)^5 */ | | body 1)/(mass of body 1)^5 */ | |
| REAL8 lambda2, /**< (tidal defo | | REAL8 lambda2, /**< (tidal deformability of | |
| rmability of body 2)/(mass of body 2)^5 */ | | body 2)/(mass of body 2)^5 */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| trol spin and tidal effects */ | | effects */ | |
| int amplitudeO, /**< twice post- | | int amplitudeO, /**< twice post-Newtonian am | |
| Newtonian amplitude order */ | | plitude order */ | |
| int phaseO, /**< twice post- | | int phaseO, /**< twice post-Newtonian ph | |
| Newtonian phase order */ | | ase order */ | |
| int l, /**< l index of | | int lmax /**< generate all modes with | |
| mode */ | | l <= lmax */ | |
| int m /**< m index of | | ); | |
| mode */ | | | |
| | | /** | |
| | | * Driver routine to compute the -2 spin-weighted spherical harmonic mode | |
| | | * using TaylorT4 phasing. | |
| | | */ | |
| | | COMPLEX16TimeSeries *XLALSimInspiralTaylorT4PNMode( | |
| | | REAL8 phiRef, /**< reference orbital phase | |
| | | (rad) */ | |
| | | REAL8 v0, /**< tail-term gauge choice | |
| | | (default = 1) */ | |
| | | REAL8 deltaT, /**< sampling interval (s) * | |
| | | / | |
| | | REAL8 m1, /**< mass of companion 1 (kg | |
| | | ) */ | |
| | | REAL8 m2, /**< mass of companion 2 (kg | |
| | | ) */ | |
| | | REAL8 f_min, /**< starting GW frequency ( | |
| | | Hz) */ | |
| | | REAL8 fRef, /**< reference GW frequency | |
| | | (Hz) */ | |
| | | REAL8 r, /**< distance of source (m) | |
| | | */ | |
| | | REAL8 lambda1, /**< (tidal deformability of | |
| | | body 1)/(mass of body 1)^5 */ | |
| | | REAL8 lambda2, /**< (tidal deformability of | |
| | | body 2)/(mass of body 2)^5 */ | |
| | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| | | effects */ | |
| | | int amplitudeO, /**< twice post-Newtonian am | |
| | | plitude order */ | |
| | | int phaseO, /**< twice post-Newtonian ph | |
| | | ase order */ | |
| | | int l, /**< l index of mode */ | |
| | | int m /**< m index of mode */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the post-Newtonian inspiral waveform. | | * Driver routine to compute the post-Newtonian inspiral waveform. | |
| * | | * | |
| * This routine uses the same pN order for phasing and amplitude | | * This routine uses the same pN order for phasing and amplitude | |
| * (unless the order is -1 in which case the highest available | | * (unless the order is -1 in which case the highest available | |
| * order is used for both of these -- which might not be the same). | | * order is used for both of these -- which might not be the same). | |
| * | | * | |
| * Constant log term in amplitude set to 1. This is a gauge choice. | | * Constant log term in amplitude set to 1. This is a gauge choice. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT4PN( | | int XLALSimInspiralTaylorT4PN( | |
|
| REAL8TimeSeries **hplus, /**< +-polarizat | | REAL8TimeSeries **hplus, /**< +-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8TimeSeries **hcross, /**< x-polarizat | | REAL8TimeSeries **hcross, /**< x-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (Hz) | |
| terval (Hz) */ | | */ | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< start frequ | | REAL8 f_min, /**< start frequency (Hz) */ | |
| ency (Hz) */ | | REAL8 fRef, /**< reference frequency (Hz | |
| REAL8 fRef, /**< reference f | | ) */ | |
| requency (Hz) */ | | REAL8 r, /**< distance of source (m) | |
| REAL8 r, /**< distance of | | */ | |
| source (m) */ | | REAL8 i, /**< inclination of source ( | |
| REAL8 i, /**< inclination | | rad) */ | |
| of source (rad) */ | | REAL8 lambda1, /**< (tidal deformability of | |
| REAL8 lambda1, /**< (tidal defo | | body 1)/(mass of body 1)^5 */ | |
| rmability of body 1)/(mass of body 1)^5 */ | | REAL8 lambda2, /**< (tidal deformability of | |
| REAL8 lambda2, /**< (tidal defo | | body 2)/(mass of body 2)^5 */ | |
| rmability of body 2)/(mass of body 2)^5 */ | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | effects */ | |
| trol spin and tidal effects */ | | int O /**< twice post-Newtonian or | |
| int O /**< twice post- | | der */ | |
| Newtonian order */ | | | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the restricted post-Newtonian inspiral wavefor
m. | | * Driver routine to compute the restricted post-Newtonian inspiral wavefor
m. | |
| * | | * | |
| * This routine computes the phasing to the specified order, but | | * This routine computes the phasing to the specified order, but | |
| * only computes the amplitudes to the Newtonian (quadrupole) order. | | * only computes the amplitudes to the Newtonian (quadrupole) order. | |
| * | | * | |
| * Constant log term in amplitude set to 1. This is a gauge choice. | | * Constant log term in amplitude set to 1. This is a gauge choice. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT4PNRestricted( | | int XLALSimInspiralTaylorT4PNRestricted( | |
|
| REAL8TimeSeries **hplus, /**< +-polarizat | | REAL8TimeSeries **hplus, /**< +-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8TimeSeries **hcross, /**< x-polarizat | | REAL8TimeSeries **hcross, /**< x-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< start frequ | | REAL8 f_min, /**< start frequency (Hz) */ | |
| ency (Hz) */ | | REAL8 fRef, /**< reference frequency (Hz | |
| REAL8 fRef, /**< reference f | | ) */ | |
| requency (Hz) */ | | REAL8 r, /**< distance of source (m) | |
| REAL8 r, /**< distance of | | */ | |
| source (m) */ | | REAL8 i, /**< inclination of source ( | |
| REAL8 i, /**< inclination | | rad) */ | |
| of source (rad) */ | | REAL8 lambda1, /**< (tidal deformability of | |
| REAL8 lambda1, /**< (tidal defo | | body 1)/(mass of body 1)^5 */ | |
| rmability of body 1)/(mass of body 1)^5 */ | | REAL8 lambda2, /**< (tidal deformability of | |
| REAL8 lambda2, /**< (tidal defo | | body 2)/(mass of body 2)^5 */ | |
| rmability of body 2)/(mass of body 2)^5 */ | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | effects */ | |
| trol spin and tidal effects */ | | int O /**< twice post-Newtonian ph | |
| int O /**< twice post- | | ase order */ | |
| Newtonian phase order */ | | | |
| ); | | ); | |
| | | | |
| /* TaylorT3 functions */ | | /* TaylorT3 functions */ | |
| | | | |
| /** | | /** | |
| * Evolves a post-Newtonian orbit using the Taylor T3 method. | | * Evolves a post-Newtonian orbit using the Taylor T3 method. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT3PNEvolveOrbit( | | int XLALSimInspiralTaylorT3PNEvolveOrbit( | |
|
| REAL8TimeSeries **V, /**< post-Newton | | REAL8TimeSeries **V, /**< post-Newtonian paramete | |
| ian parameter [returned] */ | | r [returned] */ | |
| REAL8TimeSeries **phi, /**< orbital pha | | REAL8TimeSeries **phi, /**< orbital phase [returned | |
| se [returned] */ | | ] */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< starting GW | | REAL8 f_min, /**< starting GW frequency ( | |
| frequency (Hz) */ | | Hz) */ | |
| REAL8 fRef, /**< reference G | | REAL8 fRef, /**< reference GW frequency | |
| W frequency (Hz) */ | | (Hz) */ | |
| REAL8 lambda1, /**< (tidal defo | | REAL8 lambda1, /**< (tidal deformability of | |
| rmability of body 1)/(mass of body 1)^5 */ | | body 1)/(mass of body 1)^5 */ | |
| REAL8 lambda2, /**< (tidal defo | | REAL8 lambda2, /**< (tidal deformability of | |
| rmability of body 2)/(mass of body 2)^5 */ | | body 2)/(mass of body 2)^5 */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| trol spin and tidal effects */ | | effects */ | |
| int O /**< twice post- | | int O /**< twice post-Newtonian or | |
| Newtonian order */ | | der */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the post-Newtonian inspiral waveform. | | * Driver routine to compute the post-Newtonian inspiral waveform. | |
| * | | * | |
| * This routine allows the user to specify different pN orders | | * This routine allows the user to specify different pN orders | |
| * for phasing calcuation vs. amplitude calculations. | | * for phasing calcuation vs. amplitude calculations. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT3PNGenerator( | | int XLALSimInspiralTaylorT3PNGenerator( | |
|
| REAL8TimeSeries **hplus, /**< +-polarizat | | REAL8TimeSeries **hplus, /**< +-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8TimeSeries **hcross, /**< x-polarizat | | REAL8TimeSeries **hcross, /**< x-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 v0, /**< tail-term g | | REAL8 v0, /**< tail-term gauge choice | |
| auge choice (default = 1) */ | | (default = 1) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< starting GW | | REAL8 f_min, /**< starting GW frequency ( | |
| frequency (Hz) */ | | Hz) */ | |
| REAL8 fRef, /**< reference G | | REAL8 fRef, /**< reference GW frequency | |
| W frequency (Hz) */ | | (Hz) */ | |
| REAL8 r, /**< distance of | | REAL8 r, /**< distance of source (m) | |
| source (m) */ | | */ | |
| REAL8 i, /**< inclination | | REAL8 i, /**< inclination of source ( | |
| of source (rad) */ | | rad) */ | |
| REAL8 lambda1, /**< (tidal defo | | REAL8 lambda1, /**< (tidal deformability of | |
| rmability of body 1)/(mass of body 1)^5 */ | | body 1)/(mass of body 1)^5 */ | |
| REAL8 lambda2, /**< (tidal defo | | REAL8 lambda2, /**< (tidal deformability of | |
| rmability of body 2)/(mass of body 2)^5 */ | | body 2)/(mass of body 2)^5 */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| trol spin and tidal effects */ | | effects */ | |
| int amplitudeO, /**< twice post- | | int amplitudeO, /**< twice post-Newtonian am | |
| Newtonian amplitude order */ | | plitude order */ | |
| int phaseO /**< twice post- | | int phaseO /**< twice post-Newtonian ph | |
| Newtonian phase order */ | | ase order */ | |
| | | ); | |
| | | | |
| | | /** | |
| | | * Driver routine to compute the -2 spin-weighted spherical harmonic modes | |
| | | * using TaylorT3 phasing. | |
| | | */ | |
| | | SphHarmTimeSeries *XLALSimInspiralTaylorT3PNModes( | |
| | | REAL8 phiRef, /**< reference orbital phase | |
| | | (rad) */ | |
| | | REAL8 v0, /**< tail-term gauge choice | |
| | | (default = 1) */ | |
| | | REAL8 deltaT, /**< sampling interval (s) * | |
| | | / | |
| | | REAL8 m1, /**< mass of companion 1 (kg | |
| | | ) */ | |
| | | REAL8 m2, /**< mass of companion 2 (kg | |
| | | ) */ | |
| | | REAL8 f_min, /**< starting GW frequency ( | |
| | | Hz) */ | |
| | | REAL8 fRef, /**< reference GW frequency | |
| | | (Hz) */ | |
| | | REAL8 r, /**< distance of source (m) | |
| | | */ | |
| | | REAL8 lambda1, /**< (tidal deformability of | |
| | | body 1)/(mass of body 1)^5 */ | |
| | | REAL8 lambda2, /**< (tidal deformability of | |
| | | body 2)/(mass of body 2)^5 */ | |
| | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| | | effects */ | |
| | | int amplitudeO, /**< twice post-Newtonian am | |
| | | plitude order */ | |
| | | int phaseO, /**< twice post-Newtonian ph | |
| | | ase order */ | |
| | | int lmax /**< generate all modes with | |
| | | l <= lmax */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the -2 spin-weighted spherical harmonic mode | | * Driver routine to compute the -2 spin-weighted spherical harmonic mode | |
| * using TaylorT3 phasing. | | * using TaylorT3 phasing. | |
| */ | | */ | |
|
| COMPLEX16TimeSeries *XLALSimInspiralTaylorT3PNModes( | | COMPLEX16TimeSeries *XLALSimInspiralTaylorT3PNMode( | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 v0, /**< tail-term g | | REAL8 v0, /**< tail-term gauge choice | |
| auge choice (default = 1) */ | | (default = 1) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< starting GW | | REAL8 f_min, /**< starting GW frequency ( | |
| frequency (Hz) */ | | Hz) */ | |
| REAL8 fRef, /**< reference G | | REAL8 fRef, /**< reference GW frequency | |
| W frequency (Hz) */ | | (Hz) */ | |
| REAL8 r, /**< distance of | | REAL8 r, /**< distance of source (m) | |
| source (m) */ | | */ | |
| REAL8 lambda1, /**< (tidal defo | | REAL8 lambda1, /**< (tidal deformability of | |
| rmability of body 1)/(mass of body 1)^5 */ | | body 1)/(mass of body 1)^5 */ | |
| REAL8 lambda2, /**< (tidal defo | | REAL8 lambda2, /**< (tidal deformability of | |
| rmability of body 2)/(mass of body 2)^5 */ | | body 2)/(mass of body 2)^5 */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| trol spin and tidal effects */ | | effects */ | |
| int amplitudeO, /**< twice post- | | int amplitudeO, /**< twice post-Newtonian am | |
| Newtonian amplitude order */ | | plitude order */ | |
| int phaseO, /**< twice post- | | int phaseO, /**< twice post-Newtonian ph | |
| Newtonian phase order */ | | ase order */ | |
| int l, /**< l index of | | int l, /**< l index of mode */ | |
| mode */ | | int m /**< m index of mode */ | |
| int m /**< m index of | | | |
| mode */ | | | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the post-Newtonian inspiral waveform. | | * Driver routine to compute the post-Newtonian inspiral waveform. | |
| * | | * | |
| * This routine uses the same pN order for phasing and amplitude | | * This routine uses the same pN order for phasing and amplitude | |
| * (unless the order is -1 in which case the highest available | | * (unless the order is -1 in which case the highest available | |
| * order is used for both of these -- which might not be the same). | | * order is used for both of these -- which might not be the same). | |
| * | | * | |
| * Constant log term in amplitude set to 1. This is a gauge choice. | | * Constant log term in amplitude set to 1. This is a gauge choice. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT3PN( | | int XLALSimInspiralTaylorT3PN( | |
|
| REAL8TimeSeries **hplus, /**< +-polarizat | | REAL8TimeSeries **hplus, /**< +-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8TimeSeries **hcross, /**< x-polarizat | | REAL8TimeSeries **hcross, /**< x-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< starting GW | | REAL8 f_min, /**< starting GW frequency ( | |
| frequency (Hz) */ | | Hz) */ | |
| REAL8 fRef, /**< reference G | | REAL8 fRef, /**< reference GW frequency | |
| W frequency (Hz) */ | | (Hz) */ | |
| REAL8 r, /**< distance of | | REAL8 r, /**< distance of source (m) | |
| source (m) */ | | */ | |
| REAL8 i, /**< inclination | | REAL8 i, /**< inclination of source ( | |
| of source (rad) */ | | rad) */ | |
| REAL8 lambda1, /**< (tidal defo | | REAL8 lambda1, /**< (tidal deformability of | |
| rmability of body 1)/(mass of body 1)^5 */ | | body 1)/(mass of body 1)^5 */ | |
| REAL8 lambda2, /**< (tidal defo | | REAL8 lambda2, /**< (tidal deformability of | |
| rmability of body 2)/(mass of body 2)^5 */ | | body 2)/(mass of body 2)^5 */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| trol spin and tidal effects */ | | effects */ | |
| int O /**< twice post- | | int O /**< twice post-Newtonian or | |
| Newtonian order */ | | der */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the restricted post-Newtonian inspiral wavefor
m. | | * Driver routine to compute the restricted post-Newtonian inspiral wavefor
m. | |
| * | | * | |
| * This routine computes the phasing to the specified order, but | | * This routine computes the phasing to the specified order, but | |
| * only computes the amplitudes to the Newtonian (quadrupole) order. | | * only computes the amplitudes to the Newtonian (quadrupole) order. | |
| * | | * | |
| * Constant log term in amplitude set to 1. This is a gauge choice. | | * Constant log term in amplitude set to 1. This is a gauge choice. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT3PNRestricted( | | int XLALSimInspiralTaylorT3PNRestricted( | |
|
| REAL8TimeSeries **hplus, /**< +-polarizat | | REAL8TimeSeries **hplus, /**< +-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8TimeSeries **hcross, /**< x-polarizat | | REAL8TimeSeries **hcross, /**< x-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< starting GW | | REAL8 f_min, /**< starting GW frequency ( | |
| frequency (Hz) */ | | Hz) */ | |
| REAL8 fRef, /**< reference G | | REAL8 fRef, /**< reference GW frequency | |
| W frequency (Hz) */ | | (Hz) */ | |
| REAL8 r, /**< distance of | | REAL8 r, /**< distance of source (m)* | |
| source (m)*/ | | / | |
| REAL8 i, /**< inclination | | REAL8 i, /**< inclination of source ( | |
| of source (rad) */ | | rad) */ | |
| REAL8 lambda1, /**< (tidal defo | | REAL8 lambda1, /**< (tidal deformability of | |
| rmability of body 1)/(mass of body 1)^5 */ | | body 1)/(mass of body 1)^5 */ | |
| REAL8 lambda2, /**< (tidal defo | | REAL8 lambda2, /**< (tidal deformability of | |
| rmability of body 2)/(mass of body 2)^5 */ | | body 2)/(mass of body 2)^5 */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| trol spin and tidal effects */ | | effects */ | |
| int O /**< twice post- | | int O /**< twice post-Newtonian ph | |
| Newtonian phase order */ | | ase order */ | |
| ); | | ); | |
| | | | |
| /* TaylorT2 functions */ | | /* TaylorT2 functions */ | |
| | | | |
| /** | | /** | |
| * Evolves a post-Newtonian orbit using the Taylor T2 method. | | * Evolves a post-Newtonian orbit using the Taylor T2 method. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT2PNEvolveOrbit( | | int XLALSimInspiralTaylorT2PNEvolveOrbit( | |
|
| REAL8TimeSeries **V, /**< post-Newton | | REAL8TimeSeries **V, /**< post-Newtonian paramete | |
| ian parameter [returned] */ | | r [returned] */ | |
| REAL8TimeSeries **phi, /**< orbital pha | | REAL8TimeSeries **phi, /**< orbital phase [returned | |
| se [returned] */ | | ] */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< starting GW | | REAL8 f_min, /**< starting GW frequency ( | |
| frequency (Hz) */ | | Hz) */ | |
| REAL8 fRef, /**< reference G | | REAL8 fRef, /**< reference GW frequency | |
| W frequency (Hz) */ | | (Hz) */ | |
| REAL8 lambda1, /**< (tidal defo | | REAL8 lambda1, /**< (tidal deformability of | |
| rmability of body 1)/(mass of body 1)^5 */ | | body 1)/(mass of body 1)^5 */ | |
| REAL8 lambda2, /**< (tidal defo | | REAL8 lambda2, /**< (tidal deformability of | |
| rmability of body 2)/(mass of body 2)^5 */ | | body 2)/(mass of body 2)^5 */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| trol spin and tidal effects */ | | effects */ | |
| int O /**< twice post- | | int O /**< twice post-Newtonian or | |
| Newtonian order */ | | der */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the post-Newtonian inspiral waveform. | | * Driver routine to compute the post-Newtonian inspiral waveform. | |
| * | | * | |
| * This routine allows the user to specify different pN orders | | * This routine allows the user to specify different pN orders | |
| * for phasing calcuation vs. amplitude calculations. | | * for phasing calcuation vs. amplitude calculations. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT2PNGenerator( | | int XLALSimInspiralTaylorT2PNGenerator( | |
|
| REAL8TimeSeries **hplus, /**< +-polarizat | | REAL8TimeSeries **hplus, /**< +-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8TimeSeries **hcross, /**< x-polarizat | | REAL8TimeSeries **hcross, /**< x-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 v0, /**< tail-term g | | REAL8 v0, /**< tail-term gauge choice | |
| auge choice (default = 1) */ | | (default = 1) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< starting GW | | REAL8 f_min, /**< starting GW frequency ( | |
| frequency (Hz) */ | | Hz) */ | |
| REAL8 fRef, /**< reference G | | REAL8 fRef, /**< reference GW frequency | |
| W frequency (Hz) */ | | (Hz) */ | |
| REAL8 r, /**< distance of | | REAL8 r, /**< distance of source (m) | |
| source (m) */ | | */ | |
| REAL8 i, /**< inclination | | REAL8 i, /**< inclination of source ( | |
| of source (rad) */ | | rad) */ | |
| REAL8 lambda1, /**< (tidal defo | | REAL8 lambda1, /**< (tidal deformability of | |
| rmability of body 1)/(mass of body 1)^5 */ | | body 1)/(mass of body 1)^5 */ | |
| REAL8 lambda2, /**< (tidal defo | | REAL8 lambda2, /**< (tidal deformability of | |
| rmability of body 2)/(mass of body 2)^5 */ | | body 2)/(mass of body 2)^5 */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| trol spin and tidal effects */ | | effects */ | |
| int amplitudeO, /**< twice post- | | int amplitudeO, /**< twice post-Newtonian am | |
| Newtonian amplitude order */ | | plitude order */ | |
| int phaseO /**< twice post- | | int phaseO /**< twice post-Newtonian ph | |
| Newtonian phase order */ | | ase order */ | |
| | | ); | |
| | | | |
| | | /** | |
| | | * Driver routine to compute the -2 spin-weighted spherical harmonic modes | |
| | | * using TaylorT2 phasing. | |
| | | */ | |
| | | SphHarmTimeSeries *XLALSimInspiralTaylorT2PNModes( | |
| | | REAL8 phiRef, /**< reference orbital phase | |
| | | (rad) */ | |
| | | REAL8 v0, /**< tail-term gauge choice | |
| | | (default = 1) */ | |
| | | REAL8 deltaT, /**< sampling interval (s) * | |
| | | / | |
| | | REAL8 m1, /**< mass of companion 1 (kg | |
| | | ) */ | |
| | | REAL8 m2, /**< mass of companion 2 (kg | |
| | | ) */ | |
| | | REAL8 f_min, /**< starting GW frequency ( | |
| | | Hz) */ | |
| | | REAL8 fRef, /**< reference GW frequency | |
| | | (Hz) */ | |
| | | REAL8 r, /**< distance of source (m) | |
| | | */ | |
| | | REAL8 lambda1, /**< (tidal deformability of | |
| | | body 1)/(mass of body 1)^5 */ | |
| | | REAL8 lambda2, /**< (tidal deformability of | |
| | | body 2)/(mass of body 2)^5 */ | |
| | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| | | effects */ | |
| | | int amplitudeO, /**< twice post-Newtonian am | |
| | | plitude order */ | |
| | | int phaseO, /**< twice post-Newtonian ph | |
| | | ase order */ | |
| | | int lmax /**< generate all modes with | |
| | | l <= lmax */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the -2 spin-weighted spherical harmonic mode | | * Driver routine to compute the -2 spin-weighted spherical harmonic mode | |
| * using TaylorT2 phasing. | | * using TaylorT2 phasing. | |
| */ | | */ | |
|
| COMPLEX16TimeSeries *XLALSimInspiralTaylorT2PNModes( | | COMPLEX16TimeSeries *XLALSimInspiralTaylorT2PNMode( | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 v0, /**< tail-term g | | REAL8 v0, /**< tail-term gauge choice | |
| auge choice (default = 1) */ | | (default = 1) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< starting GW | | REAL8 f_min, /**< starting GW frequency ( | |
| frequency (Hz) */ | | Hz) */ | |
| REAL8 fRef, /**< reference G | | REAL8 fRef, /**< reference GW frequency | |
| W frequency (Hz) */ | | (Hz) */ | |
| REAL8 r, /**< distance of | | REAL8 r, /**< distance of source (m) | |
| source (m) */ | | */ | |
| REAL8 lambda1, /**< (tidal defo | | REAL8 lambda1, /**< (tidal deformability of | |
| rmability of body 1)/(mass of body 1)^5 */ | | body 1)/(mass of body 1)^5 */ | |
| REAL8 lambda2, /**< (tidal defo | | REAL8 lambda2, /**< (tidal deformability of | |
| rmability of body 2)/(mass of body 2)^5 */ | | body 2)/(mass of body 2)^5 */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| trol spin and tidal effects */ | | effects */ | |
| int amplitudeO, /**< twice post- | | int amplitudeO, /**< twice post-Newtonian am | |
| Newtonian amplitude order */ | | plitude order */ | |
| int phaseO, /**< twice post- | | int phaseO, /**< twice post-Newtonian ph | |
| Newtonian phase order */ | | ase order */ | |
| int l, /**< l index of | | int l, /**< l index of mode */ | |
| mode */ | | int m /**< m index of mode */ | |
| int m /**< m index of | | | |
| mode */ | | | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the post-Newtonian inspiral waveform. | | * Driver routine to compute the post-Newtonian inspiral waveform. | |
| * | | * | |
| * This routine uses the same pN order for phasing and amplitude | | * This routine uses the same pN order for phasing and amplitude | |
| * (unless the order is -1 in which case the highest available | | * (unless the order is -1 in which case the highest available | |
| * order is used for both of these -- which might not be the same). | | * order is used for both of these -- which might not be the same). | |
| * | | * | |
| * Constant log term in amplitude set to 1. This is a gauge choice. | | * Constant log term in amplitude set to 1. This is a gauge choice. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT2PN( | | int XLALSimInspiralTaylorT2PN( | |
|
| REAL8TimeSeries **hplus, /**< +-polarizat | | REAL8TimeSeries **hplus, /**< +-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8TimeSeries **hcross, /**< x-polarizat | | REAL8TimeSeries **hcross, /**< x-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< starting GW | | REAL8 f_min, /**< starting GW frequency ( | |
| frequency (Hz)*/ | | Hz)*/ | |
| REAL8 fRef, /**< reference G | | REAL8 fRef, /**< reference GW frequency | |
| W frequency (Hz)*/ | | (Hz)*/ | |
| REAL8 r, /**< distance of | | REAL8 r, /**< distance of source (m) | |
| source (m) */ | | */ | |
| REAL8 i, /**< inclination | | REAL8 i, /**< inclination of source ( | |
| of source (rad) */ | | rad) */ | |
| REAL8 lambda1, /**< (tidal defo | | REAL8 lambda1, /**< (tidal deformability of | |
| rmability of body 1)/(mass of body 1)^5 */ | | body 1)/(mass of body 1)^5 */ | |
| REAL8 lambda2, /**< (tidal defo | | REAL8 lambda2, /**< (tidal deformability of | |
| rmability of body 2)/(mass of body 2)^5 */ | | body 2)/(mass of body 2)^5 */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| trol spin and tidal effects */ | | effects */ | |
| int O /**< twice post- | | int O /**< twice post-Newtonian or | |
| Newtonian order */ | | der */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the restricted post-Newtonian inspiral wavefor
m. | | * Driver routine to compute the restricted post-Newtonian inspiral wavefor
m. | |
| * | | * | |
| * This routine computes the phasing to the specified order, but | | * This routine computes the phasing to the specified order, but | |
| * only computes the amplitudes to the Newtonian (quadrupole) order. | | * only computes the amplitudes to the Newtonian (quadrupole) order. | |
| * | | * | |
| * Constant log term in amplitude set to 1. This is a gauge choice. | | * Constant log term in amplitude set to 1. This is a gauge choice. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT2PNRestricted( | | int XLALSimInspiralTaylorT2PNRestricted( | |
|
| REAL8TimeSeries **hplus, /**< +-polarizat | | REAL8TimeSeries **hplus, /**< +-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8TimeSeries **hcross, /**< x-polarizat | | REAL8TimeSeries **hcross, /**< x-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< starting GW | | REAL8 f_min, /**< starting GW frequency ( | |
| frequency (Hz) */ | | Hz) */ | |
| REAL8 fRef, /**< reference G | | REAL8 fRef, /**< reference GW frequency | |
| W frequency (Hz) */ | | (Hz) */ | |
| REAL8 r, /**< distance of | | REAL8 r, /**< distance of source (m) | |
| source (m) */ | | */ | |
| REAL8 i, /**< inclination | | REAL8 i, /**< inclination of source ( | |
| of source (rad) */ | | rad) */ | |
| REAL8 lambda1, /**< (tidal defo | | REAL8 lambda1, /**< (tidal deformability of | |
| rmability of body 1)/(mass of body 1)^5 */ | | body 1)/(mass of body 1)^5 */ | |
| REAL8 lambda2, /**< (tidal defo | | REAL8 lambda2, /**< (tidal deformability of | |
| rmability of body 2)/(mass of body 2)^5 */ | | body 2)/(mass of body 2)^5 */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| trol spin and tidal effects */ | | effects */ | |
| int O /**< twice post- | | int O /**< twice post-Newtonian ph | |
| Newtonian phase order */ | | ase order */ | |
| ); | | ); | |
| | | | |
| /* TaylorT1 functions */ | | /* TaylorT1 functions */ | |
| | | | |
| /** | | /** | |
| * Evolves a post-Newtonian orbit using the Taylor T1 method. | | * Evolves a post-Newtonian orbit using the Taylor T1 method. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT1PNEvolveOrbit( | | int XLALSimInspiralTaylorT1PNEvolveOrbit( | |
|
| REAL8TimeSeries **V, /**< post-Newton | | REAL8TimeSeries **V, /**< post-Newtonian paramete | |
| ian parameter [returned] */ | | r [returned] */ | |
| REAL8TimeSeries **phi, /**< orbital pha | | REAL8TimeSeries **phi, /**< orbital phase [returned | |
| se [returned] */ | | ] */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< start frequ | | REAL8 f_min, /**< start frequency (Hz) */ | |
| ency (Hz) */ | | REAL8 fRef, /**< reference frequency (Hz | |
| REAL8 fRef, /**< reference f | | ) */ | |
| requency (Hz) */ | | REAL8 lambda1, /**< (tidal deformability of | |
| REAL8 lambda1, /**< (tidal defo | | body 1)/(mass of body 1)^5 */ | |
| rmability of body 1)/(mass of body 1)^5 */ | | REAL8 lambda2, /**< (tidal deformability of | |
| REAL8 lambda2, /**< (tidal defo | | body 2)/(mass of body 2)^5 */ | |
| rmability of body 2)/(mass of body 2)^5 */ | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | effects */ | |
| trol spin and tidal effects */ | | int O /**< twice post-Newtonian or | |
| int O /**< twice post- | | der */ | |
| Newtonian order */ | | | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the post-Newtonian inspiral waveform. | | * Driver routine to compute the post-Newtonian inspiral waveform. | |
| * | | * | |
| * This routine allows the user to specify different pN orders | | * This routine allows the user to specify different pN orders | |
| * for phasing calcuation vs. amplitude calculations. | | * for phasing calcuation vs. amplitude calculations. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT1PNGenerator( | | int XLALSimInspiralTaylorT1PNGenerator( | |
|
| REAL8TimeSeries **hplus, /**< +-polarizat | | REAL8TimeSeries **hplus, /**< +-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8TimeSeries **hcross, /**< x-polarizat | | REAL8TimeSeries **hcross, /**< x-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 v0, /**< tail-term g | | REAL8 v0, /**< tail-term gauge choice | |
| auge choice (default = 1) */ | | (default = 1) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< starting GW | | REAL8 f_min, /**< starting GW frequency ( | |
| frequency (Hz) */ | | Hz) */ | |
| REAL8 fRef, /**< reference G | | REAL8 fRef, /**< reference GW frequency | |
| W frequency (Hz) */ | | (Hz) */ | |
| REAL8 r, /**< distance of | | REAL8 r, /**< distance of source (m) | |
| source (m) */ | | */ | |
| REAL8 i, /**< inclination | | REAL8 i, /**< inclination of source ( | |
| of source (rad) */ | | rad) */ | |
| REAL8 lambda1, /**< (tidal defo | | REAL8 lambda1, /**< (tidal deformability of | |
| rmability of body 1)/(mass of body 1)^5 */ | | body 1)/(mass of body 1)^5 */ | |
| REAL8 lambda2, /**< (tidal defo | | REAL8 lambda2, /**< (tidal deformability of | |
| rmability of body 2)/(mass of body 2)^5 */ | | body 2)/(mass of body 2)^5 */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| trol spin and tidal effects */ | | effects */ | |
| int amplitudeO, /**< twice post- | | int amplitudeO, /**< twice post-Newtonian am | |
| Newtonian amplitude order */ | | plitude order */ | |
| int phaseO /**< twice post- | | int phaseO /**< twice post-Newtonian ph | |
| Newtonian phase order */ | | ase order */ | |
| | | ); | |
| | | | |
| | | /** | |
| | | * Driver routine to compute the -2 spin-weighted spherical harmonic mode | |
| | | * using TaylorT1 phasing. | |
| | | */ | |
| | | SphHarmTimeSeries *XLALSimInspiralTaylorT1PNModes( | |
| | | REAL8 phiRef, /**< reference orbital phase | |
| | | (rad) */ | |
| | | REAL8 v0, /**< tail-term gauge choice | |
| | | (default = 1) */ | |
| | | REAL8 deltaT, /**< sampling interval (s) * | |
| | | / | |
| | | REAL8 m1, /**< mass of companion 1 (kg | |
| | | ) */ | |
| | | REAL8 m2, /**< mass of companion 2 (kg | |
| | | ) */ | |
| | | REAL8 f_min, /**< starting GW frequency ( | |
| | | Hz) */ | |
| | | REAL8 fRef, /**< reference GW frequency | |
| | | (Hz) */ | |
| | | REAL8 r, /**< distance of source (m) | |
| | | */ | |
| | | REAL8 lambda1, /**< (tidal deformability of | |
| | | body 1)/(mass of body 1)^5 */ | |
| | | REAL8 lambda2, /**< (tidal deformability of | |
| | | body 2)/(mass of body 2)^5 */ | |
| | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| | | effects */ | |
| | | int amplitudeO, /**< twice post-Newtonian am | |
| | | plitude order */ | |
| | | int phaseO, /**< twice post-Newtonian ph | |
| | | ase order */ | |
| | | int lmax /**< generate all modes wit | |
| | | h l <= lmax */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the -2 spin-weighted spherical harmonic mode | | * Driver routine to compute the -2 spin-weighted spherical harmonic mode | |
| * using TaylorT1 phasing. | | * using TaylorT1 phasing. | |
| */ | | */ | |
|
| COMPLEX16TimeSeries *XLALSimInspiralTaylorT1PNModes( | | COMPLEX16TimeSeries *XLALSimInspiralTaylorT1PNMode( | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 v0, /**< tail-term g | | REAL8 v0, /**< tail-term gauge choice | |
| auge choice (default = 1) */ | | (default = 1) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< starting GW | | REAL8 f_min, /**< starting GW frequency ( | |
| frequency (Hz) */ | | Hz) */ | |
| REAL8 fRef, /**< reference G | | REAL8 fRef, /**< reference GW frequency | |
| W frequency (Hz) */ | | (Hz) */ | |
| REAL8 r, /**< distance of | | REAL8 r, /**< distance of source (m) | |
| source (m) */ | | */ | |
| REAL8 lambda1, /**< (tidal defo | | REAL8 lambda1, /**< (tidal deformability of | |
| rmability of body 1)/(mass of body 1)^5 */ | | body 1)/(mass of body 1)^5 */ | |
| REAL8 lambda2, /**< (tidal defo | | REAL8 lambda2, /**< (tidal deformability of | |
| rmability of body 2)/(mass of body 2)^5 */ | | body 2)/(mass of body 2)^5 */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| trol spin and tidal effects */ | | effects */ | |
| int amplitudeO, /**< twice post- | | int amplitudeO, /**< twice post-Newtonian am | |
| Newtonian amplitude order */ | | plitude order */ | |
| int phaseO, /**< twice post- | | int phaseO, /**< twice post-Newtonian ph | |
| Newtonian phase order */ | | ase order */ | |
| int l, /**< l index of | | int l, /**< l index of mode */ | |
| mode */ | | int m /**< m index of mode */ | |
| int m /**< m index of | | | |
| mode */ | | | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the post-Newtonian inspiral waveform. | | * Driver routine to compute the post-Newtonian inspiral waveform. | |
| * | | * | |
| * This routine uses the same pN order for phasing and amplitude | | * This routine uses the same pN order for phasing and amplitude | |
| * (unless the order is -1 in which case the highest available | | * (unless the order is -1 in which case the highest available | |
| * order is used for both of these -- which might not be the same). | | * order is used for both of these -- which might not be the same). | |
| * | | * | |
| * Constant log term in amplitude set to 1. This is a gauge choice. | | * Constant log term in amplitude set to 1. This is a gauge choice. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT1PN( | | int XLALSimInspiralTaylorT1PN( | |
|
| REAL8TimeSeries **hplus, /**< +-polarizat | | REAL8TimeSeries **hplus, /**< +-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8TimeSeries **hcross, /**< x-polarizat | | REAL8TimeSeries **hcross, /**< x-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< start frequ | | REAL8 f_min, /**< start frequency (Hz) */ | |
| ency (Hz) */ | | REAL8 fRef, /**< reference frequency (Hz | |
| REAL8 fRef, /**< reference f | | ) */ | |
| requency (Hz) */ | | REAL8 r, /**< distance of source (m) | |
| REAL8 r, /**< distance of | | */ | |
| source (m) */ | | REAL8 i, /**< inclination of source ( | |
| REAL8 i, /**< inclination | | rad) */ | |
| of source (rad) */ | | REAL8 lambda1, /**< (tidal deformability of | |
| REAL8 lambda1, /**< (tidal defo | | body 1)/(mass of body 1)^5 */ | |
| rmability of body 1)/(mass of body 1)^5 */ | | REAL8 lambda2, /**< (tidal deformability of | |
| REAL8 lambda2, /**< (tidal defo | | body 2)/(mass of body 2)^5 */ | |
| rmability of body 2)/(mass of body 2)^5 */ | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | effects */ | |
| trol spin and tidal effects */ | | int O /**< twice post-Newtonian or | |
| int O /**< twice post- | | der */ | |
| Newtonian order */ | | | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the restricted post-Newtonian inspiral wavefor
m. | | * Driver routine to compute the restricted post-Newtonian inspiral wavefor
m. | |
| * | | * | |
| * This routine computes the phasing to the specified order, but | | * This routine computes the phasing to the specified order, but | |
| * only computes the amplitudes to the Newtonian (quadrupole) order. | | * only computes the amplitudes to the Newtonian (quadrupole) order. | |
| * | | * | |
| * Constant log term in amplitude set to 1. This is a gauge choice. | | * Constant log term in amplitude set to 1. This is a gauge choice. | |
| */ | | */ | |
| int XLALSimInspiralTaylorT1PNRestricted( | | int XLALSimInspiralTaylorT1PNRestricted( | |
|
| REAL8TimeSeries **hplus, /**< +-polarizat | | REAL8TimeSeries **hplus, /**< +-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8TimeSeries **hcross, /**< x-polarizat | | REAL8TimeSeries **hcross, /**< x-polarization waveform | |
| ion waveform */ | | */ | |
| REAL8 phiRef, /**< reference o | | REAL8 phiRef, /**< reference orbital phase | |
| rbital phase (rad) */ | | (rad) */ | |
| REAL8 deltaT, /**< sampling in | | REAL8 deltaT, /**< sampling interval (s) * | |
| terval (s) */ | | / | |
| REAL8 m1, /**< mass of com | | REAL8 m1, /**< mass of companion 1 (kg | |
| panion 1 (kg) */ | | ) */ | |
| REAL8 m2, /**< mass of com | | REAL8 m2, /**< mass of companion 2 (kg | |
| panion 2 (kg) */ | | ) */ | |
| REAL8 f_min, /**< starting GW | | REAL8 f_min, /**< starting GW frequency ( | |
| frequency (Hz) */ | | Hz) */ | |
| REAL8 fRef, /**< reference G | | REAL8 fRef, /**< reference GW frequency | |
| W frequency (Hz) */ | | (Hz) */ | |
| REAL8 r, /**< distance of | | REAL8 r, /**< distance of source (m)* | |
| source (m)*/ | | / | |
| REAL8 i, /**< inclination | | REAL8 i, /**< inclination of source ( | |
| of source (rad) */ | | rad) */ | |
| REAL8 lambda1, /**< (tidal defo | | REAL8 lambda1, /**< (tidal deformability of | |
| rmability of body 1)/(mass of body 1)^5 */ | | body 1)/(mass of body 1)^5 */ | |
| REAL8 lambda2, /**< (tidal defo | | REAL8 lambda2, /**< (tidal deformability of | |
| rmability of body 2)/(mass of body 2)^5 */ | | body 2)/(mass of body 2)^5 */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to con | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| trol spin and tidal effects */ | | effects */ | |
| int O /**< twice post- | | int O /**< twice post-Newtonian ph | |
| Newtonian phase order */ | | ase order */ | |
| ); | | ); | |
| | | | |
| /* TaylorEt functions */ | | /* TaylorEt functions */ | |
| | | | |
| /** | | /** | |
| * Evolves a post-Newtonian orbit using the Taylor T1 method. | | * Evolves a post-Newtonian orbit using the Taylor T1 method. | |
| */ | | */ | |
| int XLALSimInspiralTaylorEtPNEvolveOrbit( | | int XLALSimInspiralTaylorEtPNEvolveOrbit( | |
| REAL8TimeSeries **V, /**< post-Newtonian parameter [return
ed] */ | | REAL8TimeSeries **V, /**< post-Newtonian parameter [return
ed] */ | |
| REAL8TimeSeries **phi, /**< orbital phase [returned] */ | | REAL8TimeSeries **phi, /**< orbital phase [returned] */ | |
| | | | |
| skipping to change at line 1600 | | skipping to change at line 1862 | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Computes the stationary phase approximation to the Fourier transform of | | * Computes the stationary phase approximation to the Fourier transform of | |
| * a chirp waveform with phase given by Eq.\eqref{eq_InspiralFourierPhase_f
2} | | * a chirp waveform with phase given by Eq.\eqref{eq_InspiralFourierPhase_f
2} | |
| * and amplitude given by expanding \f$1/\sqrt{\dot{F}}\f$. If the PN order
is | | * and amplitude given by expanding \f$1/\sqrt{\dot{F}}\f$. If the PN order
is | |
| * set to -1, then the highest implemented order is used. | | * set to -1, then the highest implemented order is used. | |
| */ | | */ | |
| int XLALSimInspiralTaylorF2( | | int XLALSimInspiralTaylorF2( | |
| COMPLEX16FrequencySeries **htilde, /**< FD waveform */ | | COMPLEX16FrequencySeries **htilde, /**< FD waveform */ | |
|
| const REAL8 phic, /**< orbital coalescence ph | | const REAL8 phic, /**< orbital coalescence pha | |
| ase (rad) */ | | se (rad) */ | |
| const REAL8 deltaF, /**< frequency resolution * | | const REAL8 deltaF, /**< frequency resolution */ | |
| / | | const REAL8 m1_SI, /**< mass of companion 1 (kg | |
| const REAL8 m1_SI, /**< mass of companion 1 (k | | ) */ | |
| g) */ | | const REAL8 m2_SI, /**< mass of companion 2 (kg | |
| const REAL8 m2_SI, /**< mass of companion 2 (k | | ) */ | |
| g) */ | | const REAL8 S1z, /**< z component of the sp | |
| const REAL8 fStart, /**< start GW frequency (Hz | | in of companion 1 */ | |
| ) */ | | const REAL8 S2z, /**< z component of the sp | |
| const REAL8 r, /**< distance of source (m) | | in of companion 2 */ | |
| */ | | const REAL8 fStart, /**< start GW frequency (Hz) | |
| const REAL8 lambda1, /**< (tidal deformation of | | */ | |
| body 1)/(mass of body 1)^5 */ | | const REAL8 fEnd, /**< highest GW frequency (H | |
| const REAL8 lambda2, /**< (tidal deformation of | | z) of waveform generation - if 0, end at Schwarzschild ISCO */ | |
| body 2)/(mass of body 2)^5 */ | | const REAL8 r, /**< distance of source (m) | |
| const LALSimInspiralInteraction interactionFlags, /**< flag | | */ | |
| to control spin and tidal effects */ | | const REAL8 lambda1, /**< (tidal deformation of b | |
| const INT4 phaseO, /**< twice PN phase order * | | ody 1)/(mass of body 1)^5 */ | |
| / | | const REAL8 lambda2, /**< (tidal deformation of b | |
| const INT4 amplitudeO /**< twice PN amplitude ord | | ody 2)/(mass of body 2)^5 */ | |
| er */ | | const LALSimInspiralSpinOrder spinO, /**< twice PN order of | |
| ); | | spin effects */ | |
| | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal | |
| | | effects */ | |
| | | const INT4 phaseO, /**< twice PN phase order */ | |
| | | const INT4 amplitudeO /**< twice PN amplitude orde | |
| | | r */ | |
| | | ); | |
| | | | |
| | | int XLALSimInspiralSpinTaylorF2( | |
| | | COMPLEX16FrequencySeries **htilde_out, /**< frequency-domain wavefor | |
| | | m */ | |
| | | REAL8 psi, /**< desired polarization */ | |
| | | REAL8 phic, /**< coalescence GW phase */ | |
| | | REAL8 deltaF, /**< sampling frequency (Hz) */ | |
| | | REAL8 m1_SI, /**< mass of companion 1 (kg) */ | |
| | | REAL8 m2_SI, /**< mass of companion 2 (kg) */ | |
| | | REAL8 fStart, /**< start GW frequency (Hz) */ | |
| | | REAL8 r, /**< distance of source (m) */ | |
| | | REAL8 s1x, /**< initial value of S1x */ | |
| | | REAL8 s1y, /**< initial value of S1y */ | |
| | | REAL8 s1z, /**< initial value of S1z */ | |
| | | REAL8 lnhatx, /**< initial value of LNhatx */ | |
| | | REAL8 lnhaty, /**< initial value of LNhaty */ | |
| | | REAL8 lnhatz, /**< initial value of LNhatz */ | |
| | | int phaseO, /**< twice PN phase order */ | |
| | | int amplitudeO /**< twice PN amplitude order */ | |
| | | ); | |
| | | | |
| /** | | /** | |
| * Functions for generic spinning waveforms. | | * Functions for generic spinning waveforms. | |
| * Reproduce and extend old SpinTaylor(Frameless) and SQTPN waveforms | | * Reproduce and extend old SpinTaylor(Frameless) and SQTPN waveforms | |
| */ | | */ | |
| | | | |
| /** | | /** | |
| * This function evolves the orbital equations for a precessing binary usin
g | | * This function evolves the orbital equations for a precessing binary usin
g | |
|
| * the \"TaylorT4\" approximant for solving the orbital dynamics | | * the \"TaylorT1/T2/T4\" approximant for solving the orbital dynamics | |
| * (see arXiv:0907.0700 for a review of the various PN approximants). | | * (see arXiv:0907.0700 for a review of the various PN approximants). | |
| * | | * | |
| * It returns time series of the \"orbital velocity\", orbital phase, | | * It returns time series of the \"orbital velocity\", orbital phase, | |
| * and components for both individual spin vectors, the \"Newtonian\" | | * and components for both individual spin vectors, the \"Newtonian\" | |
| * orbital angular momentum (which defines the instantaneous plane) | | * orbital angular momentum (which defines the instantaneous plane) | |
| * and \"E1\", a basis vector in the instantaneous orbital plane. | | * and \"E1\", a basis vector in the instantaneous orbital plane. | |
| * Note that LNhat and E1 completely specify the instantaneous orbital plan
e. | | * Note that LNhat and E1 completely specify the instantaneous orbital plan
e. | |
| * It also returns the time and phase of the final time step | | * It also returns the time and phase of the final time step | |
| * | | * | |
| * For input, the function takes the two masses, the initial orbital phase, | | * For input, the function takes the two masses, the initial orbital phase, | |
| * Components for S1, S2, LNhat, E1 vectors at starting time, | | * Components for S1, S2, LNhat, E1 vectors at starting time, | |
| * the desired time step size, the starting GW frequency, | | * the desired time step size, the starting GW frequency, | |
| * and PN order at which to evolve the phase, | | * and PN order at which to evolve the phase, | |
| * | | * | |
| * NOTE: All vectors are given in the so-called \"radiation frame\", | | * NOTE: All vectors are given in the so-called \"radiation frame\", | |
| * where the direction of propagation is the z-axis, the principal \"+\" | | * where the direction of propagation is the z-axis, the principal \"+\" | |
| * polarization axis is the x-axis, and the y-axis is given by the RH rule. | | * polarization axis is the x-axis, and the y-axis is given by the RH rule. | |
| * You must give the initial values in this frame, and the time series of t
he | | * You must give the initial values in this frame, and the time series of t
he | |
| * vector components will also be returned in this frame | | * vector components will also be returned in this frame | |
| */ | | */ | |
|
| int XLALSimInspiralPNEvolveOrbitSpinTaylorT4( | | int XLALSimInspiralSpinTaylorPNEvolveOrbit( | |
| REAL8TimeSeries **V, /**< post-Newtonian parameter [returned]*/ | | REAL8TimeSeries **V, /**< post-Newtonian parameter [returned]*/ | |
| REAL8TimeSeries **Phi, /**< orbital phase [returned]*/ | | REAL8TimeSeries **Phi, /**< orbital phase [returned]*/ | |
| REAL8TimeSeries **S1x, /**< Spin1 vector x component [returned]*/ | | REAL8TimeSeries **S1x, /**< Spin1 vector x component [returned]*/ | |
| REAL8TimeSeries **S1y, /**< -- y component [returned]*/ | | REAL8TimeSeries **S1y, /**< -- y component [returned]*/ | |
| REAL8TimeSeries **S1z, /**< -- z component [returned]*/ | | REAL8TimeSeries **S1z, /**< -- z component [returned]*/ | |
| REAL8TimeSeries **S2x, /**< Spin2 vector x component [returned]*/ | | REAL8TimeSeries **S2x, /**< Spin2 vector x component [returned]*/ | |
| REAL8TimeSeries **S2y, /**< -- y component [returned]*/ | | REAL8TimeSeries **S2y, /**< -- y component [returned]*/ | |
| REAL8TimeSeries **S2z, /**< -- z component [returned]*/ | | REAL8TimeSeries **S2z, /**< -- z component [returned]*/ | |
| REAL8TimeSeries **LNhatx, /**< unit orbital ang. mom. x [returned]*/ | | REAL8TimeSeries **LNhatx, /**< unit orbital ang. mom. x [returned]*/ | |
| REAL8TimeSeries **LNhaty, /**< -- y component [returned]*/ | | REAL8TimeSeries **LNhaty, /**< -- y component [returned]*/ | |
| | | | |
| skipping to change at line 1673 | | skipping to change at line 1958 | |
| REAL8 s1z, /**< initial value of S1z */ | | REAL8 s1z, /**< initial value of S1z */ | |
| REAL8 s2x, /**< initial value of S2x */ | | REAL8 s2x, /**< initial value of S2x */ | |
| REAL8 s2y, /**< initial value of S2y */ | | REAL8 s2y, /**< initial value of S2y */ | |
| REAL8 s2z, /**< initial value of S2z */ | | REAL8 s2z, /**< initial value of S2z */ | |
| REAL8 lnhatx, /**< initial value of LNhatx */ | | REAL8 lnhatx, /**< initial value of LNhatx */ | |
| REAL8 lnhaty, /**< initial value of LNhaty */ | | REAL8 lnhaty, /**< initial value of LNhaty */ | |
| REAL8 lnhatz, /**< initial value of LNhatz */ | | REAL8 lnhatz, /**< initial value of LNhatz */ | |
| REAL8 e1x, /**< initial value of E1x */ | | REAL8 e1x, /**< initial value of E1x */ | |
| REAL8 e1y, /**< initial value of E1y */ | | REAL8 e1y, /**< initial value of E1y */ | |
| REAL8 e1z, /**< initial value of E1z */ | | REAL8 e1z, /**< initial value of E1z */ | |
|
| REAL8 lambda1, /**< (tidal deformability of mass 1) / | | REAL8 lambda1, /**< (tidal deformability of mass 1) / (to | |
| (total mass)^5 (dimensionless) */ | | tal mass)^5 (dimensionless) */ | |
| REAL8 lambda2, /**< (tidal deformability of mass 2) / | | REAL8 lambda2, /**< (tidal deformability of mass 2) / (to | |
| (total mass)^5 (dimensionless) */ | | tal mass)^5 (dimensionless) */ | |
| LALSimInspiralInteraction interactionFlags, /**< flag to control | | REAL8 quadparam1, /**< phenom. parameter describing in | |
| spin and tidal effects */ | | duced quad. moment of body 1 (=1 for BHs, ~2-12 for NSs) */ | |
| INT4 phaseO /**< twice post-Newtonian order */ | | REAL8 quadparam2, /**< phenom. parameter describing in | |
| | | duced quad. moment of body 2 (=1 for BHs, ~2-12 for NSs) */ | |
| | | LALSimInspiralSpinOrder spinO, /**< twice PN order of spin effects | |
| | | */ | |
| | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal effects | |
| | | */ | |
| | | INT4 phaseO, /**< twice post-Newtonian order */ | |
| | | Approximant approx /**< PN approximant (SpinTaylorT1/T2/T4) * | |
| | | / | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute a precessing post-Newtonian inspiral waveform | | * Driver routine to compute a precessing post-Newtonian inspiral waveform | |
| * with phasing computed from energy balance using the so-called \"T4\" met
hod. | | * with phasing computed from energy balance using the so-called \"T4\" met
hod. | |
| * | | * | |
| * This routine allows the user to specify different pN orders | | * This routine allows the user to specify different pN orders | |
| * for the phasing and amplitude of the waveform. | | * for the phasing and amplitude of the waveform. | |
| * | | * | |
| * The reference frequency fRef is used as follows: | | * The reference frequency fRef is used as follows: | |
| | | | |
| skipping to change at line 1730 | | skipping to change at line 2019 | |
| REAL8 s2y, /**< initial value of S2y */ | | REAL8 s2y, /**< initial value of S2y */ | |
| REAL8 s2z, /**< initial value of S2z */ | | REAL8 s2z, /**< initial value of S2z */ | |
| REAL8 lnhatx, /**< initial value of LNhatx */ | | REAL8 lnhatx, /**< initial value of LNhatx */ | |
| REAL8 lnhaty, /**< initial value of LNhaty */ | | REAL8 lnhaty, /**< initial value of LNhaty */ | |
| REAL8 lnhatz, /**< initial value of LNhatz */ | | REAL8 lnhatz, /**< initial value of LNhatz */ | |
| REAL8 e1x, /**< initial value of E1x */ | | REAL8 e1x, /**< initial value of E1x */ | |
| REAL8 e1y, /**< initial value of E1y */ | | REAL8 e1y, /**< initial value of E1y */ | |
| REAL8 e1z, /**< initial value of E1z */ | | REAL8 e1z, /**< initial value of E1z */ | |
| REAL8 lambda1, /**< (tidal deformability of mass 1)
/ (total mass)^5 (dimensionless) */ | | REAL8 lambda1, /**< (tidal deformability of mass 1)
/ (total mass)^5 (dimensionless) */ | |
| REAL8 lambda2, /**< (tidal deformability of mass 2)
/ (total mass)^5 (dimensionless) */ | | REAL8 lambda2, /**< (tidal deformability of mass 2)
/ (total mass)^5 (dimensionless) */ | |
|
| LALSimInspiralInteraction interactionFlags, /**< flag to control spi | | REAL8 quadparam1, /**< phenom. parameter describing in | |
| n and tidal effects */ | | duced quad. moment of body 1 (=1 for BHs, ~2-12 for NSs) */ | |
| | | REAL8 quadparam2, /**< phenom. parameter describing in | |
| | | duced quad. moment of body 2 (=1 for BHs, ~2-12 for NSs) */ | |
| | | LALSimInspiralSpinOrder spinO, /**< twice PN order of spin effects | |
| | | */ | |
| | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal effects | |
| | | */ | |
| | | int phaseO, /**< twice PN phase order */ | |
| | | int amplitudeO /**< twice PN amplitude order */ | |
| | | ); | |
| | | | |
| | | int XLALSimInspiralSpinTaylorT2( | |
| | | REAL8TimeSeries **hplus, /**< +-polarization waveform */ | |
| | | REAL8TimeSeries **hcross, /**< x-polarization waveform */ | |
| | | REAL8 phiRef, /**< orbital phase at reference pt. | |
| | | */ | |
| | | REAL8 v0, /**< tail gauge term (default = 1) * | |
| | | / | |
| | | REAL8 deltaT, /**< sampling interval (s) */ | |
| | | REAL8 m1, /**< mass of companion 1 (kg) */ | |
| | | REAL8 m2, /**< mass of companion 2 (kg) */ | |
| | | REAL8 fStart, /**< start GW frequency (Hz) */ | |
| | | REAL8 fRef, /**< reference GW frequency (Hz) */ | |
| | | REAL8 r, /**< distance of source (m) */ | |
| | | REAL8 s1x, /**< initial value of S1x */ | |
| | | REAL8 s1y, /**< initial value of S1y */ | |
| | | REAL8 s1z, /**< initial value of S1z */ | |
| | | REAL8 s2x, /**< initial value of S2x */ | |
| | | REAL8 s2y, /**< initial value of S2y */ | |
| | | REAL8 s2z, /**< initial value of S2z */ | |
| | | REAL8 lnhatx, /**< initial value of LNhatx */ | |
| | | REAL8 lnhaty, /**< initial value of LNhaty */ | |
| | | REAL8 lnhatz, /**< initial value of LNhatz */ | |
| | | REAL8 e1x, /**< initial value of E1x */ | |
| | | REAL8 e1y, /**< initial value of E1y */ | |
| | | REAL8 e1z, /**< initial value of E1z */ | |
| | | REAL8 lambda1, /**< (tidal deformability of mass 1) | |
| | | / (total mass)^5 (dimensionless) */ | |
| | | REAL8 lambda2, /**< (tidal deformability of mass 2) | |
| | | / (total mass)^5 (dimensionless) */ | |
| | | REAL8 quadparam1, /**< phenom. parameter describing in | |
| | | duced quad. moment of body 1 (=1 for BHs, ~2-12 for NSs) */ | |
| | | REAL8 quadparam2, /**< phenom. parameter describing in | |
| | | duced quad. moment of body 2 (=1 for BHs, ~2-12 for NSs) */ | |
| | | LALSimInspiralSpinOrder spinO, /**< twice PN order of spin effects | |
| | | */ | |
| | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal effects | |
| | | */ | |
| int phaseO, /**< twice PN phase order */ | | int phaseO, /**< twice PN phase order */ | |
| int amplitudeO /**< twice PN amplitude order */ | | int amplitudeO /**< twice PN amplitude order */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Driver routine to compute the physical template family "Q" vectors using | | * Driver routine to compute the physical template family "Q" vectors using | |
| * the \"T4\" method. Note that PTF describes single spin systems | | * the \"T4\" method. Note that PTF describes single spin systems | |
| * | | * | |
| * This routine requires leading-order amplitude dependence | | * This routine requires leading-order amplitude dependence | |
| * but allows the user to specify the phase PN order | | * but allows the user to specify the phase PN order | |
| */ | | */ | |
| | | | |
| int XLALSimInspiralSpinTaylorT4PTFQVecs( | | int XLALSimInspiralSpinTaylorT4PTFQVecs( | |
|
| REAL8TimeSeries **Q1, /**< Q1 output vector */ | | REAL8TimeSeries **Q1, /**< Q1 output vector */ | |
| REAL8TimeSeries **Q2, /**< Q2 output vector */ | | REAL8TimeSeries **Q2, /**< Q2 output vector */ | |
| REAL8TimeSeries **Q3, /**< Q3 output vector */ | | REAL8TimeSeries **Q3, /**< Q3 output vector */ | |
| REAL8TimeSeries **Q4, /**< Q4 output vector */ | | REAL8TimeSeries **Q4, /**< Q4 output vector */ | |
| REAL8TimeSeries **Q5, /**< Q5 output vector */ | | REAL8TimeSeries **Q5, /**< Q5 output vector */ | |
| REAL8 deltaT, /**< sampling interval (s) */ | | REAL8 deltaT, /**< sampling interval (s) */ | |
| REAL8 m1, /**< mass of companion 1 (kg) */ | | REAL8 m1, /**< mass of companion 1 (kg) */ | |
| REAL8 m2, /**< mass of companion 2 (kg) */ | | REAL8 m2, /**< mass of companion 2 (kg) */ | |
| REAL8 chi1, /**< spin magnitude (|S1|) */ | | REAL8 chi1, /**< spin magnitude (|S1|) */ | |
| REAL8 kappa, /**< L . S (1 if they are aligned) | | REAL8 kappa, /**< L . S (1 if they are aligned) */ | |
| */ | | REAL8 fStart, /**< start GW frequency (Hz) */ | |
| REAL8 fStart, /**< start GW frequency (Hz) */ | | REAL8 lambda1, /**< (tidal deformability of mass 1) / | |
| REAL8 lambda1, /**< (tidal deformability of mass 1 | | (total mass)^5 (dimensionless) */ | |
| ) / (total mass)^5 (dimensionless) */ | | REAL8 lambda2, /**< (tidal deformability of mass 2) / | |
| REAL8 lambda2, /**< (tidal deformability of mass 2 | | (total mass)^5 (dimensionless) */ | |
| ) / (total mass)^5 (dimensionless) */ | | LALSimInspiralSpinOrder spinO, /**< twice PN order of spin effects | |
| LALSimInspiralInteraction interactionFlags, /**< flag to control sp | | */ | |
| in and tidal effects */ | | LALSimInspiralTidalOrder tideO, /**< twice PN order of tidal effects | |
| int phaseO /**< twice PN phase order */ | | */ | |
| | | int phaseO /**< twice PN phase order */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Function to specify the desired orientation of a precessing binary in te
rms | | * Function to specify the desired orientation of a precessing binary in te
rms | |
| * of several angles and then compute the vector components in the so-calle
d | | * of several angles and then compute the vector components in the so-calle
d | |
| * \"radiation frame\" (with the z-axis along the direction of propagation)
as | | * \"radiation frame\" (with the z-axis along the direction of propagation)
as | |
| * needed to specify binary configuration for ChooseTDWaveform. | | * needed to specify binary configuration for ChooseTDWaveform. | |
| * | | * | |
| * Input: | | * Input: | |
| * thetaJN is the inclination between total angular momentum (J) and th
e | | * thetaJN is the inclination between total angular momentum (J) and th
e | |
| | | | |
| skipping to change at line 1861 | | skipping to change at line 2187 | |
| * case. | | * case. | |
| */ | | */ | |
| int XLALSimInspiralTaylorF2ReducedSpin( | | int XLALSimInspiralTaylorF2ReducedSpin( | |
| COMPLEX16FrequencySeries **htilde, /**< FD waveform */ | | COMPLEX16FrequencySeries **htilde, /**< FD waveform */ | |
| const REAL8 phic, /**< orbital coalescence phase (rad
) */ | | const REAL8 phic, /**< orbital coalescence phase (rad
) */ | |
| const REAL8 deltaF, /**< frequency resolution (Hz) */ | | const REAL8 deltaF, /**< frequency resolution (Hz) */ | |
| const REAL8 m1_SI, /**< mass of companion 1 (kg) */ | | const REAL8 m1_SI, /**< mass of companion 1 (kg) */ | |
| const REAL8 m2_SI, /**< mass of companion 2 (kg) */ | | const REAL8 m2_SI, /**< mass of companion 2 (kg) */ | |
| const REAL8 chi, /**< dimensionless aligned-spin par
am */ | | const REAL8 chi, /**< dimensionless aligned-spin par
am */ | |
| const REAL8 fStart, /**< start GW frequency (Hz) */ | | const REAL8 fStart, /**< start GW frequency (Hz) */ | |
|
| | | const REAL8 fEnd, /**< highest GW frequency (Hz) of w
aveform generation - if 0, end at Schwarzschild ISCO */ | |
| const REAL8 r, /**< distance of source (m) */ | | const REAL8 r, /**< distance of source (m) */ | |
| const INT4 phaseO, /**< twice PN phase order */ | | const INT4 phaseO, /**< twice PN phase order */ | |
| const INT4 ampO /**< twice PN amplitude order */ | | const INT4 ampO /**< twice PN amplitude order */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Generate the \"reduced-spin templates\" proposed in http://arxiv.org/abs
/1107.1267 | | * Generate the \"reduced-spin templates\" proposed in http://arxiv.org/abs
/1107.1267 | |
| * Add the tidal phase terms from http://arxiv.org/abs/1101.1673 (Eqs. 3.9,
3.10) | | * Add the tidal phase terms from http://arxiv.org/abs/1101.1673 (Eqs. 3.9,
3.10) | |
| * The chi parameter should be determined from XLALSimInspiralTaylorF2Reduc
edSpinComputeChi. | | * The chi parameter should be determined from XLALSimInspiralTaylorF2Reduc
edSpinComputeChi. | |
| */ | | */ | |
| int XLALSimInspiralTaylorF2ReducedSpinTidal( | | int XLALSimInspiralTaylorF2ReducedSpinTidal( | |
| COMPLEX16FrequencySeries **htilde, /**< FD waveform */ | | COMPLEX16FrequencySeries **htilde, /**< FD waveform */ | |
| const REAL8 phic, /**< orbital coalescence phase (rad
) */ | | const REAL8 phic, /**< orbital coalescence phase (rad
) */ | |
| const REAL8 deltaF, /**< frequency resolution (Hz) */ | | const REAL8 deltaF, /**< frequency resolution (Hz) */ | |
| const REAL8 m1_SI, /**< mass of companion 1 (kg) */ | | const REAL8 m1_SI, /**< mass of companion 1 (kg) */ | |
| const REAL8 m2_SI, /**< mass of companion 2 (kg) */ | | const REAL8 m2_SI, /**< mass of companion 2 (kg) */ | |
| const REAL8 chi, /**< dimensionless aligned-spin par
am */ | | const REAL8 chi, /**< dimensionless aligned-spin par
am */ | |
| const REAL8 lam1, /**< dimensionless deformability of
1 */ | | const REAL8 lam1, /**< dimensionless deformability of
1 */ | |
| const REAL8 lam2, /**< dimensionless deformability of
2 */ | | const REAL8 lam2, /**< dimensionless deformability of
2 */ | |
| const REAL8 fStart, /**< start GW frequency (Hz) */ | | const REAL8 fStart, /**< start GW frequency (Hz) */ | |
|
| | | const REAL8 fEnd, /**< highest GW frequency (Hz) of w
aveform generation - if 0, end at Schwarzschild ISCO */ | |
| const REAL8 r, /**< distance of source (m) */ | | const REAL8 r, /**< distance of source (m) */ | |
| const INT4 phaseO, /**< twice PN phase order */ | | const INT4 phaseO, /**< twice PN phase order */ | |
| const INT4 ampO /**< twice PN amplitude order */ | | const INT4 ampO /**< twice PN amplitude order */ | |
| ); | | ); | |
| /** | | /** | |
| * Compute the chirp time of the \"reduced-spin\" templates, described in | | * Compute the chirp time of the \"reduced-spin\" templates, described in | |
| * http://arxiv.org/abs/1107.1267. | | * http://arxiv.org/abs/1107.1267. | |
| */ | | */ | |
| REAL8 XLALSimInspiralTaylorF2ReducedSpinChirpTime( | | REAL8 XLALSimInspiralTaylorF2ReducedSpinChirpTime( | |
| const REAL8 fStart, /**< start GW frequency (Hz) */ | | const REAL8 fStart, /**< start GW frequency (Hz) */ | |
| | | | |
| skipping to change at line 1937 | | skipping to change at line 2265 | |
| /** | | /** | |
| * Compute the Fisher information matrix of "reduced-spin" PN templates in | | * Compute the Fisher information matrix of "reduced-spin" PN templates in | |
| * theta0, theta3, theta3s, t0, phi0 parameter space, for an SNR=1/sqrt(2)
signal. | | * theta0, theta3, theta3s, t0, phi0 parameter space, for an SNR=1/sqrt(2)
signal. | |
| */ | | */ | |
| gsl_matrix *XLALSimInspiralTaylorF2RedSpinFisherMatrixChirpTimes( | | gsl_matrix *XLALSimInspiralTaylorF2RedSpinFisherMatrixChirpTimes( | |
| const REAL8 theta0, /**< dimensionless parameter related to the chi
rp time by theta0 = 2 pi fLow tau0 */ | | const REAL8 theta0, /**< dimensionless parameter related to the chi
rp time by theta0 = 2 pi fLow tau0 */ | |
| const REAL8 theta3, /**< dimensionless parameter related to the chi
rp time by theta3 = -2 pi fLow tau3 */ | | const REAL8 theta3, /**< dimensionless parameter related to the chi
rp time by theta3 = -2 pi fLow tau3 */ | |
| const REAL8 theta3s, /**< dimensionless parameter related to the chi
rp time by theta3s = 2 pi fLow tau3s */ | | const REAL8 theta3s, /**< dimensionless parameter related to the chi
rp time by theta3s = 2 pi fLow tau3s */ | |
| const REAL8 fLow, /**< low-frequency cutoff (Hz) */ | | const REAL8 fLow, /**< low-frequency cutoff (Hz) */ | |
| const REAL8 df, /**< frequency resolution of the noise moment v
ectors (Hz) */ | | const REAL8 df, /**< frequency resolution of the noise moment v
ectors (Hz) */ | |
|
| REAL8Vector *momI_0, /**< noise moments: momI_0(f) = \int_f0^f (f'/ | | REAL8Vector *momI_0, /**< noise moments: \f$momI_0(f) = \int_{f0}^f | |
| f0)^{(0-17)/3} df' */ | | (f'/f0)^{(0-17)/3} df'\f$ */ | |
| REAL8Vector *momI_2, /**< noise moments: momI_2(f) = \int_f0^f (f'/ | | REAL8Vector *momI_2, /**< noise moments: \f$momI_2(f) = \int_{f0}^f | |
| f0)^{(2-17)/3} df' */ | | (f'/f0)^{(2-17)/3} df'\f$ */ | |
| REAL8Vector *momI_3, /**< noise moments: momI_3(f) = \int_f0^f (f'/ | | REAL8Vector *momI_3, /**< noise moments: \f$momI_3(f) = \int_{f0}^f | |
| f0)^{(3-17)/3} df' */ | | (f'/f0)^{(3-17)/3} df'\f$ */ | |
| REAL8Vector *momI_4, /**< noise moments: momI_4(f) = \int_f0^f (f'/ | | REAL8Vector *momI_4, /**< noise moments: \f$momI_4(f) = \int_{f0}^f | |
| f0)^{(4-17)/3} df' */ | | (f'/f0)^{(4-17)/3} df'\f$ */ | |
| REAL8Vector *momI_5, /**< noise moments: momI_5(f) = \int_f0^f (f'/ | | REAL8Vector *momI_5, /**< noise moments: \f$momI_5(f) = \int_{f0}^f | |
| f0)^{(5-17)/3} df' */ | | (f'/f0)^{(5-17)/3} df'\f$ */ | |
| REAL8Vector *momI_6, /**< noise moments: momI_6(f) = \int_f0^f (f'/ | | REAL8Vector *momI_6, /**< noise moments: \f$momI_6(f) = \int_{f0}^f | |
| f0)^{(6-17)/3} df' */ | | (f'/f0)^{(6-17)/3} df'\f$ */ | |
| REAL8Vector *momI_7, /**< noise moments: momI_7(f) = \int_f0^f (f'/ | | REAL8Vector *momI_7, /**< noise moments: \f$momI_7(f) = \int_{f0}^f | |
| f0)^{(7-17)/3} df' */ | | (f'/f0)^{(7-17)/3} df'\f$ */ | |
| REAL8Vector *momI_8, /**< noise moments: momI_8(f) = \int_f0^f (f'/ | | REAL8Vector *momI_8, /**< noise moments: \f$momI_8(f) = \int_{f0}^f | |
| f0)^{(8-17)/3} df' */ | | (f'/f0)^{(8-17)/3} df'\f$ */ | |
| REAL8Vector *momI_9, /**< noise moments: momI_9(f) = \int_f0^f (f'/ | | REAL8Vector *momI_9, /**< noise moments: \f$momI_9(f) = \int_{f0}^f | |
| f0)^{(9-17)/3} df' */ | | (f'/f0)^{(9-17)/3} df'\f$ */ | |
| REAL8Vector *momI_10, /**< noise moments: momI_10(f) = \int_f0^f (f' | | REAL8Vector *momI_10, /**< noise moments: \f$momI_10(f) = \int_{f0}^ | |
| /f0)^{(10-17)/3} df' */ | | f (f'/f0)^{(10-17)/3} df'\f$ */ | |
| REAL8Vector *momI_11, /**< noise moments: momI_11(f) = \int_f0^f (f' | | REAL8Vector *momI_11, /**< noise moments: \f$momI_11(f) = \int_{f0}^ | |
| /f0)^{(11-17)/3} df' */ | | f (f'/f0)^{(11-17)/3} df'\f$ */ | |
| REAL8Vector *momI_12, /**< noise moments: momI_12(f) = \int_f0^f (f' | | REAL8Vector *momI_12, /**< noise moments: \f$momI_12(f) = \int_{f0}^ | |
| /f0)^{(12-17)/3} df' */ | | f (f'/f0)^{(12-17)/3} df'\f$ */ | |
| REAL8Vector *momI_13, /**< noise moments: momI_13(f) = \int_f0^f (f' | | REAL8Vector *momI_13, /**< noise moments: \f$momI_13(f) = \int_{f0}^ | |
| /f0)^{(13-17)/3} df' */ | | f (f'/f0)^{(13-17)/3} df'\f$ */ | |
| REAL8Vector *momI_14, /**< noise moments: momI_14(f) = \int_f0^f (f' | | REAL8Vector *momI_14, /**< noise moments: \f$momI_14(f) = \int_{f0}^ | |
| /f0)^{(14-17)/3} df' */ | | f (f'/f0)^{(14-17)/3} df'\f$ */ | |
| REAL8Vector *momI_15, /**< noise moments: momI_15(f) = \int_f0^f (f' | | REAL8Vector *momI_15, /**< noise moments: \f$momI_15(f) = \int_{f0}^ | |
| /f0)^{(15-17)/3} df' */ | | f (f'/f0)^{(15-17)/3} df'\f$ */ | |
| REAL8Vector *momI_16, /**< noise moments: momI_16(f) = \int_f0^f (f' | | REAL8Vector *momI_16, /**< noise moments: \f$momI_16(f) = \int_{f0}^ | |
| /f0)^{(16-17)/3} df' */ | | f (f'/f0)^{(16-17)/3} df'\f$ */ | |
| REAL8Vector *momJ_5, /**< noise moments: momJ_5(f) = \int_f0^f (f'/ | | REAL8Vector *momJ_5, /**< noise moments: \f$momJ_5(f) = \int_{f0}^f | |
| f0)^{(5-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(5-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_6, /**< noise moments: momJ_6(f) = \int_f0^f (f'/ | | REAL8Vector *momJ_6, /**< noise moments: \f$momJ_6(f) = \int_{f0}^f | |
| f0)^{(6-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(6-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_7, /**< noise moments: momJ_7(f) = \int_f0^f (f'/ | | REAL8Vector *momJ_7, /**< noise moments: \f$momJ_7(f) = \int_{f0}^f | |
| f0)^{(7-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(7-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_8, /**< noise moments: momJ_8(f) = \int_f0^f (f'/ | | REAL8Vector *momJ_8, /**< noise moments: \f$momJ_8(f) = \int_{f0}^f | |
| f0)^{(8-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(8-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_9, /**< noise moments: momJ_9(f) = \int_f0^f (f'/ | | REAL8Vector *momJ_9, /**< noise moments: \f$momJ_9(f) = \int_{f0}^f | |
| f0)^{(9-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(9-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_10, /**< noise moments: momJ_10(f) = \int_f0^f (f' | | REAL8Vector *momJ_10, /**< noise moments: \f$momJ_10(f) = \int_{f0}^ | |
| /f0)^{(10-17)/3} log(f'/f0) df' */ | | f (f'/f0)^{(10-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_11, /**< noise moments: momJ_11(f) = \int_f0^f (f' | | REAL8Vector *momJ_11, /**< noise moments: \f$momJ_11(f) = \int_{f0}^ | |
| /f0)^{(11-17)/3} log(f'/f0) df' */ | | f (f'/f0)^{(11-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_12, /**< noise moments: momJ_12(f) = \int_f0^f (f' | | REAL8Vector *momJ_12, /**< noise moments: \f$momJ_12(f) = \int_{f0}^ | |
| /f0)^{(12-17)/3} log(f'/f0) df' */ | | f (f'/f0)^{(12-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_13, /**< noise moments: momJ_13(f) = \int_f0^f (f' | | REAL8Vector *momJ_13, /**< noise moments: \f$momJ_13(f) = \int_{f0}^ | |
| /f0)^{(13-17)/3} log(f'/f0) df' */ | | f (f'/f0)^{(13-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_14, /**< noise moments: momJ_14(f) = \int_f0^f (f' | | REAL8Vector *momJ_14, /**< noise moments: \f$momJ_14(f) = \int_{f0}^ | |
| /f0)^{(14-17)/3} log(f'/f0) df' */ | | f (f'/f0)^{(14-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momK_10, /**< noise moments: momK_14(f) = \int_f0^f (f' | | REAL8Vector *momK_10, /**< noise moments: \f$momK_14(f) = \int_{f0}^ | |
| /f0)^{(14-17)/3} log(f'/f0) log(f'/f0) df' */ | | f (f'/f0)^{(14-17)/3} log(f'/f0) log(f'/f0) df'\f$ */ | |
| REAL8Vector *momK_11, /**< noise moments: momK_15(f) = \int_f0^f (f' | | REAL8Vector *momK_11, /**< noise moments: \f$momK_15(f) = \int_{f0}^ | |
| /f0)^{(15-17)/3} log(f'/f0) log(f'/f0) df' */ | | f (f'/f0)^{(15-17)/3} log(f'/f0) log(f'/f0) df'\f$ */ | |
| REAL8Vector *momK_12 /**< noise moments: momK_16(f) = \int_f0^f (f' | | REAL8Vector *momK_12 /**< noise moments: \f$momK_16(f) = \int_{f0}^ | |
| /f0)^{(16-17)/3} log(f'/f0) log(f'/f0) df' */ | | f (f'/f0)^{(16-17)/3} log(f'/f0) log(f'/f0) df'\f$ */ | |
| ); | | ); | |
| | | | |
| /** | | /** | |
| * Compute the template-space metric of "reduced-spin" PN templates in | | * Compute the template-space metric of "reduced-spin" PN templates in | |
| * theta0, theta3, theta3s parameter space. | | * theta0, theta3, theta3s parameter space. | |
| */ | | */ | |
| int XLALSimInspiralTaylorF2RedSpinMetricChirpTimes( | | int XLALSimInspiralTaylorF2RedSpinMetricChirpTimes( | |
| REAL8 *gamma00, /**< template metric coeff. 00 in theta0-theta3
-theta3s*/ | | REAL8 *gamma00, /**< template metric coeff. 00 in theta0-theta3
-theta3s*/ | |
| REAL8 *gamma01, /**< template metric coeff. 01/10 in theta0-the
ta3-theta3s */ | | REAL8 *gamma01, /**< template metric coeff. 01/10 in theta0-the
ta3-theta3s */ | |
| REAL8 *gamma02, /**< template metric coeff. 02/20 in theta0-the
ta3-theta3s */ | | REAL8 *gamma02, /**< template metric coeff. 02/20 in theta0-the
ta3-theta3s */ | |
| REAL8 *gamma11, /**< template metric coeff. 11 in theta0-theta3
-theta3s */ | | REAL8 *gamma11, /**< template metric coeff. 11 in theta0-theta3
-theta3s */ | |
| REAL8 *gamma12, /**< template metric coeff. 12/21 in theta0-the
ta3-theta3s */ | | REAL8 *gamma12, /**< template metric coeff. 12/21 in theta0-the
ta3-theta3s */ | |
| REAL8 *gamma22, /**< template metric coeff. 22 in theta0-theta3
-theta3s */ | | REAL8 *gamma22, /**< template metric coeff. 22 in theta0-theta3
-theta3s */ | |
| const REAL8 theta0, /**< dimensionless parameter related to the chi
rp time by theta0 = 2 pi fLow tau0 */ | | const REAL8 theta0, /**< dimensionless parameter related to the chi
rp time by theta0 = 2 pi fLow tau0 */ | |
| const REAL8 theta3, /**< dimensionless parameter related to the chi
rp time by theta3 = -2 pi fLow tau3 */ | | const REAL8 theta3, /**< dimensionless parameter related to the chi
rp time by theta3 = -2 pi fLow tau3 */ | |
| const REAL8 theta3s, /**< dimensionless parameter related to the chi
rp time by theta3s = 2 pi fLow tau3s */ | | const REAL8 theta3s, /**< dimensionless parameter related to the chi
rp time by theta3s = 2 pi fLow tau3s */ | |
| const REAL8 fLow, /**< low-frequency cutoff (Hz) */ | | const REAL8 fLow, /**< low-frequency cutoff (Hz) */ | |
| const REAL8 df, /**< frequency resolution of the noise moment v
ectors (Hz) */ | | const REAL8 df, /**< frequency resolution of the noise moment v
ectors (Hz) */ | |
|
| REAL8Vector *momI_0, /**< noise moments: momI_0(f) = \int_f0^f (f'/ | | REAL8Vector *momI_0, /**< noise moments: \f$momI_0(f) = \int_{f0}^f | |
| f0)^{(0-17)/3} df' */ | | (f'/f0)^{(0-17)/3} df'\f$ */ | |
| REAL8Vector *momI_2, /**< noise moments: momI_2(f) = \int_f0^f (f'/ | | REAL8Vector *momI_2, /**< noise moments: \f$momI_2(f) = \int_{f0}^f | |
| f0)^{(2-17)/3} df' */ | | (f'/f0)^{(2-17)/3} df'\f$ */ | |
| REAL8Vector *momI_3, /**< noise moments: momI_3(f) = \int_f0^f (f'/ | | REAL8Vector *momI_3, /**< noise moments: \f$momI_3(f) = \int_{f0}^f | |
| f0)^{(3-17)/3} df' */ | | (f'/f0)^{(3-17)/3} df'\f$ */ | |
| REAL8Vector *momI_4, /**< noise moments: momI_4(f) = \int_f0^f (f'/ | | REAL8Vector *momI_4, /**< noise moments: \f$momI_4(f) = \int_{f0}^f | |
| f0)^{(4-17)/3} df' */ | | (f'/f0)^{(4-17)/3} df'\f$ */ | |
| REAL8Vector *momI_5, /**< noise moments: momI_5(f) = \int_f0^f (f'/ | | REAL8Vector *momI_5, /**< noise moments: \f$momI_5(f) = \int_{f0}^f | |
| f0)^{(5-17)/3} df' */ | | (f'/f0)^{(5-17)/3} df'\f$ */ | |
| REAL8Vector *momI_6, /**< noise moments: momI_6(f) = \int_f0^f (f'/ | | REAL8Vector *momI_6, /**< noise moments: \f$momI_6(f) = \int_{f0}^f | |
| f0)^{(6-17)/3} df' */ | | (f'/f0)^{(6-17)/3} df'\f$ */ | |
| REAL8Vector *momI_7, /**< noise moments: momI_7(f) = \int_f0^f (f'/ | | REAL8Vector *momI_7, /**< noise moments: \f$momI_7(f) = \int_{f0}^f | |
| f0)^{(7-17)/3} df' */ | | (f'/f0)^{(7-17)/3} df'\f$ */ | |
| REAL8Vector *momI_8, /**< noise moments: momI_8(f) = \int_f0^f (f'/ | | REAL8Vector *momI_8, /**< noise moments: \f$momI_8(f) = \int_{f0}^f | |
| f0)^{(8-17)/3} df' */ | | (f'/f0)^{(8-17)/3} df'\f$ */ | |
| REAL8Vector *momI_9, /**< noise moments: momI_9(f) = \int_f0^f (f'/ | | REAL8Vector *momI_9, /**< noise moments: \f$momI_9(f) = \int_{f0}^f | |
| f0)^{(9-17)/3} df' */ | | (f'/f0)^{(9-17)/3} df'\f$ */ | |
| REAL8Vector *momI_10, /**< noise moments: momI_10(f) = \int_f0^f (f' | | REAL8Vector *momI_10, /**< noise moments: \f$momI_10(f) = \int_{f0}^ | |
| /f0)^{(10-17)/3} df' */ | | f (f'/f0)^{(10-17)/3} df'\f$ */ | |
| REAL8Vector *momI_11, /**< noise moments: momI_11(f) = \int_f0^f (f' | | REAL8Vector *momI_11, /**< noise moments: \f$momI_11(f) = \int_{f0}^ | |
| /f0)^{(11-17)/3} df' */ | | f (f'/f0)^{(11-17)/3} df'\f$ */ | |
| REAL8Vector *momI_12, /**< noise moments: momI_12(f) = \int_f0^f (f' | | REAL8Vector *momI_12, /**< noise moments: \f$momI_12(f) = \int_{f0}^ | |
| /f0)^{(12-17)/3} df' */ | | f (f'/f0)^{(12-17)/3} df'\f$ */ | |
| REAL8Vector *momI_13, /**< noise moments: momI_13(f) = \int_f0^f (f' | | REAL8Vector *momI_13, /**< noise moments: \f$momI_13(f) = \int_{f0}^ | |
| /f0)^{(13-17)/3} df' */ | | f (f'/f0)^{(13-17)/3} df'\f$ */ | |
| REAL8Vector *momI_14, /**< noise moments: momI_14(f) = \int_f0^f (f' | | REAL8Vector *momI_14, /**< noise moments: \f$momI_14(f) = \int_{f0}^ | |
| /f0)^{(14-17)/3} df' */ | | f (f'/f0)^{(14-17)/3} df'\f$ */ | |
| REAL8Vector *momI_15, /**< noise moments: momI_15(f) = \int_f0^f (f' | | REAL8Vector *momI_15, /**< noise moments: \f$momI_15(f) = \int_{f0}^ | |
| /f0)^{(15-17)/3} df' */ | | f (f'/f0)^{(15-17)/3} df'\f$ */ | |
| REAL8Vector *momI_16, /**< noise moments: momI_16(f) = \int_f0^f (f' | | REAL8Vector *momI_16, /**< noise moments: \f$momI_16(f) = \int_{f0}^ | |
| /f0)^{(16-17)/3} df' */ | | f (f'/f0)^{(16-17)/3} df'\f$ */ | |
| REAL8Vector *momJ_5, /**< noise moments: momJ_5(f) = \int_f0^f (f'/ | | REAL8Vector *momJ_5, /**< noise moments: \f$momJ_5(f) = \int_{f0}^f | |
| f0)^{(5-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(5-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_6, /**< noise moments: momJ_6(f) = \int_f0^f (f'/ | | REAL8Vector *momJ_6, /**< noise moments: \f$momJ_6(f) = \int_{f0}^f | |
| f0)^{(6-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(6-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_7, /**< noise moments: momJ_7(f) = \int_f0^f (f'/ | | REAL8Vector *momJ_7, /**< noise moments: \f$momJ_7(f) = \int_{f0}^f | |
| f0)^{(7-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(7-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_8, /**< noise moments: momJ_8(f) = \int_f0^f (f'/ | | REAL8Vector *momJ_8, /**< noise moments: \f$momJ_8(f) = \int_{f0}^f | |
| f0)^{(8-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(8-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_9, /**< noise moments: momJ_9(f) = \int_f0^f (f'/ | | REAL8Vector *momJ_9, /**< noise moments: \f$momJ_9(f) = \int_{f0}^f | |
| f0)^{(9-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(9-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_10, /**< noise moments: momJ_10(f) = \int_f0^f (f' | | REAL8Vector *momJ_10, /**< noise moments: \f$momJ_10(f) = \int_{f0}^ | |
| /f0)^{(10-17)/3} log(f'/f0) df' */ | | f (f'/f0)^{(10-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_11, /**< noise moments: momJ_11(f) = \int_f0^f (f' | | REAL8Vector *momJ_11, /**< noise moments: \f$momJ_11(f) = \int_{f0}^ | |
| /f0)^{(11-17)/3} log(f'/f0) df' */ | | f (f'/f0)^{(11-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_12, /**< noise moments: momJ_12(f) = \int_f0^f (f' | | REAL8Vector *momJ_12, /**< noise moments: \f$momJ_12(f) = \int_{f0}^ | |
| /f0)^{(12-17)/3} log(f'/f0) df' */ | | f (f'/f0)^{(12-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_13, /**< noise moments: momJ_13(f) = \int_f0^f (f' | | REAL8Vector *momJ_13, /**< noise moments: \f$momJ_13(f) = \int_{f0}^ | |
| /f0)^{(13-17)/3} log(f'/f0) df' */ | | f (f'/f0)^{(13-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_14, /**< noise moments: momJ_14(f) = \int_f0^f (f' | | REAL8Vector *momJ_14, /**< noise moments: \f$momJ_14(f) = \int_{f0}^ | |
| /f0)^{(14-17)/3} log(f'/f0) df' */ | | f (f'/f0)^{(14-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momK_10, /**< noise moments: momK_14(f) = \int_f0^f (f' | | REAL8Vector *momK_10, /**< noise moments: \f$momK_14(f) = \int_{f0}^ | |
| /f0)^{(14-17)/3} log(f'/f0) log(f'/f0) df' */ | | f (f'/f0)^{(14-17)/3} log(f'/f0) log(f'/f0) df'\f$ */ | |
| REAL8Vector *momK_11, /**< noise moments: momK_15(f) = \int_f0^f (f' | | REAL8Vector *momK_11, /**< noise moments: \f$momK_15(f) = \int_{f0}^ | |
| /f0)^{(15-17)/3} log(f'/f0) log(f'/f0) df' */ | | f (f'/f0)^{(15-17)/3} log(f'/f0) log(f'/f0) df'\f$ */ | |
| REAL8Vector *momK_12 /**< noise moments: momK_16(f) = \int_f0^f (f' | | REAL8Vector *momK_12 /**< noise moments: \f$momK_16(f) = \int_{f0}^ | |
| /f0)^{(16-17)/3} log(f'/f0) log(f'/f0) df' */ | | f (f'/f0)^{(16-17)/3} log(f'/f0) log(f'/f0) df'\f$ */ | |
| ); | | ); | |
| | | | |
| int XLALSimInspiralTaylorF2RedSpinComputeNoiseMoments( | | int XLALSimInspiralTaylorF2RedSpinComputeNoiseMoments( | |
|
| REAL8Vector *momI_0, /**< noise moments: momI_0(f) = \int_f0^f (f'/f | | REAL8Vector *momI_0, /**< noise moments: \f$momI_0(f) = \int_{f0}^f | |
| 0)^{(0-17)/3} df' */ | | (f'/f0)^{(0-17)/3} df'\f$ */ | |
| REAL8Vector *momI_2, /**< noise moments: momI_2(f) = \int_f0^f (f'/f | | REAL8Vector *momI_2, /**< noise moments: \f$momI_2(f) = \int_{f0}^f | |
| 0)^{(2-17)/3} df' */ | | (f'/f0)^{(2-17)/3} df'\f$ */ | |
| REAL8Vector *momI_3, /**< noise moments: momI_3(f) = \int_f0^f (f'/f | | REAL8Vector *momI_3, /**< noise moments: \f$momI_3(f) = \int_{f0}^f | |
| 0)^{(3-17)/3} df' */ | | (f'/f0)^{(3-17)/3} df'\f$ */ | |
| REAL8Vector *momI_4, /**< noise moments: momI_4(f) = \int_f0^f (f'/f | | REAL8Vector *momI_4, /**< noise moments: \f$momI_4(f) = \int_{f0}^f | |
| 0)^{(4-17)/3} df' */ | | (f'/f0)^{(4-17)/3} df'\f$ */ | |
| REAL8Vector *momI_5, /**< noise moments: momI_5(f) = \int_f0^f (f'/f | | REAL8Vector *momI_5, /**< noise moments: \f$momI_5(f) = \int_{f0}^f | |
| 0)^{(5-17)/3} df' */ | | (f'/f0)^{(5-17)/3} df'\f$ */ | |
| REAL8Vector *momI_6, /**< noise moments: momI_6(f) = \int_f0^f (f'/f | | REAL8Vector *momI_6, /**< noise moments: \f$momI_6(f) = \int_{f0}^f | |
| 0)^{(6-17)/3} df' */ | | (f'/f0)^{(6-17)/3} df'\f$ */ | |
| REAL8Vector *momI_7, /**< noise moments: momI_7(f) = \int_f0^f (f'/f | | REAL8Vector *momI_7, /**< noise moments: \f$momI_7(f) = \int_{f0}^f | |
| 0)^{(7-17)/3} df' */ | | (f'/f0)^{(7-17)/3} df'\f$ */ | |
| REAL8Vector *momI_8, /**< noise moments: momI_8(f) = \int_f0^f (f'/f | | REAL8Vector *momI_8, /**< noise moments: \f$momI_8(f) = \int_{f0}^f | |
| 0)^{(8-17)/3} df' */ | | (f'/f0)^{(8-17)/3} df'\f$ */ | |
| REAL8Vector *momI_9, /**< noise moments: momI_9(f) = \int_f0^f (f'/f | | REAL8Vector *momI_9, /**< noise moments: \f$momI_9(f) = \int_{f0}^f | |
| 0)^{(9-17)/3} df' */ | | (f'/f0)^{(9-17)/3} df'\f$ */ | |
| REAL8Vector *momI_10, /**< noise moments: momI_10(f) = \int_f0^f (f'/ | | REAL8Vector *momI_10, /**< noise moments: \f$momI_10(f) = \int_{f0}^f | |
| f0)^{(10-17)/3} df' */ | | (f'/f0)^{(10-17)/3} df'\f$ */ | |
| REAL8Vector *momI_11, /**< noise moments: momI_11(f) = \int_f0^f (f'/ | | REAL8Vector *momI_11, /**< noise moments: \f$momI_11(f) = \int_{f0}^f | |
| f0)^{(11-17)/3} df' */ | | (f'/f0)^{(11-17)/3} df'\f$ */ | |
| REAL8Vector *momI_12, /**< noise moments: momI_12(f) = \int_f0^f (f'/ | | REAL8Vector *momI_12, /**< noise moments: \f$momI_12(f) = \int_{f0}^f | |
| f0)^{(12-17)/3} df' */ | | (f'/f0)^{(12-17)/3} df'\f$ */ | |
| REAL8Vector *momI_13, /**< noise moments: momI_13(f) = \int_f0^f (f'/ | | REAL8Vector *momI_13, /**< noise moments: \f$momI_13(f) = \int_{f0}^f | |
| f0)^{(13-17)/3} df' */ | | (f'/f0)^{(13-17)/3} df'\f$ */ | |
| REAL8Vector *momI_14, /**< noise moments: momI_14(f) = \int_f0^f (f'/ | | REAL8Vector *momI_14, /**< noise moments: \f$momI_14(f) = \int_{f0}^f | |
| f0)^{(14-17)/3} df' */ | | (f'/f0)^{(14-17)/3} df'\f$ */ | |
| REAL8Vector *momI_15, /**< noise moments: momI_15(f) = \int_f0^f (f'/ | | REAL8Vector *momI_15, /**< noise moments: \f$momI_15(f) = \int_{f0}^f | |
| f0)^{(15-17)/3} df' */ | | (f'/f0)^{(15-17)/3} df'\f$ */ | |
| REAL8Vector *momI_16, /**< noise moments: momI_16(f) = \int_f0^f (f'/ | | REAL8Vector *momI_16, /**< noise moments: \f$momI_16(f) = \int_{f0}^f | |
| f0)^{(16-17)/3} df' */ | | (f'/f0)^{(16-17)/3} df'\f$ */ | |
| REAL8Vector *momJ_5, /**< noise moments: momJ_5(f) = \int_f0^f (f'/f | | REAL8Vector *momJ_5, /**< noise moments: \f$momJ_5(f) = \int_{f0}^f | |
| 0)^{(5-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(5-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_6, /**< noise moments: momJ_6(f) = \int_f0^f (f'/f | | REAL8Vector *momJ_6, /**< noise moments: \f$momJ_6(f) = \int_{f0}^f | |
| 0)^{(6-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(6-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_7, /**< noise moments: momJ_7(f) = \int_f0^f (f'/f | | REAL8Vector *momJ_7, /**< noise moments: \f$momJ_7(f) = \int_{f0}^f | |
| 0)^{(7-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(7-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_8, /**< noise moments: momJ_8(f) = \int_f0^f (f'/f | | REAL8Vector *momJ_8, /**< noise moments: \f$momJ_8(f) = \int_{f0}^f | |
| 0)^{(8-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(8-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_9, /**< noise moments: momJ_9(f) = \int_f0^f (f'/f | | REAL8Vector *momJ_9, /**< noise moments: \f$momJ_9(f) = \int_{f0}^f | |
| 0)^{(9-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(9-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_10, /**< noise moments: momJ_10(f) = \int_f0^f (f'/ | | REAL8Vector *momJ_10, /**< noise moments: \f$momJ_10(f) = \int_{f0}^f | |
| f0)^{(10-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(10-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_11, /**< noise moments: momJ_11(f) = \int_f0^f (f'/ | | REAL8Vector *momJ_11, /**< noise moments: \f$momJ_11(f) = \int_{f0}^f | |
| f0)^{(11-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(11-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_12, /**< noise moments: momJ_12(f) = \int_f0^f (f'/ | | REAL8Vector *momJ_12, /**< noise moments: \f$momJ_12(f) = \int_{f0}^f | |
| f0)^{(12-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(12-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_13, /**< noise moments: momJ_13(f) = \int_f0^f (f'/ | | REAL8Vector *momJ_13, /**< noise moments: \f$momJ_13(f) = \int_{f0}^f | |
| f0)^{(13-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(13-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momJ_14, /**< noise moments: momJ_14(f) = \int_f0^f (f'/ | | REAL8Vector *momJ_14, /**< noise moments: \f$momJ_14(f) = \int_{f0}^f | |
| f0)^{(14-17)/3} log(f'/f0) df' */ | | (f'/f0)^{(14-17)/3} log(f'/f0) df'\f$ */ | |
| REAL8Vector *momK_10, /**< noise moments: momK_10(f) = \int_f0^f (f'/ | | REAL8Vector *momK_10, /**< noise moments: \f$momK_10(f) = \int_{f0}^f | |
| f0)^{(10-17)/3} log(f'/f0) log(f'/f0) df' */ | | (f'/f0)^{(10-17)/3} log(f'/f0) log(f'/f0) df'\f$ */ | |
| REAL8Vector *momK_11, /**< noise moments: momK_11(f) = \int_f0^f (f'/ | | REAL8Vector *momK_11, /**< noise moments: \f$momK_11(f) = \int_{f0}^f | |
| f0)^{(11-17)/3} log(f'/f0) log(f'/f0) df' */ | | (f'/f0)^{(11-17)/3} log(f'/f0) log(f'/f0) df'\f$ */ | |
| REAL8Vector *momK_12, /**< noise moments: momK_12(f) = \int_f0^f (f'/ | | REAL8Vector *momK_12, /**< noise moments: \f$momK_12(f) = \int_{f0}^f | |
| f0)^{(12-17)/3} log(f'/f0) log(f'/f0) df' */ | | (f'/f0)^{(12-17)/3} log(f'/f0) log(f'/f0) df'\f$ */ | |
| REAL8Vector *Sh, /**< one sided PSD of the detector noise: Sh(f
) for f = [fLow, fNyq] */ | | REAL8Vector *Sh, /**< one sided PSD of the detector noise: Sh(f
) for f = [fLow, fNyq] */ | |
| REAL8 fLow, /**< low frequency cutoff (Hz) */ | | REAL8 fLow, /**< low frequency cutoff (Hz) */ | |
| REAL8 df | | REAL8 df | |
| ); | | ); | |
| | | | |
| /* compute theta0, theta3, theta3s from mc, eta, chi */ | | /* compute theta0, theta3, theta3s from mc, eta, chi */ | |
| void XLALSimInspiralTaylorF2RedSpinChirpTimesFromMchirpEtaChi( | | void XLALSimInspiralTaylorF2RedSpinChirpTimesFromMchirpEtaChi( | |
| double *theta0, /**< dimensionless parameter related to the chirp time
by theta0 = 2 pi fLow tau0 */ | | double *theta0, /**< dimensionless parameter related to the chirp time
by theta0 = 2 pi fLow tau0 */ | |
| double *theta3, /**< dimensionless parameter related to the chirp time
by theta3 = -2 pi fLow tau3 */ | | double *theta3, /**< dimensionless parameter related to the chirp time
by theta3 = -2 pi fLow tau3 */ | |
| double *theta3s,/**< dimensionless parameter related to the chirp time
by theta3s = 2 pi fLow tau3s */ | | double *theta3s,/**< dimensionless parameter related to the chirp time
by theta3s = 2 pi fLow tau3s */ | |
| | | | |
End of changes. 55 change blocks. |
| 826 lines changed or deleted | | 1279 lines changed or added | |
|