Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALPulsar 7.1.1.1-8a6b96f
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
antenna.c File Reference

Prototypes

INT4 CompBinShifts (INT4Vector *output, const SSBtimes *ssbTimes, const REAL8 freq, const REAL8 Tsft, const REAL4 dopplerMultiplier)
 Compute the number of integer bin shifts per SFT. More...
 
INT4 CompAntennaPatternWeights (REAL4VectorAligned *output, const SkyPosition skypos, const REAL8 t0, const REAL8 Tsft, const REAL8 SFToverlap, const REAL8 Tobs, const BOOLEAN linPolOn, const REAL8 polAngle, const LALDetector det)
 Compute the antenna pattern weights. More...
 
INT4 CompAntennaPatternWeights2 (REAL4VectorAligned *output, const SkyPosition skypos, const LIGOTimeGPSVector *timestamps, const LALDetector det, const REAL8 *cosi, const REAL8 *psi)
 
INT4 CompAntennaVelocity (REAL4VectorAligned *output, const SkyPosition skypos, const REAL8 t0, const REAL8 Tsft, const REAL8 SFToverlap, const REAL8 Tobs, const LALDetector det, EphemerisData *edat)
 Compute the antenna velocity. More...
 
REAL4 CompDetectorDeltaVmax (const REAL8 t0, const REAL8 Tsft, const REAL8 SFToverlap, const REAL8 Tobs, const LALDetector det, EphemerisData *edat)
 Compute the maximum change in antenna velocity. More...
 
REAL4 CompDetectorVmax (const REAL8 t0, const REAL8 Tsft, const REAL8 SFToverlap, const REAL8 Tobs, const LALDetector det, EphemerisData *edat)
 Compute the largest magnitude of antenna velocity. More...
 
REAL4 CompDetectorVmax2 (const LIGOTimeGPSVector *timestamps, const LALDetector det, EphemerisData *edat)
 

Go to the source code of this file.

Function Documentation

◆ CompBinShifts()

INT4 CompBinShifts ( INT4Vector output,
const SSBtimes ssbTimes,
const REAL8  freq,
const REAL8  Tsft,
const REAL4  dopplerMultiplier 
)

Compute the number of integer bin shifts per SFT.

bin shift = f0*v*Tsft, where f0 is frequency, v is velocity in units of c, and Tsft is the SFT coherence length. An optional dopplerMultiplier value could be multiplied if desired (default value is 1.0)

Parameters
[out]outputPointer to INT4Vector of bin shift values
[in]ssbTimesPointer to the interferometer-specific SSBtimes
[in]freqFrequency from which to compute the bin shifts
[in]TsftCoherence length of the SFTs
[in]dopplerMultiplierMultiplicative factor to increase or decrease the bin shifts (standard physics = 1.0)
Returns
Status value

Definition at line 38 of file antenna.c.

◆ CompAntennaPatternWeights()

INT4 CompAntennaPatternWeights ( REAL4VectorAligned output,
const SkyPosition  skypos,
const REAL8  t0,
const REAL8  Tsft,
const REAL8  SFToverlap,
const REAL8  Tobs,
const BOOLEAN  linPolOn,
const REAL8  polAngle,
const LALDetector  det 
)

Compute the antenna pattern weights.

If linPolOn = 0, then the output weights are Fplus*Fplus + Fcross*Fcross, or if linPolOn = 1, then the output weights are Fplus*Fplus for the given polarization angle

Parameters
[out]outputPointer to REAL4Vector of antenna pattern weights
[in]skyposSky position measured in RA and Dec in radians
[in]t0Start time (GPS seconds)
[in]TsftCoherence length of the SFTs (in seconds)
[in]SFToverlapOverlap of the SFTs (in seconds)
[in]TobsObservation time (in seconds)
[in]linPolOnFlag for linear polarizations (linPolOn = 0 is circular polarization weights, linPolOn = 1 is linear polarization weights)
[in]polAngleOnly used for when linPolOn = 1. Polarization angle from which to compute the antenna pattern weights
[in]detA LALDetector struct
Returns
Status value

Definition at line 62 of file antenna.c.

◆ CompAntennaPatternWeights2()

INT4 CompAntennaPatternWeights2 ( REAL4VectorAligned output,
const SkyPosition  skypos,
const LIGOTimeGPSVector timestamps,
const LALDetector  det,
const REAL8 cosi,
const REAL8 psi 
)

Definition at line 93 of file antenna.c.

◆ CompAntennaVelocity()

INT4 CompAntennaVelocity ( REAL4VectorAligned output,
const SkyPosition  skypos,
const REAL8  t0,
const REAL8  Tsft,
const REAL8  SFToverlap,
const REAL8  Tobs,
const LALDetector  det,
EphemerisData edat 
)

Compute the antenna velocity.

Parameters
[out]outputPointer to REAL4Vector of antenna velocities
[in]skyposSky position measured in RA and Dec in radians
[in]t0Start time (GPS seconds)
[in]TsftCoherence length of the SFTs (in seconds)
[in]SFToverlapOverlap of the SFTs (in seconds)
[in]TobsObservation time (in seconds)
[in]detA LALDetector struct
[in]edatPointer to EphemerisData
Returns
Status value

Definition at line 140 of file antenna.c.

◆ CompDetectorDeltaVmax()

REAL4 CompDetectorDeltaVmax ( const REAL8  t0,
const REAL8  Tsft,
const REAL8  SFToverlap,
const REAL8  Tobs,
const LALDetector  det,
EphemerisData edat 
)

Compute the maximum change in antenna velocity.

Parameters
[in]t0Start time (GPS seconds)
[in]TsftCoherence length of the SFTs (in seconds)
[in]SFToverlapOverlap of the SFTs (in seconds)
[in]TobsObservation time (in seconds)
[in]detA LALDetector struct
[in]edatPointer to EphemerisData
Returns
Maximum change in antenna velocity

Definition at line 177 of file antenna.c.

◆ CompDetectorVmax()

REAL4 CompDetectorVmax ( const REAL8  t0,
const REAL8  Tsft,
const REAL8  SFToverlap,
const REAL8  Tobs,
const LALDetector  det,
EphemerisData edat 
)

Compute the largest magnitude of antenna velocity.

Parameters
[in]t0Start time (GPS seconds)
[in]TsftCoherence length of the SFTs (in seconds)
[in]SFToverlapOverlap of the SFTs (in seconds)
[in]TobsObservation time (in seconds)
[in]detA LALDetector struct
[in]edatPointer to EphemerisData
Returns
Maximum magnitude of antenna velocity

Definition at line 224 of file antenna.c.

◆ CompDetectorVmax2()

REAL4 CompDetectorVmax2 ( const LIGOTimeGPSVector timestamps,
const LALDetector  det,
EphemerisData edat 
)

Definition at line 256 of file antenna.c.