| DetectorSite.h | | DetectorSite.h | |
| /********************************* <lalVerbatim file="DetectorSiteHV"> | | /********************************* <lalVerbatim file="DetectorSiteHV"> | |
| Author: J. T. Whelan <whelan@oates.utb.edu> | | Author: J. T. Whelan <whelan@oates.utb.edu> | |
|
| $Id: DetectorSite.h,v 1.8 2001/12/09 04:24:18 whelan Exp $ | | $Id: DetectorSite.h,v 1.9 2002/08/02 23:01:24 whelan Exp $ | |
| ********************************** </lalVerbatim> */ | | ********************************** </lalVerbatim> */ | |
| | | | |
| /********************************* <lalLaTeX> | | /********************************* <lalLaTeX> | |
| | | | |
| \section{Header \texttt{DetectorSite.h}} | | \section{Header \texttt{DetectorSite.h}} | |
| \label{tools:s:DetectorSite.h} | | \label{tools:s:DetectorSite.h} | |
| | | | |
| This header defines structures to hold the basic data describing | | This header defines structures to hold the basic data describing | |
| a gravitational wave detector. | | a gravitational wave detector. | |
| | | | |
| | | | |
| skipping to change at line 55 | | skipping to change at line 55 | |
| | | | |
| Geodetic co\"{o}rdinates are spheroidal co\"{o}rdinates | | Geodetic co\"{o}rdinates are spheroidal co\"{o}rdinates | |
| based on the WGS-84 Earth Model, which is an | | based on the WGS-84 Earth Model, which is an | |
| oblate spheroid with equatorial radius $a=6.378137\times | | oblate spheroid with equatorial radius $a=6.378137\times | |
| 10^6\,\textrm{m}$ and polar radius $b=6.356752314\times | | 10^6\,\textrm{m}$ and polar radius $b=6.356752314\times | |
| 10^6\,\textrm{m}$. Any point in space can be located according to its | | 10^6\,\textrm{m}$. Any point in space can be located according to its | |
| longitude, latitude, and elevation. The \textit{longitude} $\lambda$ | | longitude, latitude, and elevation. The \textit{longitude} $\lambda$ | |
| is the angle between the half-plane bounded by the symmetry axis of | | is the angle between the half-plane bounded by the symmetry axis of | |
| the reference ellipsoid containing the point in question and the | | the reference ellipsoid containing the point in question and the | |
| half-plane plane containing the Prime Meridian; it is measured in | | half-plane plane containing the Prime Meridian; it is measured in | |
|
| degrees, increases to the East, and ranges from | | radians, increases to the East, and ranges from | |
| $-180^\circ$ to $180^\circ$. The \textit{latitude} $\beta$ is the | | $-\pi$ to $\pi$. The \textit{latitude} $\beta$ is the | |
| angle between the ray which is normal to the ellipsoid and passes | | angle between the ray which is normal to the ellipsoid and passes | |
| through the point in question and the equatorial plane; it is measured | | through the point in question and the equatorial plane; it is measured | |
|
| in degrees, increases to the North, and ranges | | in radians, increases to the North, and ranges | |
| from $-90^\circ$ to $90^\circ$. The \textit{elevation} $h$ is the | | from $-\pi/2$ to $\pi/2$. The \textit{elevation} $h$ is the | |
| signed distance along this ray from the reference ellipsoid to the | | signed distance along this ray from the reference ellipsoid to the | |
| point in question. This co\"{o}rdinate system is described in more | | point in question. This co\"{o}rdinate system is described in more | |
| detail in \cite{tools:Althouse:1999}. | | detail in \cite{tools:Althouse:1999}. | |
| | | | |
| \subsubsection*{Altitude and Azimuth Angles} | | \subsubsection*{Altitude and Azimuth Angles} | |
| | | | |
| The \texttt{LALFrDetector} structure stores the directions along the | | The \texttt{LALFrDetector} structure stores the directions along the | |
| two arms of an interferometer in an altitude/azimuth representation | | two arms of an interferometer in an altitude/azimuth representation | |
| with respect to the local tangent plane to the reference ellipsoid, | | with respect to the local tangent plane to the reference ellipsoid, | |
| known as the local horizontal. The altitude ${\mathcal{A}}$ is the angle t
he | | known as the local horizontal. The altitude ${\mathcal{A}}$ is the angle t
he | |
| direction vector makes with the horizontal, ${\mathcal{A}} > 0$ meaning abo
ve | | direction vector makes with the horizontal, ${\mathcal{A}} > 0$ meaning abo
ve | |
| horizontal, ${\mathcal{A}} < 0$ below. The azimuth angle $\zeta$ is found
by | | horizontal, ${\mathcal{A}} < 0$ below. The azimuth angle $\zeta$ is found
by | |
| projecting the direction onto the local horizontal plane, then | | projecting the direction onto the local horizontal plane, then | |
|
| measuring the angle counter-clockwise from East (the direction in | | measuring the angle clockwise from North to this projected direction. | |
| which longitude increases fastest) to this projected direction. | | | |
| | | | |
| \subsubsection*{The Cartesian Co\"{o}rdinate System} | | \subsubsection*{The Cartesian Co\"{o}rdinate System} | |
| | | | |
| The position vector and response tensor contained in the | | The position vector and response tensor contained in the | |
| \texttt{LALDetector} structure are defined in | | \texttt{LALDetector} structure are defined in | |
| a simple orthonormal co\"{o}rdinate system with its origin at | | a simple orthonormal co\"{o}rdinate system with its origin at | |
| the center of the earth, an $x^1$ axis which pierces the Earth's | | the center of the earth, an $x^1$ axis which pierces the Earth's | |
| surface at the intersection of the equator and the prime meridian, an | | surface at the intersection of the equator and the prime meridian, an | |
|
| $x^2$ axis which pierces the earth's surface at 90 degrees East | | $x^2$ axis which pierces the earth's surface at $\pi/2$ radians East | |
| longitude on the equator, and an $x^3$ axis which pierces the Earth's | | longitude on the equator, and an $x^3$ axis which pierces the Earth's | |
| surface at the North Pole. The co\"{o}rdinates $x^1$, $x^2$, $x^3$ | | surface at the North Pole. The co\"{o}rdinates $x^1$, $x^2$, $x^3$ | |
| correspond to the Earth-fixed co\"{o}rdinates $X_E$, $Y_E$, $Z_E$ | | correspond to the Earth-fixed co\"{o}rdinates $X_E$, $Y_E$, $Z_E$ | |
| defined in \cite{tools:Althouse:1999}, respectively. | | defined in \cite{tools:Althouse:1999}, respectively. | |
| | | | |
| The relationship between geodetic and Cartesian co\"{o}rdinates is | | The relationship between geodetic and Cartesian co\"{o}rdinates is | |
| given by | | given by | |
| \begin{eqnarray} | | \begin{eqnarray} | |
| \label{tools:e:cart1} | | \label{tools:e:cart1} | |
| x^1&=&\left( | | x^1&=&\left( | |
| | | | |
| skipping to change at line 145 | | skipping to change at line 144 | |
| | | | |
| #ifndef _DETECTORSITE_H | | #ifndef _DETECTORSITE_H | |
| #define _DETECTORSITE_H | | #define _DETECTORSITE_H | |
| | | | |
| #include <lal/LALStdlib.h> | | #include <lal/LALStdlib.h> | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| extern "C" { | | extern "C" { | |
| #endif | | #endif | |
| | | | |
|
| NRCSID (DETECTORSITEH, "$Id: DetectorSite.h,v 1.8 2001/12/09 04:24:18 whela
n Exp $"); | | NRCSID (DETECTORSITEH, "$Id: DetectorSite.h,v 1.9 2002/08/02 23:01:24 whela
n Exp $"); | |
| | | | |
| /******************************** <lalErrTable file="DetectorSiteHE"> */ | | /******************************** <lalErrTable file="DetectorSiteHE"> */ | |
| | | | |
| #define DETECTORSITEH_ENULLP 1 | | #define DETECTORSITEH_ENULLP 1 | |
| #define DETECTORSITEH_ETYPE 2 | | #define DETECTORSITEH_ETYPE 2 | |
| | | | |
| #define DETECTORSITEH_MSGENULLP "Null pointer" | | #define DETECTORSITEH_MSGENULLP "Null pointer" | |
| #define DETECTORSITEH_MSGETYPE "Unsupported detector type" | | #define DETECTORSITEH_MSGETYPE "Unsupported detector type" | |
| | | | |
| /************************************ </lalErrTable> */ | | /************************************ </lalErrTable> */ | |
| | | | |
| skipping to change at line 283 | | skipping to change at line 282 | |
| /********************************* <lalLaTeX> | | /********************************* <lalLaTeX> | |
| | | | |
| \subsubsection*{Structure \texttt{LALFrDetector}} | | \subsubsection*{Structure \texttt{LALFrDetector}} | |
| \idx[Type]{LALFrDetector} | | \idx[Type]{LALFrDetector} | |
| | | | |
| The \texttt{LALFrDetector} structure holds site geometry information | | The \texttt{LALFrDetector} structure holds site geometry information | |
| in the same format as the \texttt{FrDetector} structure defined in the | | in the same format as the \texttt{FrDetector} structure defined in the | |
| frames spec. \cite{tools:LIGOVIRGO:2000} The fields are: | | frames spec. \cite{tools:LIGOVIRGO:2000} The fields are: | |
| \begin{description} | | \begin{description} | |
| \item[\texttt{CHAR name[LALNameLength]}] A unique identifying string. | | \item[\texttt{CHAR name[LALNameLength]}] A unique identifying string. | |
|
| \item[\texttt{REAL8 vertexLongitudeDegrees}] The geodetic longitude | | \item[\texttt{REAL8 vertexLongitudeRadians}] The geodetic longitude | |
| $\lambda$ of the vertex, in degrees. | | $\lambda$ of the vertex, in radians. | |
| \item[\texttt{REAL8 vertexLatitudeDegrees}] The geodetic latitude | | \item[\texttt{REAL8 vertexLatitudeRadians}] The geodetic latitude | |
| $\beta$ of the vertex, in degrees. | | $\beta$ of the vertex, in radians. | |
| \item[\texttt{REAL4 vertexElevation}] The height of the vertex above | | \item[\texttt{REAL4 vertexElevation}] The height of the vertex above | |
| the reference ellipsoid, in meters. | | the reference ellipsoid, in meters. | |
| \item[\texttt{REAL4 xArmAltitudeRadians}] The angle ${\mathcal{A}}_X$ up
from the | | \item[\texttt{REAL4 xArmAltitudeRadians}] The angle ${\mathcal{A}}_X$ up
from the | |
| local tangent plane of the reference ellipsoid to the X arm, in radians. | | local tangent plane of the reference ellipsoid to the X arm, in radians. | |
| \item[\texttt{REAL4 xArmAzimuthRadians}] The angle $\zeta_X$ counterclock
wise | | \item[\texttt{REAL4 xArmAzimuthRadians}] The angle $\zeta_X$ counterclock
wise | |
| from East to the projection of the X arm into the local tangent plane of | | from East to the projection of the X arm into the local tangent plane of | |
| the reference ellipsoid, in radians. | | the reference ellipsoid, in radians. | |
| \item[\texttt{REAL4 yArmAltitudeRadians}] The angle ${\mathcal{A}}_Y$ up
from the | | \item[\texttt{REAL4 yArmAltitudeRadians}] The angle ${\mathcal{A}}_Y$ up
from the | |
| local tangent plane of the reference ellipsoid to the Y arm, in radians. | | local tangent plane of the reference ellipsoid to the Y arm, in radians. | |
| \item[\texttt{REAL4 yArmAzimuthRadians}] The angle $\zeta_Y$ counterclock
wise | | \item[\texttt{REAL4 yArmAzimuthRadians}] The angle $\zeta_Y$ counterclock
wise | |
| from East to the projection of the Y arm into the local tangent plane of | | from East to the projection of the Y arm into the local tangent plane of | |
| the reference ellipsoid, in radians. | | the reference ellipsoid, in radians. | |
| \end{description} | | \end{description} | |
| | | | |
| ********************************** </lalLaTeX> */ | | ********************************** </lalLaTeX> */ | |
| | | | |
| typedef struct tagLALFrDetector | | typedef struct tagLALFrDetector | |
| { | | { | |
| CHAR name[LALNameLength]; | | CHAR name[LALNameLength]; | |
|
| REAL8 vertexLongitudeDegrees; | | REAL8 vertexLongitudeRadians; | |
| REAL8 vertexLatitudeDegrees; | | REAL8 vertexLatitudeRadians; | |
| REAL4 vertexElevation; | | REAL4 vertexElevation; | |
| REAL4 xArmAltitudeRadians; | | REAL4 xArmAltitudeRadians; | |
| REAL4 xArmAzimuthRadians; | | REAL4 xArmAzimuthRadians; | |
| REAL4 yArmAltitudeRadians; | | REAL4 yArmAltitudeRadians; | |
| REAL4 yArmAzimuthRadians; | | REAL4 yArmAzimuthRadians; | |
| } LALFrDetector; | | } LALFrDetector; | |
| | | | |
| /********************************* <lalLaTeX> | | /********************************* <lalLaTeX> | |
| | | | |
| \subsubsection*{Structure \texttt{LALDetector}} | | \subsubsection*{Structure \texttt{LALDetector}} | |
| | | | |
End of changes. 8 change blocks. |
| 15 lines changed or deleted | | 14 lines changed or added | |
|
| EPSearch.h | | EPSearch.h | |
| /********************************** <lalVerbatim file="ExcessPowerHV"> | | /********************************** <lalVerbatim file="ExcessPowerHV"> | |
| Author: Flanagan, E | | Author: Flanagan, E | |
|
| $Id: EPSearch.h,v 1.2 2002/04/16 22:03:00 patrick Exp $ | | $Id: EPSearch.h,v 1.3 2002/07/25 20:19:42 msw Exp $ | |
| **************************************************** </lalVerbatim> */ | | **************************************************** </lalVerbatim> */ | |
| | | | |
| #ifndef _EPSEARCH_H | | #ifndef _EPSEARCH_H | |
| #define _EPSEARCH_H | | #define _EPSEARCH_H | |
| | | | |
| #include <lal/LALStdlib.h> | | #include <lal/LALStdlib.h> | |
| #include <lal/LALDatatypes.h> | | #include <lal/LALDatatypes.h> | |
| #include <lal/TFTransform.h> | | #include <lal/TFTransform.h> | |
| #include <lal/ExcessPower.h> | | #include <lal/ExcessPower.h> | |
| #include <lal/BurstSearch.h> | | #include <lal/BurstSearch.h> | |
| #include <lal/LALRCSID.h> | | #include <lal/LALRCSID.h> | |
| | | | |
| #ifdef __cplusplus /* C++ protection. */ | | #ifdef __cplusplus /* C++ protection. */ | |
| extern "C" { | | extern "C" { | |
| #endif | | #endif | |
| | | | |
|
| NRCSID (EPSEARCHH, "$Id: EPSearch.h,v 1.2 2002/04/16 22:03:00 patrick Exp $
"); | | NRCSID (EPSEARCHH, "$Id: EPSearch.h,v 1.3 2002/07/25 20:19:42 msw Exp $"); | |
| | | | |
| /******** <lalErrTable file="ExcessPowerHErrTab"> ********/ | | /******** <lalErrTable file="ExcessPowerHErrTab"> ********/ | |
| #define EPSEARCHH_ENULLP 1 | | #define EPSEARCHH_ENULLP 1 | |
| #define EPSEARCHH_EPOSARG 2 | | #define EPSEARCHH_EPOSARG 2 | |
| #define EPSEARCHH_EPOW2 4 | | #define EPSEARCHH_EPOW2 4 | |
| #define EPSEARCHH_EMALLOC 8 | | #define EPSEARCHH_EMALLOC 8 | |
| #define EPSEARCHH_EINCOMP 16 | | #define EPSEARCHH_EINCOMP 16 | |
| #define EPSEARCHH_EORDER 32 | | #define EPSEARCHH_EORDER 32 | |
| #define EPSEARCHH_ENONNULL 64 | | #define EPSEARCHH_ENONNULL 64 | |
| #define EPSEARCHH_ETILES 65 | | #define EPSEARCHH_ETILES 65 | |
| | | | |
| skipping to change at line 45 | | skipping to change at line 45 | |
| #define EPSEARCHH_MSGEPOW2 "Length of supplied data must be a power of
2" | | #define EPSEARCHH_MSGEPOW2 "Length of supplied data must be a power of
2" | |
| #define EPSEARCHH_MSGEMALLOC "Malloc failure" | | #define EPSEARCHH_MSGEMALLOC "Malloc failure" | |
| #define EPSEARCHH_MSGEINCOMP "Incompatible arguments" | | #define EPSEARCHH_MSGEINCOMP "Incompatible arguments" | |
| #define EPSEARCHH_MSGEORDER "Routines called in illegal order" | | #define EPSEARCHH_MSGEORDER "Routines called in illegal order" | |
| #define EPSEARCHH_MSGENONNULL "Null pointer expected" | | #define EPSEARCHH_MSGENONNULL "Null pointer expected" | |
| #define EPSEARCHH_MSGETILES "Malloc failed while assigning memory for a
tile" | | #define EPSEARCHH_MSGETILES "Malloc failed while assigning memory for a
tile" | |
| #define EPSEARCHH_MSGEDELF "Inconsistent deltaF in spectrum and data" | | #define EPSEARCHH_MSGEDELF "Inconsistent deltaF in spectrum and data" | |
| /******** </lalErrTable> ********/ | | /******** </lalErrTable> ********/ | |
| | | | |
| typedef struct | | typedef struct | |
|
| | | tagEPDataSegment | |
| | | { | |
| | | REAL4TimeSeries *data; | |
| | | REAL4FrequencySeries *spec; | |
| | | COMPLEX8FrequencySeries *resp; | |
| | | INT4 endOfData; | |
| | | INT4 newLock; | |
| | | INT4 newCal; | |
| | | INT4 number; | |
| | | } | |
| | | EPDataSegment; | |
| | | | |
| | | typedef struct | |
| | | tagEPDataSegmentVector | |
| | | { | |
| | | UINT4 length; | |
| | | EPDataSegment *data; | |
| | | } | |
| | | EPDataSegmentVector; | |
| | | | |
| | | /* enum added to control search method 7/18/02 MSW */ | |
| | | typedef enum | |
| | | { | |
| | | useMean, | |
| | | useMedian, | |
| | | useUnity | |
| | | } EPMethod; | |
| | | | |
| | | typedef struct | |
| tagEPInitParams | | tagEPInitParams | |
| { | | { | |
| UINT4 numPoints; | | UINT4 numPoints; | |
| UINT4 numSegments; | | UINT4 numSegments; | |
| UINT4 segDutyCycle; | | UINT4 segDutyCycle; | |
|
| | | EPMethod method; | |
| } | | } | |
| EPInitParams; | | EPInitParams; | |
| | | | |
| typedef struct | | typedef struct | |
| tagEPSearchParams | | tagEPSearchParams | |
| { | | { | |
| BOOLEAN searchMaster; | | BOOLEAN searchMaster; | |
| BOOLEAN haveData; | | BOOLEAN haveData; | |
| UINT4 *numSlaves; | | UINT4 *numSlaves; | |
| UINT4 simType; | | UINT4 simType; | |
| UINT4 currentSegment; | | UINT4 currentSegment; | |
| INT4 ntotT; | | INT4 ntotT; | |
| INT4 numEvents; | | INT4 numEvents; | |
| UINT4 ovrlap; | | UINT4 ovrlap; | |
| REAL8 lambda; | | REAL8 lambda; | |
| REAL8 alphaThreshold; | | REAL8 alphaThreshold; | |
| INT4 events2Master; /* Added Erik Kats */ | | INT4 events2Master; /* Added Erik Kats */ | |
| CHAR *channelName; /* Added Erik Kats */ | | CHAR *channelName; /* Added Erik Kats */ | |
| EPInitParams *initParams; | | EPInitParams *initParams; | |
|
| struct tagEPDataSegmentVector *epSegVec; | | EPDataSegmentVector *epSegVec; | |
| CreateTFTilingIn *tfTilingInput; | | CreateTFTilingIn *tfTilingInput; | |
| TFTiling *tfTiling; | | TFTiling *tfTiling; | |
| ComputeExcessPowerIn *compEPInput; | | ComputeExcessPowerIn *compEPInput; | |
| LALWindowParams winParams; | | LALWindowParams winParams; | |
| } | | } | |
| EPSearchParams; | | EPSearchParams; | |
| | | | |
| void | | void | |
| EPSearch ( | | EPSearch ( | |
|
| LALStatus *status, | | LALStatus *status, | |
| EPSearchParams *params, | | EPSearchParams *params, | |
| BurstEvent **burstEvent, | | BurstEvent **burstEvent, | |
| UINT4 tmpDutyCyle | | UINT4 tmpDutyCyle | |
| ); | | ); | |
| | | | |
| | | /************************************************************/ | |
| | | /* new method added to obtain median of power spectrum data */ | |
| | | /* M. Williamsen 7/17/02 */ | |
| | | /************************************************************/ | |
| | | | |
| | | REAL4 | |
| | | EPMedian ( | |
| | | REAL4 *p, | |
| | | INT4 j, | |
| | | INT4 flength, | |
| | | INT4 numSegs, | |
| | | LALStatus *status | |
| | | ); | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| } | | } | |
| #endif /* C++ protection. */ | | #endif /* C++ protection. */ | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 8 lines changed or deleted | | 52 lines changed or added | |
|
| FindChirpEngine.h | | FindChirpEngine.h | |
| /*----------------------------------------------------------------------- | | /*----------------------------------------------------------------------- | |
| * | | * | |
| * File Name: FindChirpEngine.h | | * File Name: FindChirpEngine.h | |
| * | | * | |
| * Author: Brown, D. A. | | * Author: Brown, D. A. | |
| * | | * | |
|
| * Revision: $Id: FindChirpEngine.h,v 1.22 2002/06/25 12:34:38 duncan Exp $ | | * Revision: $Id: FindChirpEngine.h,v 1.24 2002/08/10 00:59:21 duncan Exp $ | |
| * | | * | |
| *----------------------------------------------------------------------- | | *----------------------------------------------------------------------- | |
| */ | | */ | |
| | | | |
| #if 0 | | #if 0 | |
| <lalVerbatim file="FindChirpEngineHV"> | | <lalVerbatim file="FindChirpEngineHV"> | |
| Author: Brown, D. A. | | Author: Brown, D. A. | |
|
| $Id: FindChirpEngine.h,v 1.22 2002/06/25 12:34:38 duncan Exp $ | | $Id: FindChirpEngine.h,v 1.24 2002/08/10 00:59:21 duncan Exp $ | |
| </lalVerbatim> | | </lalVerbatim> | |
| | | | |
| <lalLaTeX> | | <lalLaTeX> | |
| \section{Header \texttt{FindChirpEngine.h}} | | \section{Header \texttt{FindChirpEngine.h}} | |
| \label{s:FindChirpEngine.h} | | \label{s:FindChirpEngine.h} | |
| | | | |
| Provides functions to drive the filtering functions in the package | | Provides functions to drive the filtering functions in the package | |
| \texttt{findchirp}. Contains the functions necessary to execute a flat | | \texttt{findchirp}. Contains the functions necessary to execute a flat | |
| or heirarchical inspiral search using the LDAS \texttt{wrapperAPI} or | | or heirarchical inspiral search using the LDAS \texttt{wrapperAPI} or | |
| the LALapps program \texttt{findchirp}. | | the LALapps program \texttt{findchirp}. | |
| | | | |
| skipping to change at line 65 | | skipping to change at line 65 | |
| #ifdef LAL_MPI_ENABLED | | #ifdef LAL_MPI_ENABLED | |
| #include <lal/Comm.h> | | #include <lal/Comm.h> | |
| #include <lal/FindChirpExch.h> | | #include <lal/FindChirpExch.h> | |
| #endif /* LAL_MPI_ENABLED */ | | #endif /* LAL_MPI_ENABLED */ | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| extern "C" { | | extern "C" { | |
| #pragma } | | #pragma } | |
| #endif | | #endif | |
| | | | |
|
| NRCSID (FINDCHIRPENGINEHH, "$Id: FindChirpEngine.h,v 1.22 2002/06/25 12:34:
38 duncan Exp $"); | | NRCSID (FINDCHIRPENGINEHH, "$Id: FindChirpEngine.h,v 1.24 2002/08/10 00:59:
21 duncan Exp $"); | |
| | | | |
| #if 0 | | #if 0 | |
| <lalLaTeX> | | <lalLaTeX> | |
| \subsection*{Error codes} | | \subsection*{Error codes} | |
| </lalLaTeX> | | </lalLaTeX> | |
| #endif | | #endif | |
| /* <lalErrTable> */ | | /* <lalErrTable> */ | |
| #define FINDCHIRPENGINEH_ENULL 1 | | #define FINDCHIRPENGINEH_ENULL 1 | |
| #define FINDCHIRPENGINEH_ENNUL 2 | | #define FINDCHIRPENGINEH_ENNUL 2 | |
| #define FINDCHIRPENGINEH_ENUMZ 3 | | #define FINDCHIRPENGINEH_ENUMZ 3 | |
| | | | |
| skipping to change at line 227 | | skipping to change at line 227 | |
| REAL4 fLowInject; /* waveform low freq cutoff
*/ | | REAL4 fLowInject; /* waveform low freq cutoff
*/ | |
| REAL4 gaussianVarsq; /* variance squared of nois
e */ | | REAL4 gaussianVarsq; /* variance squared of nois
e */ | |
| RandomParams *randomParams; /* random seed container
*/ | | RandomParams *randomParams; /* random seed container
*/ | |
| REAL4TimeSeries *chan; /* pointer to the data chun
k */ | | REAL4TimeSeries *chan; /* pointer to the data chun
k */ | |
| } | | } | |
| FindChirpSimulationParams; | | FindChirpSimulationParams; | |
| | | | |
| typedef struct | | typedef struct | |
| tagFindChirpStandardCandle | | tagFindChirpStandardCandle | |
| { | | { | |
|
| | | CHAR ifo[2]; | |
| InspiralTemplate tmplt; | | InspiralTemplate tmplt; | |
| REAL4 rhosq; | | REAL4 rhosq; | |
| REAL4 sigmasq; | | REAL4 sigmasq; | |
| REAL4 effDistance; | | REAL4 effDistance; | |
| } | | } | |
| FindChirpStandardCandle; | | FindChirpStandardCandle; | |
| | | | |
| typedef struct | | typedef struct | |
| tagFindChirpSlaveParams | | tagFindChirpSlaveParams | |
| { | | { | |
| | | | |
| skipping to change at line 298 | | skipping to change at line 299 | |
| InspiralTemplate *tmpltBankHead; | | InspiralTemplate *tmpltBankHead; | |
| InspiralTemplateNode *currentTmpltNode; | | InspiralTemplateNode *currentTmpltNode; | |
| InspiralTemplateNode *tmpltNodeHead; | | InspiralTemplateNode *tmpltNodeHead; | |
| } | | } | |
| FindChirpMasterParams; | | FindChirpMasterParams; | |
| | | | |
| void | | void | |
| LALFindChirpMaster ( | | LALFindChirpMaster ( | |
| LALStatus *status, | | LALStatus *status, | |
| InspiralEvent **eventList, | | InspiralEvent **eventList, | |
|
| | | UINT4 *numEvents, | |
| FindChirpMasterParams *params | | FindChirpMasterParams *params | |
| ); | | ); | |
| #endif /* LAL_MPI_ENABLED */ | | #endif /* LAL_MPI_ENABLED */ | |
| | | | |
| void | | void | |
| LALFindChirpSlave ( | | LALFindChirpSlave ( | |
| LALStatus *status, | | LALStatus *status, | |
| InspiralEvent **outputEventHandle, | | InspiralEvent **outputEventHandle, | |
| DataSegmentVector *dataSegVec, | | DataSegmentVector *dataSegVec, | |
| FindChirpSlaveParams *params | | FindChirpSlaveParams *params | |
| | | | |
End of changes. 5 change blocks. |
| 3 lines changed or deleted | | 5 lines changed or added | |
|
| LALDemod.h | | LALDemod.h | |
| /*** <lalVerbatim file="LALDemodHV"> | | /*** <lalVerbatim file="LALDemodHV"> | |
| Author: Berukoff, S.J., Papa, M.A. | | Author: Berukoff, S.J., Papa, M.A. | |
|
| $Id: LALDemod.h,v 1.7 2002/05/22 09:27:36 sberukoff Exp $ | | $Id: LALDemod.h,v 1.8 2002/07/26 15:34:49 sberukoff Exp $ | |
| *** </lalVerbatim> */ | | *** </lalVerbatim> */ | |
| | | | |
| /* <lalLaTeX> | | /* <lalLaTeX> | |
| \section{Header \texttt{LALDemod.h}} | | \section{Header \texttt{LALDemod.h}} | |
| \label{s:LALDemod.h} | | \label{s:LALDemod.h} | |
| Computes a demodulated transform. | | Computes a demodulated transform. | |
| | | | |
| \subsection*{Synopsis} | | \subsection*{Synopsis} | |
| \begin{verbatim} | | \begin{verbatim} | |
| #include <lal/LALDemod.h> | | #include <lal/LALDemod.h> | |
| | | | |
| skipping to change at line 103 | | skipping to change at line 103 | |
| #include <string.h> | | #include <string.h> | |
| #include <lal/LALStdlib.h> | | #include <lal/LALStdlib.h> | |
| #include <lal/AVFactories.h> | | #include <lal/AVFactories.h> | |
| #include <lal/Random.h> | | #include <lal/Random.h> | |
| #include <lal/RealFFT.h> | | #include <lal/RealFFT.h> | |
| #include <lal/LALConstants.h> | | #include <lal/LALConstants.h> | |
| #include <lal/DetResponse.h> | | #include <lal/DetResponse.h> | |
| #include <lal/DetectorSite.h> | | #include <lal/DetectorSite.h> | |
| #include <lal/SimulateCoherentGW.h> | | #include <lal/SimulateCoherentGW.h> | |
| #include <lal/GenerateTaylorCW.h> | | #include <lal/GenerateTaylorCW.h> | |
|
| #include <lal/LALComputeAM.h> | | #include "LALComputeAM.h" | |
| #include <lal/ComputeSky.h> | | #include <lal/ComputeSky.h> | |
| #include <lal/LALBarycenter.h> | | #include <lal/LALBarycenter.h> | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| #extern "C" { | | #extern "C" { | |
| #endif | | #endif | |
| | | | |
|
| NRCSID (LALDEMODH, "$Id: LALDemod.h,v 1.7 2002/05/22 09:27:36 sberukoff Exp
$"); | | NRCSID (LALDEMODH, "$Id: LALDemod.h,v 1.8 2002/07/26 15:34:49 sberukoff Exp
$"); | |
| | | | |
| /* <lalLaTeX> | | /* <lalLaTeX> | |
| \subsection*{Error conditions} | | \subsection*{Error conditions} | |
| \vspace{0.1in} | | \vspace{0.1in} | |
| \input{LALDemodHErrorTable} | | \input{LALDemodHErrorTable} | |
| </lalLaTeX> */ | | </lalLaTeX> */ | |
| /* *****<lalErrTable file="LALDemodHErrorTable">*/ | | /* *****<lalErrTable file="LALDemodHErrorTable">*/ | |
| #define LALDEMODH_ENULL 1 | | #define LALDEMODH_ENULL 1 | |
| #define LALDEMODH_ENNEG 2 | | #define LALDEMODH_ENNEG 2 | |
| #define LALDEMODH_EORDR 4 | | #define LALDEMODH_EORDR 4 | |
| | | | |
| skipping to change at line 223 | | skipping to change at line 223 | |
| INT4 if0Max; /* Index of maximum freq. of search on this
proc. */ | | INT4 if0Max; /* Index of maximum freq. of search on this
proc. */ | |
| INT4 if0Min; /* Index of minimum freq. of search on this
proc. */ | | INT4 if0Min; /* Index of minimum freq. of search on this
proc. */ | |
| INT4 mCohSFT; /* This is G_Mcoh_sft */ | | INT4 mCohSFT; /* This is G_Mcoh_sft */ | |
| INT4 mObsCoh; /* This is G_Mobs_sft */ | | INT4 mObsCoh; /* This is G_Mobs_sft */ | |
| INT4 ifMin; /* Index of minimum freq. of search
*/ | | INT4 ifMin; /* Index of minimum freq. of search
*/ | |
| INT4 iCoh; /* Index of coherent timescale */ | | INT4 iCoh; /* Index of coherent timescale */ | |
| INT4 spinDwnOrder; /* Maximum order of spdwn parameter */ | | INT4 spinDwnOrder; /* Maximum order of spdwn parameter */ | |
| REAL8 *skyConst; /* Constants computed in ComputeSky.
c */ | | REAL8 *skyConst; /* Constants computed in ComputeSky.
c */ | |
| REAL8 *spinDwn; /* Spindown parameter set */ | | REAL8 *spinDwn; /* Spindown parameter set */ | |
| AMCoeffs *amcoe; | | AMCoeffs *amcoe; | |
|
| | | INT4 *sftPerCoh; | |
| }DemodPar; | | }DemodPar; | |
| | | | |
| typedef struct SkyPosTag | | typedef struct SkyPosTag | |
| { | | { | |
| REAL8 alpha; | | REAL8 alpha; | |
| REAL8 delta; | | REAL8 delta; | |
| CHAR type; | | CHAR type; | |
| }SkyPos; | | }SkyPos; | |
| | | | |
| typedef struct SpindownTag | | typedef struct SpindownTag | |
| | | | |
| skipping to change at line 277 | | skipping to change at line 278 | |
| void LALDemod (LALStatus *stat, | | void LALDemod (LALStatus *stat, | |
| DeFTPeriodogram *xHatCoh, | | DeFTPeriodogram *xHatCoh, | |
| FFT **input, | | FFT **input, | |
| DemodPar *params); | | DemodPar *params); | |
| | | | |
| void times(REAL8 , | | void times(REAL8 , | |
| INT4, | | INT4, | |
| LIGOTimeGPS *, | | LIGOTimeGPS *, | |
| INT4 ); | | INT4 ); | |
| | | | |
|
| | | void times2(REAL8 tSFT, INT4 howMany, LIGOTimeGPS **ts, INT4 **sftPerCoh, I | |
| | | NT4 sw, INT4 mCohSFT); | |
| | | | |
| /* <lalLaTeX> | | /* <lalLaTeX> | |
| \newpage\input{LALDemodTestC} | | \newpage\input{LALDemodTestC} | |
| </lalLaTeX> */ | | </lalLaTeX> */ | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| } | | } | |
| #endif | | #endif | |
| #endif /* _LALDEMOD_H */ | | #endif /* _LALDEMOD_H */ | |
| | | | |
End of changes. 5 change blocks. |
| 3 lines changed or deleted | | 7 lines changed or added | |
|
| SimulateCoherentGW.h | | SimulateCoherentGW.h | |
| /*************************** <lalVerbatim file="SimulateCoherentGWHV"> | | /*************************** <lalVerbatim file="SimulateCoherentGWHV"> | |
| Author: Creighton, T. D. | | Author: Creighton, T. D. | |
|
| $Id: SimulateCoherentGW.h,v 1.10 2001/12/05 21:10:49 jolien Exp $ | | $Id: SimulateCoherentGW.h,v 1.11 2002/08/06 21:06:20 teviet Exp $ | |
| **************************************************** </lalVerbatim> */ | | **************************************************** </lalVerbatim> */ | |
| | | | |
| /********************************************************** <lalLaTeX> | | /********************************************************** <lalLaTeX> | |
| | | | |
| \providecommand{\bm}[1]{\mbox{\boldmath$#1$\unboldmath}} | | \providecommand{\bm}[1]{\mbox{\boldmath$#1$\unboldmath}} | |
| \providecommand{\lessim}{\stackrel{<}{\scriptstyle\sim}} | | \providecommand{\lessim}{\stackrel{<}{\scriptstyle\sim}} | |
| | | | |
| \section{Header \texttt{SimulateCoherentGW.h}} | | \section{Header \texttt{SimulateCoherentGW.h}} | |
| \label{s:SimulateCoherentGW.h} | | \label{s:SimulateCoherentGW.h} | |
| | | | |
| | | | |
| skipping to change at line 247 | | skipping to change at line 247 | |
| #include <lal/LALStdlib.h> | | #include <lal/LALStdlib.h> | |
| #include <lal/DetectorSite.h> | | #include <lal/DetectorSite.h> | |
| #include <lal/SkyCoordinates.h> | | #include <lal/SkyCoordinates.h> | |
| #include <lal/LALBarycenter.h> | | #include <lal/LALBarycenter.h> | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| extern "C" { | | extern "C" { | |
| #pragma } | | #pragma } | |
| #endif | | #endif | |
| | | | |
|
| NRCSID( SIMULATECOHERENTGWH, "$Id: SimulateCoherentGW.h,v 1.10 2001/12/05 2
1:10:49 jolien Exp $" ); | | NRCSID( SIMULATECOHERENTGWH, "$Id: SimulateCoherentGW.h,v 1.11 2002/08/06 2
1:06:20 teviet Exp $" ); | |
| | | | |
| /********************************************************** <lalLaTeX> | | /********************************************************** <lalLaTeX> | |
| \subsection*{Error conditions} | | \subsection*{Error conditions} | |
| ****************************************** </lalLaTeX><lalErrTable> */ | | ****************************************** </lalLaTeX><lalErrTable> */ | |
| #define SIMULATECOHERENTGWH_ENUL 1 | | #define SIMULATECOHERENTGWH_ENUL 1 | |
| #define SIMULATECOHERENTGWH_EBAD 2 | | #define SIMULATECOHERENTGWH_EBAD 2 | |
| #define SIMULATECOHERENTGWH_ESIG 3 | | #define SIMULATECOHERENTGWH_ESIG 3 | |
| #define SIMULATECOHERENTGWH_EDIM 4 | | #define SIMULATECOHERENTGWH_EDIM 4 | |
|
| #define SIMULATECOHERENTGWH_EUNIT 5 | | #define SIMULATECOHERENTGWH_EMEM 5 | |
| | | #define SIMULATECOHERENTGWH_EUNIT 6 | |
| | | | |
| #define SIMULATECOHERENTGWH_MSGENUL "Unexpected null pointer in arguments" | | #define SIMULATECOHERENTGWH_MSGENUL "Unexpected null pointer in arguments" | |
| #define SIMULATECOHERENTGWH_MSGEBAD "A sampling interval is (effectively)
zero" | | #define SIMULATECOHERENTGWH_MSGEBAD "A sampling interval is (effectively)
zero" | |
| #define SIMULATECOHERENTGWH_MSGESIG "Input signal must specify amplitude a
nd phase functions" | | #define SIMULATECOHERENTGWH_MSGESIG "Input signal must specify amplitude a
nd phase functions" | |
| #define SIMULATECOHERENTGWH_MSGEDIM "Amplitude must be a 2-dimensional vec
tor" | | #define SIMULATECOHERENTGWH_MSGEDIM "Amplitude must be a 2-dimensional vec
tor" | |
|
| | | #define SIMULATECOHERENTGWH_MSGEMEM "Memory allocation error" | |
| #define SIMULATECOHERENTGWH_MSGEUNIT "Bad input units" | | #define SIMULATECOHERENTGWH_MSGEUNIT "Bad input units" | |
| /******************************************** </lalErrTable><lalLaTeX> | | /******************************************** </lalErrTable><lalLaTeX> | |
| | | | |
| \subsection*{Types} | | \subsection*{Types} | |
| | | | |
| \subsubsection*{Structure \texttt{CoherentGW}} | | \subsubsection*{Structure \texttt{CoherentGW}} | |
| \idx[Type]{CoherentGW} | | \idx[Type]{CoherentGW} | |
| | | | |
| \noindent This structure stores a representation of a plane | | \noindent This structure stores a representation of a plane | |
| gravitational wave propagating from a particular point on the sky. | | gravitational wave propagating from a particular point on the sky. | |
| | | | |
End of changes. 4 change blocks. |
| 3 lines changed or deleted | | 5 lines changed or added | |
|