Go to the source code of this file.
Data Structures | |
struct | coh_PTF_params |
struct | bankTemplateOverlaps |
struct | bankComplexTemplateOverlaps |
struct | bankDataOverlaps |
struct | bankCohTemplateOverlaps |
struct | RingDataSegments |
struct | CohPTFSkyPositions |
struct | TimeSlideVectorList |
Macros | |
#define | BUFFER_SIZE 256 |
#define | FILENAME_SIZE 256 |
#define | MAXIFO 4 |
#define | sanity_check(condition) ( condition ? 0 : ( fputs( #condition " not satisfied\n", stderr ), error( "sanity check failed\n" ) ) ) |
#define | is_long_option(s) ( strlen(s) > 2 && (s)[0] == '-' && (s)[1] == '-' && isalpha( s[2] ) ) |
#define | is_short_option(s) ( strlen(s) > 1 && (s)[0] == '-' && isalpha( s[1] ) ) |
#define | is_option(s) ( is_long_option(s) || is_short_option(s) ) |
Enumerations | |
enum | { write_frame , write_ascii } |
enum | Skyloopingtype { SINGLE_SKY_POINT , TWO_DET_SKY_PATCH , SKY_PATCH , ALL_SKY , TWO_DET_ALL_SKY } |
Variables | |
int | vrbflg |
defined in lal/lib/std/LALError.c More... | |
#define sanity_check | ( | condition | ) | ( condition ? 0 : ( fputs( #condition " not satisfied\n", stderr ), error( "sanity check failed\n" ) ) ) |
#define is_option | ( | s | ) | ( is_long_option(s) || is_short_option(s) ) |
enum Skyloopingtype |
UINT4 coh_PTF_statistic | ( | REAL4TimeSeries * | cohSNR, |
REAL8Array * | PTFM[LAL_NUM_IFO+1], | ||
COMPLEX8VectorSequence * | PTFqVec[LAL_NUM_IFO+1], | ||
struct coh_PTF_params * | params, | ||
UINT4 | spinTemplate, | ||
REAL4 * | timeOffsets, | ||
REAL4 * | Fplus, | ||
REAL4 * | Fcross, | ||
INT4 | segmentNumber, | ||
REAL4TimeSeries * | pValues[10], | ||
REAL4TimeSeries * | gammaBeta[2], | ||
REAL4TimeSeries * | snrComps[LAL_NUM_IFO], | ||
REAL4TimeSeries * | nullSNR, | ||
REAL4TimeSeries * | traceSNR, | ||
REAL4TimeSeries * | bankVeto[LAL_NUM_IFO+1], | ||
REAL4TimeSeries * | autoVeto[LAL_NUM_IFO+1], | ||
REAL4TimeSeries * | chiSquare[LAL_NUM_IFO+1], | ||
UINT4 | subBankSize, | ||
struct bankComplexTemplateOverlaps * | bankOverlaps, | ||
struct bankTemplateOverlaps * | bankNormOverlaps, | ||
struct bankDataOverlaps * | dataOverlaps, | ||
struct bankComplexTemplateOverlaps * | autoTempOverlaps, | ||
FindChirpTemplate * | fcTmplt, | ||
REAL4FrequencySeries * | invspec[LAL_NUM_IFO+1], | ||
RingDataSegments * | segment[LAL_NUM_IFO+1], | ||
COMPLEX8FFTPlan * | invPlan, | ||
struct bankDataOverlaps ** | chisqOverlapsP, | ||
struct bankDataOverlaps ** | chisqSnglOverlapsP, | ||
REAL4 * | frequencyRangesPlus[LAL_NUM_IFO+1], | ||
REAL4 * | frequencyRangesCross[LAL_NUM_IFO+1], | ||
REAL4 ** | overlapCont, | ||
REAL4 ** | snglOverlapCont, | ||
struct timeval | startTime, | ||
UINT4 | segStartPoint, | ||
UINT4 | segEndPoint, | ||
UINT4 ** | snglAcceptPoints, | ||
UINT4 * | snglAcceptCount, | ||
UINT4 * | acceptPointList | ||
) |
UINT8 coh_PTF_add_triggers | ( | struct coh_PTF_params * | params, |
MultiInspiralTable ** | eventList, | ||
MultiInspiralTable ** | thisEvent, | ||
REAL4TimeSeries * | cohSNR, | ||
FindChirpTemplate * | fcTmplt, | ||
InspiralTemplate | PTFTemplate, | ||
UINT8 | eventId, | ||
UINT4 | spinTrigger, | ||
REAL4TimeSeries * | pValues[10], | ||
REAL4TimeSeries * | gammaBeta[2], | ||
REAL4TimeSeries * | snrComps[LAL_NUM_IFO], | ||
REAL4TimeSeries * | nullSNR, | ||
REAL4TimeSeries * | traceSNR, | ||
REAL4TimeSeries * | bankVeto[LAL_NUM_IFO+1], | ||
REAL4TimeSeries * | autoVeto[LAL_NUM_IFO+1], | ||
REAL4TimeSeries * | chiSquare[LAL_NUM_IFO+1], | ||
REAL8Array * | PTFM[LAL_NUM_IFO+1], | ||
REAL4 | rightAscension, | ||
REAL4 | declination, | ||
INT8 | slideId, | ||
REAL4 * | timeOffsets, | ||
UINT4 * | acceptPointList, | ||
UINT4 | numAcceptPoints, | ||
UINT4 | slideNum, | ||
INT4 | timeDiff, | ||
INT4 | startTime | ||
) |
Definition at line 1221 of file coh_PTF_inspiral.c.
void coh_PTF_cluster_triggers | ( | struct coh_PTF_params * | params, |
MultiInspiralTable ** | eventList, | ||
MultiInspiralTable ** | newEventHead, | ||
UINT4 | numSlides, | ||
INT4 | timeDiff | ||
) |
Definition at line 1312 of file coh_PTF_inspiral.c.
UINT4 coh_PTF_accept_trig_check | ( | struct coh_PTF_params * | params, |
MultiInspiralTable ** | eventList, | ||
MultiInspiralTable | thisEvent, | ||
INT4 | timeDiff, | ||
UINT4 | currTimeDiff, | ||
UINT4 | currStorageID | ||
) |
Definition at line 1416 of file coh_PTF_inspiral.c.
SnglInspiralTable * coh_PTF_create_sngl_event | ( | struct coh_PTF_params * | params, |
REAL4TimeSeries * | cohSNR, | ||
FindChirpTemplate * | fcTmplt, | ||
InspiralTemplate | PTFTemplate, | ||
UINT8 * | eventId, | ||
REAL4TimeSeries ** | pValues, | ||
REAL4TimeSeries ** | bankVeto, | ||
REAL4TimeSeries ** | autoVeto, | ||
REAL4TimeSeries ** | chiSquare, | ||
REAL8Array ** | PTFM, | ||
UINT4 | currPos | ||
) |
Definition at line 3008 of file coh_PTF_utils.c.
UINT8 coh_PTF_add_sngl_triggers | ( | struct coh_PTF_params * | params, |
SnglInspiralTable ** | eventList, | ||
SnglInspiralTable ** | thisEvent, | ||
REAL4TimeSeries * | cohSNR, | ||
FindChirpTemplate * | fcTmplt, | ||
InspiralTemplate | PTFTemplate, | ||
UINT8 | eventId, | ||
REAL4TimeSeries ** | pValues, | ||
REAL4TimeSeries ** | bankVeto, | ||
REAL4TimeSeries ** | autoVeto, | ||
REAL4TimeSeries ** | chiSquare, | ||
REAL8Array ** | PTFM, | ||
UINT4 | startPoint, | ||
UINT4 | endPoint | ||
) |
Definition at line 2942 of file coh_PTF_utils.c.
UINT4 coh_PTF_accept_sngl_trig_check | ( | struct coh_PTF_params * | params, |
SnglInspiralTable ** | eventList, | ||
SnglInspiralTable | thisEvent | ||
) |
Definition at line 3112 of file coh_PTF_utils.c.
void coh_PTF_cluster_sngl_triggers | ( | struct coh_PTF_params * | params, |
SnglInspiralTable ** | eventList, | ||
SnglInspiralTable ** | thisEvent | ||
) |
Definition at line 3153 of file coh_PTF_utils.c.
INT4 coh_PTF_data_condition | ( | struct coh_PTF_params * | params, |
REAL4TimeSeries ** | channel, | ||
REAL4FrequencySeries ** | invspec, | ||
RingDataSegments ** | segments, | ||
REAL4FFTPlan * | fwdplan, | ||
REAL4FFTPlan * | psdplan, | ||
REAL4FFTPlan * | revplan, | ||
REAL4 ** | timeSlideVectors, | ||
struct timeval | startTime | ||
) |
Definition at line 4 of file coh_PTF_utils.c.
REAL4TimeSeries * coh_PTF_get_data | ( | struct coh_PTF_params * | params, |
const char * | ifoChannel, | ||
const char * | dataCache, | ||
UINT4 | ifoNumber | ||
) |
Definition at line 86 of file coh_PTF_utils.c.
void coh_PTF_setup_null_stream | ( | struct coh_PTF_params * | params, |
REAL4TimeSeries ** | channel, | ||
REAL4FrequencySeries ** | invspec, | ||
RingDataSegments ** | segments, | ||
REAL4 * | Fplustrig, | ||
REAL4 * | Fcrosstrig, | ||
REAL4 * | timeOffsets, | ||
REAL4FFTPlan * | fwdplan, | ||
REAL4FFTPlan * | revplan, | ||
REAL4FFTPlan * | psdplan, | ||
REAL4 * | timeSlideVectors, | ||
struct timeval | startTime | ||
) |
Definition at line 172 of file coh_PTF_utils.c.
int coh_PTF_get_null_stream | ( | struct coh_PTF_params * | params, |
REAL4TimeSeries * | channel[LAL_NUM_IFO+1], | ||
REAL4 * | Fplus, | ||
REAL4 * | Fcross, | ||
REAL4 * | timeOffsets | ||
) |
Definition at line 226 of file coh_PTF_utils.c.
REAL4FrequencySeries * coh_PTF_get_invspec | ( | REAL4TimeSeries * | channel, |
REAL4FFTPlan * | fwdplan, | ||
REAL4FFTPlan * | revplan, | ||
REAL4FFTPlan * | psdplan, | ||
struct coh_PTF_params * | params | ||
) |
Definition at line 297 of file coh_PTF_utils.c.
void coh_PTF_rescale_data | ( | REAL4TimeSeries * | channel, |
REAL8 | rescaleFactor | ||
) |
Definition at line 388 of file coh_PTF_utils.c.
RingDataSegments * coh_PTF_get_segments | ( | REAL4TimeSeries * | channel, |
REAL4FrequencySeries * | invspec, | ||
REAL4FFTPlan * | fwdplan, | ||
InterferometerNumber | NumberIFO, | ||
REAL4 * | timeSlideVectors, | ||
struct coh_PTF_params * | params | ||
) |
Definition at line 398 of file coh_PTF_utils.c.
void coh_PTF_create_time_slide_table | ( | struct coh_PTF_params * | params, |
INT8 * | slideIDList, | ||
RingDataSegments ** | segments, | ||
TimeSlide ** | time_slide_headP, | ||
TimeSlideSegmentMapTable ** | time_slide_map_headP, | ||
SegmentTable ** | segment_table_headP, | ||
TimeSlideVectorList ** | longTimeSlideListP, | ||
TimeSlideVectorList ** | shortTimeSlideListP, | ||
REAL4 * | timeSlideVectors, | ||
INT4 | numSegments | ||
) |
Definition at line 626 of file coh_PTF_utils.c.
void coh_PTF_initialize_structures | ( | struct coh_PTF_params * | params, |
FindChirpTemplate ** | fcTmpltP, | ||
FindChirpTmpltParams ** | fcTmpltParamsP, | ||
REAL8Array ** | PTFM, | ||
REAL8Array ** | PTFN, | ||
COMPLEX8VectorSequence ** | PTFqVec, | ||
REAL4FFTPlan * | fwdplan | ||
) |
Definition at line 990 of file coh_PTF_utils.c.
void coh_PTF_initialize_time_series | ( | struct coh_PTF_params * | params, |
LIGOTimeGPS | segStartTime, | ||
REAL8 | fLower, | ||
REAL4TimeSeries ** | cohSNRP, | ||
REAL4TimeSeries ** | nullSNRP, | ||
REAL4TimeSeries ** | traceSNRP, | ||
REAL4TimeSeries ** | bankVeto, | ||
REAL4TimeSeries ** | autoVeto, | ||
REAL4TimeSeries ** | chiSquare, | ||
REAL4TimeSeries ** | snrComps, | ||
REAL4TimeSeries ** | pValues, | ||
REAL4TimeSeries ** | gammaBeta, | ||
UINT4 | spinTemplates | ||
) |
Definition at line 1118 of file coh_PTF_utils.c.
void coh_PTF_reset_time_series | ( | struct coh_PTF_params * | params, |
LIGOTimeGPS | segStartTime, | ||
REAL4TimeSeries * | cohSNR, | ||
REAL4TimeSeries * | nullSNR, | ||
REAL4TimeSeries * | traceSNR, | ||
REAL4TimeSeries ** | bankVeto, | ||
REAL4TimeSeries ** | autoVeto, | ||
REAL4TimeSeries ** | chiSquare, | ||
REAL4TimeSeries ** | snrComps, | ||
REAL4TimeSeries ** | pValues, | ||
REAL4TimeSeries ** | gammaBeta, | ||
UINT4 | spinTemplates | ||
) |
Definition at line 1289 of file coh_PTF_utils.c.
void coh_PTF_destroy_time_series | ( | REAL4TimeSeries * | cohSNR, |
REAL4TimeSeries * | nullSNR, | ||
REAL4TimeSeries * | traceSNR, | ||
REAL4TimeSeries ** | bankVeto, | ||
REAL4TimeSeries ** | autoVeto, | ||
REAL4TimeSeries ** | chiSquare, | ||
REAL4TimeSeries ** | pValues, | ||
REAL4TimeSeries ** | gammaBeta, | ||
REAL4TimeSeries ** | snrComps | ||
) |
Definition at line 1447 of file coh_PTF_utils.c.
void coh_PTF_calculate_single_detector_filters | ( | struct coh_PTF_params * | params, |
FindChirpTemplate * | fcTmplt, | ||
REAL4FrequencySeries ** | invspec, | ||
REAL8Array ** | PTFM, | ||
COMPLEX8VectorSequence ** | PTFqVec, | ||
REAL4TimeSeries ** | snrComps, | ||
UINT4 ** | snglAcceptPoints, | ||
UINT4 * | snglAcceptCount, | ||
RingDataSegments ** | segments, | ||
COMPLEX8FFTPlan * | invPlan, | ||
UINT4 | spinTemplate, | ||
UINT4 | segNum | ||
) |
Definition at line 1512 of file coh_PTF_utils.c.
UINT4 coh_PTF_calculate_single_det_spin_snr | ( | struct coh_PTF_params * | params, |
REAL8Array ** | PTFM, | ||
COMPLEX8VectorSequence ** | PTFqVec, | ||
REAL4TimeSeries ** | snrComps, | ||
UINT4 | ifoNumber, | ||
UINT4 * | localAcceptPoints | ||
) |
Definition at line 1589 of file coh_PTF_utils.c.
Definition at line 1658 of file coh_PTF_utils.c.
void coh_PTF_calculate_coherent_SNR | ( | struct coh_PTF_params * | params, |
REAL4 * | snrData, | ||
REAL4TimeSeries ** | pValues, | ||
REAL4TimeSeries ** | snrComps, | ||
INT4 * | timeOffsetPoints, | ||
COMPLEX8VectorSequence ** | PTFqVec, | ||
REAL4 * | Fplus, | ||
REAL4 * | Fcross, | ||
gsl_matrix * | eigenvecs, | ||
gsl_vector * | eigenvals, | ||
UINT4 | segStartPoint, | ||
UINT4 | segEndPoint, | ||
UINT4 | vecLength, | ||
UINT4 | vecLengthTwo, | ||
UINT4 | spinTemplate, | ||
UINT4 ** | snglAcceptPoints, | ||
UINT4 * | snglAcceptCount | ||
) |
Definition at line 1770 of file coh_PTF_utils.c.
UINT4 coh_PTF_template_time_series_cluster | ( | struct coh_PTF_params * | params, |
REAL4TimeSeries * | cohSNR, | ||
UINT4 * | acceptPoints, | ||
INT4 * | timeOffsetPoints, | ||
INT4 | numPointCheck, | ||
UINT4 | startPoint, | ||
UINT4 | endPoint, | ||
UINT4 ** | snglAcceptPoints, | ||
UINT4 * | snglAcceptCount | ||
) |
Definition at line 1970 of file coh_PTF_utils.c.
UINT4 coh_PTF_test_veto_vals | ( | struct coh_PTF_params * | params, |
REAL4TimeSeries * | cohSNR, | ||
REAL4TimeSeries * | nullSNR, | ||
REAL4TimeSeries ** | bankVeto, | ||
REAL4TimeSeries ** | autoVeto, | ||
UINT4 | currPointLoc | ||
) |
Definition at line 2077 of file coh_PTF_utils.c.
void coh_PTF_calculate_null_stream_filters | ( | struct coh_PTF_params * | params, |
FindChirpTemplate * | fcTmplt, | ||
REAL4FrequencySeries ** | invspec, | ||
REAL8Array ** | PTFM, | ||
COMPLEX8VectorSequence ** | PTFqVec, | ||
RingDataSegments ** | segments, | ||
COMPLEX8FFTPlan * | invPlan, | ||
UINT4 | spinTemplate, | ||
UINT4 | segNum | ||
) |
Definition at line 2155 of file coh_PTF_utils.c.
void coh_PTF_calculate_null_stream_norms | ( | UINT4 | vecLength, |
gsl_matrix * | eigenvecsNull, | ||
gsl_vector * | eigenvalsNull, | ||
REAL8Array * | PTFM[LAL_NUM_IFO+1] | ||
) |
Definition at line 2185 of file coh_PTF_utils.c.
void coh_PTF_calculate_null_stream_snr | ( | struct coh_PTF_params * | params, |
REAL4TimeSeries * | nullSNR, | ||
COMPLEX8VectorSequence ** | PTFqVec, | ||
gsl_matrix * | eigenvecsNull, | ||
gsl_vector * | eigenvalsNull, | ||
UINT4 | spinTemplate, | ||
UINT4 | vecLength, | ||
UINT4 | vecLoc, | ||
UINT4 | snrLoc | ||
) |
Definition at line 2219 of file coh_PTF_utils.c.
void coh_PTF_calculate_trace_snr | ( | struct coh_PTF_params * | params, |
REAL4TimeSeries * | traceSNR, | ||
COMPLEX8VectorSequence ** | PTFqVec, | ||
gsl_matrix * | eigenvecs, | ||
gsl_vector * | eigenvals, | ||
REAL4 * | Fplus, | ||
REAL4 * | Fcross, | ||
INT4 * | timeOffsetPoints, | ||
UINT4 | spinTemplate, | ||
UINT4 | vecLength, | ||
UINT4 | vecLengthTwo, | ||
UINT4 | vecLoc, | ||
UINT4 | snrLoc | ||
) |
Definition at line 2275 of file coh_PTF_utils.c.
UINT4 coh_PTF_initialize_bank_veto | ( | struct coh_PTF_params * | params, |
struct bankTemplateOverlaps ** | bankNormOverlapsP, | ||
struct bankComplexTemplateOverlaps ** | bankOverlapsP, | ||
struct bankDataOverlaps ** | dataOverlapsP, | ||
FindChirpTemplate ** | bankFcTmpltsP, | ||
FindChirpTemplate * | fcTmplt, | ||
FindChirpTmpltParams * | fcTmpltParams, | ||
REAL4FrequencySeries ** | invspec, | ||
struct timeval | startTime | ||
) |
Definition at line 10 of file coh_PTF_bankveto.c.
void coh_PTF_bank_veto_segment_setup | ( | struct coh_PTF_params * | params, |
struct bankDataOverlaps * | dataOverlaps, | ||
FindChirpTemplate * | bankFcTmplts, | ||
RingDataSegments ** | segments, | ||
COMPLEX8VectorSequence ** | PTFqVec, | ||
COMPLEX8FFTPlan * | invplan, | ||
INT4 | segmentNum, | ||
struct timeval | startTime | ||
) |
Definition at line 103 of file coh_PTF_bankveto.c.
void coh_PTF_bank_veto_coh_setup | ( | struct coh_PTF_params * | params, |
gsl_matrix ** | Bankeigenvecs, | ||
gsl_vector ** | Bankeigenvals, | ||
struct bankCohTemplateOverlaps ** | bankCohOverlapsP, | ||
struct bankComplexTemplateOverlaps * | bankOverlaps, | ||
REAL4 * | Fplus, | ||
REAL4 * | Fcross, | ||
REAL8Array ** | PTFM, | ||
struct bankTemplateOverlaps * | bankNormOverlaps, | ||
UINT4 | csVecLength, | ||
UINT4 | csVecLengthTwo, | ||
UINT4 | vecLength | ||
) |
Definition at line 160 of file coh_PTF_bankveto.c.
UINT4 coh_PTF_initialize_auto_veto | ( | struct coh_PTF_params * | params, |
struct bankComplexTemplateOverlaps ** | autoTempOverlapsP, | ||
struct timeval | startTime | ||
) |
Definition at line 224 of file coh_PTF_bankveto.c.
void coh_PTF_calculate_bank_veto_template_filters | ( | struct coh_PTF_params * | params, |
FindChirpTemplate * | bankFcTmplts, | ||
FindChirpTemplate * | fcTmplt, | ||
REAL4FrequencySeries ** | invspec, | ||
struct bankComplexTemplateOverlaps * | bankOverlaps | ||
) |
Definition at line 133 of file coh_PTF_bankveto.c.
void coh_PTF_calculate_auto_veto_template_filters | ( | struct coh_PTF_params * | params, |
FindChirpTemplate * | fcTmplt, | ||
struct bankComplexTemplateOverlaps * | autoTempOverlaps, | ||
REAL4FrequencySeries ** | invspec, | ||
COMPLEX8FFTPlan * | invplan, | ||
UINT4 | timeStepPoints | ||
) |
Definition at line 261 of file coh_PTF_bankveto.c.
void coh_PTF_auto_veto_coh_setup | ( | struct coh_PTF_params * | params, |
gsl_matrix ** | AutoeigenvecsP, | ||
gsl_vector ** | AutoeigenvalsP, | ||
struct bankCohTemplateOverlaps ** | autoCohOverlapsP, | ||
struct bankComplexTemplateOverlaps * | autoTempOverlaps, | ||
REAL4 * | Fplus, | ||
REAL4 * | Fcross, | ||
REAL8Array ** | PTFM, | ||
UINT4 | csVecLength, | ||
UINT4 | csVecLengthTwo, | ||
UINT4 | vecLength | ||
) |
Definition at line 283 of file coh_PTF_bankveto.c.
void coh_PTF_chi_square_coh_setup | ( | struct coh_PTF_params * | params, |
gsl_matrix ** | AutoeigenvecsP, | ||
gsl_vector ** | AutoeigenvalsP, | ||
REAL4 ** | frequencyRangesPlus, | ||
REAL4 ** | frequencyRangesCross, | ||
REAL4 ** | powerBinsPlus, | ||
REAL4 ** | powerBinsCross, | ||
REAL4 ** | overlapCont, | ||
struct bankDataOverlaps ** | chisqOverlapsP, | ||
FindChirpTemplate * | fcTmplt, | ||
REAL4FrequencySeries ** | invspec, | ||
RingDataSegments ** | segments, | ||
REAL4 * | Fplus, | ||
REAL4 * | Fcross, | ||
REAL8Array ** | PTFM, | ||
COMPLEX8FFTPlan * | invPlan, | ||
INT4 | segmentNumber, | ||
UINT4 | csVecLength, | ||
UINT4 | csVecLengthTwo, | ||
UINT4 | vecLength | ||
) |
Definition at line 334 of file coh_PTF_bankveto.c.
void coh_PTF_chi_square_sngl_setup | ( | struct coh_PTF_params * | params, |
REAL4 ** | frequencyRangesPlus, | ||
REAL4 ** | frequencyRangesCross, | ||
REAL4 ** | powerBinsPlus, | ||
REAL4 ** | powerBinsCross, | ||
REAL4 ** | overlapCont, | ||
struct bankDataOverlaps ** | chisqSnglOverlapsP, | ||
FindChirpTemplate * | fcTmplt, | ||
REAL4FrequencySeries ** | invspec, | ||
RingDataSegments ** | segments, | ||
REAL8Array ** | PTFM, | ||
COMPLEX8FFTPlan * | invPlan, | ||
INT4 | segmentNumber | ||
) |
Definition at line 473 of file coh_PTF_bankveto.c.
void coh_PTF_calculate_det_stuff | ( | struct coh_PTF_params * | params, |
LALDetector ** | detectors, | ||
REAL4 * | timeOffsets, | ||
REAL4 * | Fplustrig, | ||
REAL4 * | Fcrosstrig, | ||
CohPTFSkyPositions * | skyPoints, | ||
UINT4 | skyPointNum | ||
) |
Definition at line 947 of file coh_PTF_utils.c.
void coh_PTF_convert_time_offsets_to_points | ( | struct coh_PTF_params * | params, |
REAL4 * | timeOffsets, | ||
INT4 * | timeOffsetPoints | ||
) |
Definition at line 2353 of file coh_PTF_utils.c.
void coh_PTF_calculate_bmatrix | ( | struct coh_PTF_params * | params, |
gsl_matrix * | eigenvecs, | ||
gsl_vector * | eigenvals, | ||
REAL4 | Fplus[LAL_NUM_IFO], | ||
REAL4 | Fpcross[LAL_NUM_IFO], | ||
REAL8Array * | PTFM[LAL_NUM_IFO+1], | ||
UINT4 | vecLength, | ||
UINT4 | vecLengthTwo, | ||
UINT4 | PTFMlen | ||
) |
Definition at line 2389 of file coh_PTF_utils.c.
void coh_PTF_calculate_rotated_vectors | ( | struct coh_PTF_params * | params, |
COMPLEX8VectorSequence ** | PTFqVec, | ||
REAL4 * | u1, | ||
REAL4 * | u2, | ||
REAL4 * | Fplus, | ||
REAL4 * | Fcross, | ||
INT4 * | timeOffsetPoints, | ||
gsl_matrix * | eigenvecs, | ||
gsl_vector * | eigenvals, | ||
UINT4 | numPoints, | ||
UINT4 | position, | ||
UINT4 | vecLength, | ||
UINT4 | vecLengthTwo, | ||
UINT4 | detectorNum | ||
) |
Definition at line 2474 of file coh_PTF_utils.c.
MultiInspiralTable * coh_PTF_create_multi_event | ( | struct coh_PTF_params * | params, |
REAL4TimeSeries * | cohSNR, | ||
FindChirpTemplate * | fcTmplt, | ||
InspiralTemplate | PTFTemplate, | ||
UINT8 * | eventId, | ||
UINT4 | spinTrigger, | ||
REAL4TimeSeries ** | pValues, | ||
REAL4TimeSeries ** | gammaBeta, | ||
REAL4TimeSeries ** | snrComps, | ||
REAL4TimeSeries * | nullSNR, | ||
REAL4TimeSeries * | traceSNR, | ||
REAL4TimeSeries ** | bankVeto, | ||
REAL4TimeSeries ** | autoVeto, | ||
REAL4TimeSeries ** | chiSquare, | ||
REAL8Array ** | PTFM, | ||
REAL4 | rightAscension, | ||
REAL4 | declination, | ||
INT8 | slideId, | ||
INT4 * | timeOffsetPoints, | ||
UINT4 | currPos | ||
) |
Definition at line 2571 of file coh_PTF_utils.c.
void coh_PTF_cleanup | ( | struct coh_PTF_params * | params, |
ProcessParamsTable * | procpar, | ||
REAL4FFTPlan * | fwdplan, | ||
REAL4FFTPlan * | psdplan, | ||
REAL4FFTPlan * | revplan, | ||
COMPLEX8FFTPlan * | invPlan, | ||
REAL4TimeSeries ** | channel, | ||
REAL4FrequencySeries ** | invspec, | ||
RingDataSegments ** | segments, | ||
MultiInspiralTable * | events, | ||
SnglInspiralTable * | snglEvents, | ||
InspiralTemplate * | PTFbankhead, | ||
FindChirpTemplate * | fcTmplt, | ||
FindChirpTmpltParams * | fcTmpltParams, | ||
REAL8Array ** | PTFM, | ||
REAL8Array ** | PTFN, | ||
COMPLEX8VectorSequence ** | PTFqVec, | ||
REAL4 * | timeOffsets, | ||
REAL4 * | slidTimeOffsets, | ||
REAL4 * | Fplus, | ||
REAL4 * | Fcross, | ||
REAL4 * | Fplustrig, | ||
REAL4 * | Fcrosstrig, | ||
CohPTFSkyPositions * | skyPoints, | ||
TimeSlide * | time_slide_head, | ||
TimeSlideVectorList * | longTimeSlideList, | ||
TimeSlideVectorList * | shortTimeSlideList, | ||
REAL4 * | timeSlideVectors, | ||
LALDetector ** | detectors, | ||
INT8 * | slideIDList, | ||
TimeSlideSegmentMapTable * | time_slide_map_head, | ||
SegmentTable * | segment_table_head | ||
) |
Definition at line 3232 of file coh_PTF_utils.c.
REAL4FFTPlan * coh_PTF_get_fft_fwdplan | ( | struct coh_PTF_params * | params | ) |
Definition at line 3417 of file coh_PTF_utils.c.
REAL4FFTPlan * coh_PTF_get_fft_psdplan | ( | struct coh_PTF_params * | params | ) |
Definition at line 3430 of file coh_PTF_utils.c.
REAL4FFTPlan * coh_PTF_get_fft_revplan | ( | struct coh_PTF_params * | params | ) |
Definition at line 3444 of file coh_PTF_utils.c.
COMPLEX8FFTPlan * coh_PTF_get_fft_invplan | ( | struct coh_PTF_params * | params | ) |
Definition at line 3457 of file coh_PTF_utils.c.
SnglInspiralTable * conv_insp_tmpl_to_sngl_table | ( | InspiralTemplate * | template, |
UINT4 | eventNumber | ||
) |
Definition at line 3516 of file coh_PTF_utils.c.
long int timeval_subtract | ( | struct timeval * | t1 | ) |
Definition at line 3907 of file coh_PTF_utils.c.
void timeval_print | ( | struct timeval * | tv | ) |
Definition at line 3916 of file coh_PTF_utils.c.
void coh_PTF_template | ( | FindChirpTemplate * | fcTmplt, |
InspiralTemplate * | InspTmplt, | ||
FindChirpTmpltParams * | params | ||
) |
Definition at line 25 of file coh_PTF_template.c.
void coh_PTF_template_PTF | ( | FindChirpTemplate * | fcTmplt, |
InspiralTemplate * | InspTmplt, | ||
FindChirpTmpltParams * | params | ||
) |
Definition at line 55 of file coh_PTF_template.c.
void coh_PTF_normalize | ( | struct coh_PTF_params * | params, |
FindChirpTemplate * | fcTmplt, | ||
REAL4FrequencySeries * | invspec, | ||
REAL8Array * | PTFM, | ||
REAL8Array * | PTFN, | ||
COMPLEX8VectorSequence * | PTFqVec, | ||
COMPLEX8FrequencySeries * | sgmnt, | ||
COMPLEX8FFTPlan * | invPlan, | ||
UINT4 | spinTemplate | ||
) |
Definition at line 186 of file coh_PTF_template.c.
void coh_PTF_template_overlaps | ( | struct coh_PTF_params * | params, |
FindChirpTemplate * | fcTmplt1, | ||
FindChirpTemplate * | fcTmplt2, | ||
REAL4FrequencySeries * | invspec, | ||
UINT4 | spinBank, | ||
REAL8Array * | PTFM | ||
) |
Definition at line 341 of file coh_PTF_template.c.
void coh_PTF_complex_template_overlaps | ( | struct coh_PTF_params * | params, |
FindChirpTemplate * | fcTmplt1, | ||
FindChirpTemplate * | fcTmplt2, | ||
REAL4FrequencySeries * | invspec, | ||
UINT4 | spinBank, | ||
COMPLEX8Array * | PTFM | ||
) |
Definition at line 393 of file coh_PTF_template.c.
void coh_PTF_bank_filters | ( | struct coh_PTF_params * | params, |
FindChirpTemplate * | fcTmplt, | ||
UINT4 | spinBank, | ||
COMPLEX8FrequencySeries * | sgmnt, | ||
COMPLEX8FFTPlan * | invBankPlan, | ||
COMPLEX8VectorSequence * | PTFqVec, | ||
COMPLEX8VectorSequence * | PTFBankqVec, | ||
REAL8 | f_min, | ||
REAL8 | fFinal | ||
) |
Definition at line 450 of file coh_PTF_template.c.
void coh_PTF_auto_veto_overlaps | ( | struct coh_PTF_params * | params, |
FindChirpTemplate * | fcTmplt, | ||
struct bankComplexTemplateOverlaps * | autoTempOverlaps, | ||
REAL4FrequencySeries * | invspec, | ||
COMPLEX8FFTPlan * | invBankPlan, | ||
UINT4 | spinBank, | ||
UINT4 | numAutoPoints, | ||
UINT4 | timeStepPoints, | ||
UINT4 | ifoNumber | ||
) |
Definition at line 535 of file coh_PTF_template.c.
UINT4 coh_PTF_read_sub_bank | ( | struct coh_PTF_params * | params, |
InspiralTemplate ** | PTFBankTemplates | ||
) |
Definition at line 585 of file coh_PTF_bankveto.c.
void coh_PTF_initialise_sub_bank | ( | struct coh_PTF_params * | params, |
InspiralTemplate * | PTFBankTemplates, | ||
FindChirpTemplate * | bankFcTmplts, | ||
UINT4 | subBankSize, | ||
UINT4 | numPoints | ||
) |
Definition at line 604 of file coh_PTF_bankveto.c.
REAL4 coh_PTF_calculate_bank_veto | ( | UINT4 | numPoints, |
UINT4 | position, | ||
UINT4 | subBankSize, | ||
REAL4 | Fplus[LAL_NUM_IFO], | ||
REAL4 | Fcross[LAL_NUM_IFO], | ||
struct coh_PTF_params * | params, | ||
struct bankCohTemplateOverlaps * | cohBankOverlaps, | ||
struct bankComplexTemplateOverlaps * | bankOverlaps, | ||
struct bankDataOverlaps * | dataOverlaps, | ||
struct bankTemplateOverlaps * | bankNormOverlaps, | ||
COMPLEX8VectorSequence * | PTFqVec[LAL_NUM_IFO+1], | ||
REAL8Array * | PTFM[LAL_NUM_IFO+1], | ||
INT4 | timeOffsetPoints[LAL_NUM_IFO], | ||
gsl_matrix ** | Bankeigenvecs, | ||
gsl_vector ** | Bankeigenvals, | ||
UINT4 | detectorNum, | ||
UINT4 | vecLength, | ||
UINT4 | vecLengthTwo | ||
) |
Definition at line 637 of file coh_PTF_bankveto.c.
REAL4 coh_PTF_calculate_auto_veto | ( | UINT4 | numPoints, |
UINT4 | position, | ||
REAL4 | Fplus[LAL_NUM_IFO], | ||
REAL4 | Fcross[LAL_NUM_IFO], | ||
struct coh_PTF_params * | params, | ||
struct bankCohTemplateOverlaps * | cohAutoOverlaps, | ||
struct bankComplexTemplateOverlaps * | autoTempOverlaps, | ||
COMPLEX8VectorSequence * | PTFqVec[LAL_NUM_IFO+1], | ||
REAL8Array * | PTFM[LAL_NUM_IFO+1], | ||
INT4 | timeOffsetPoints[LAL_NUM_IFO], | ||
gsl_matrix * | Autoeigenvecs, | ||
gsl_vector * | Autoeigenvals, | ||
UINT4 | detectorNum, | ||
UINT4 | vecLength, | ||
UINT4 | vecLengthTwo | ||
) |
Definition at line 811 of file coh_PTF_bankveto.c.
void coh_PTF_free_veto_memory | ( | struct coh_PTF_params * | params, |
struct bankTemplateOverlaps * | bankNormOverlaps, | ||
FindChirpTemplate * | bankFcTmplts, | ||
struct bankComplexTemplateOverlaps * | bankOverlaps, | ||
struct bankDataOverlaps * | dataOverlaps, | ||
struct bankComplexTemplateOverlaps * | autoTempOverlaps | ||
) |
Definition at line 974 of file coh_PTF_bankveto.c.
void coh_PTF_calculate_coherent_bank_overlaps | ( | struct coh_PTF_params * | params, |
struct bankComplexTemplateOverlaps | bankOverlaps, | ||
struct bankCohTemplateOverlaps | cohBankOverlaps, | ||
REAL4 | Fplus[LAL_NUM_IFO], | ||
REAL4 | Fcross[LAL_NUM_IFO], | ||
gsl_matrix * | eigenvecs, | ||
gsl_vector * | eigenvals, | ||
gsl_matrix * | Bankeigenvecs, | ||
gsl_vector * | Bankeigenvals, | ||
UINT4 | vecLength, | ||
UINT4 | vecLengthTwo | ||
) |
Definition at line 1057 of file coh_PTF_bankveto.c.
void coh_PTF_calculate_standard_chisq_freq_ranges | ( | struct coh_PTF_params * | params, |
FindChirpTemplate * | fcTmplt, | ||
REAL4FrequencySeries * | invspec[LAL_NUM_IFO+1], | ||
REAL8Array * | PTFM[LAL_NUM_IFO+1], | ||
REAL4 | Fplus[LAL_NUM_IFO], | ||
REAL4 | Fcross[LAL_NUM_IFO], | ||
REAL4 * | frequencyRangesPlus, | ||
REAL4 * | frequencyRangesCross, | ||
gsl_matrix * | eigenvecs, | ||
UINT4 | detectorNum, | ||
UINT4 | singlePolFlag | ||
) |
Definition at line 1173 of file coh_PTF_bankveto.c.
void coh_PTF_calculate_standard_chisq_power_bins | ( | struct coh_PTF_params * | params, |
FindChirpTemplate * | fcTmplt, | ||
REAL4FrequencySeries * | invspec[LAL_NUM_IFO+1], | ||
REAL8Array * | PTFM[LAL_NUM_IFO+1], | ||
REAL4 | Fplus[LAL_NUM_IFO], | ||
REAL4 | Fcross[LAL_NUM_IFO], | ||
REAL4 * | frequencyRangesPlus, | ||
REAL4 * | frequencyRangesCross, | ||
REAL4 * | powerBinsPlus, | ||
REAL4 * | powerBinsCross, | ||
REAL4 ** | overlapCont, | ||
gsl_matrix * | eigenvecs, | ||
UINT4 | detectorNum, | ||
UINT4 | singlePolFlag | ||
) |
Definition at line 1337 of file coh_PTF_bankveto.c.
REAL4 coh_PTF_calculate_chi_square | ( | struct coh_PTF_params * | params, |
UINT4 | position, | ||
struct bankDataOverlaps * | chisqOverlaps, | ||
COMPLEX8VectorSequence * | PTFqVec[LAL_NUM_IFO+1], | ||
REAL8Array * | PTFM[LAL_NUM_IFO+1], | ||
REAL4 | Fplus[LAL_NUM_IFO], | ||
REAL4 | Fcross[LAL_NUM_IFO], | ||
INT4 | timeOffsetPoints[LAL_NUM_IFO], | ||
gsl_matrix * | eigenvecs, | ||
gsl_vector * | eigenvals, | ||
REAL4 * | powerBinsPlus, | ||
REAL4 * | powerBinsCross, | ||
UINT4 | detectorNum, | ||
UINT4 | vecLength, | ||
UINT4 | vecLengthTwo | ||
) |
Definition at line 1551 of file coh_PTF_bankveto.c.
int coh_PTF_parse_options | ( | struct coh_PTF_params * | params, |
int | argc, | ||
char ** | argv | ||
) |
Definition at line 24 of file coh_PTF_option.c.
int coh_PTF_default_params | ( | struct coh_PTF_params * | params | ) |
Definition at line 584 of file coh_PTF_option.c.
int coh_PTF_params_sanity_check | ( | struct coh_PTF_params * | params | ) |
Definition at line 648 of file coh_PTF_option.c.
int coh_PTF_params_inspiral_sanity_check | ( | struct coh_PTF_params * | params | ) |
Definition at line 783 of file coh_PTF_option.c.
Definition at line 850 of file coh_PTF_option.c.
ProcessParamsTable * create_process_params | ( | int | argc, |
char ** | argv, | ||
const char * | program | ||
) |
Definition at line 34 of file coh_PTF_output.c.
int coh_PTF_output_events_xml | ( | char * | outputFile, |
MultiInspiralTable * | events, | ||
SnglInspiralTable * | snglEvents, | ||
SimInspiralTable * | injections, | ||
ProcessParamsTable * | processParamsTable, | ||
TimeSlide * | time_slide_head, | ||
TimeSlideSegmentMapTable * | time_slide_map_head, | ||
SegmentTable * | segment_table_head, | ||
struct coh_PTF_params * | params | ||
) |
Definition at line 122 of file coh_PTF_output.c.
int coh_PTF_output_tmpltbank | ( | char * | outputFile, |
SnglInspiralTable * | tmplts, | ||
ProcessParamsTable * | processParamsTable, | ||
struct coh_PTF_params * | params | ||
) |
Definition at line 191 of file coh_PTF_output.c.
ProcessTable * coh_PTF_create_process_table | ( | struct coh_PTF_params * | params | ) |
Definition at line 239 of file coh_PTF_output.c.
SearchSummaryTable * coh_PTF_create_search_summary | ( | struct coh_PTF_params * | params | ) |
Definition at line 284 of file coh_PTF_output.c.
int write_REAL4TimeSeries | ( | REAL4TimeSeries * | series | ) |
Definition at line 356 of file coh_PTF_output.c.
int write_REAL4FrequencySeries | ( | REAL4FrequencySeries * | series | ) |
Definition at line 370 of file coh_PTF_output.c.
int write_COMPLEX8FrequencySeries | ( | COMPLEX8FrequencySeries * | series | ) |
Definition at line 384 of file coh_PTF_output.c.
Definition at line 397 of file coh_PTF_output.c.
CohPTFSkyPositions * coh_PTF_generate_sky_points | ( | struct coh_PTF_params * | params | ) |
Definition at line 3545 of file coh_PTF_utils.c.
CohPTFSkyPositions * coh_PTF_generate_sky_grid | ( | struct coh_PTF_params * | params | ) |
Definition at line 3614 of file coh_PTF_utils.c.
CohPTFSkyPositions * coh_PTF_circular_grid | ( | REAL4 | angularResolution, |
REAL4 | skyError | ||
) |
Definition at line 3759 of file coh_PTF_utils.c.
CohPTFSkyPositions * coh_PTF_parse_time_delays | ( | CohPTFSkyPositions * | skyPoints, |
struct coh_PTF_params * | params | ||
) |
Definition at line 3815 of file coh_PTF_utils.c.
CohPTFSkyPositions * coh_PTF_read_grid_from_file | ( | const char * | fname, |
UINT4 | raColumn, | ||
UINT4 | decColumn | ||
) |
Definition at line 4058 of file coh_PTF_utils.c.
void coh_PTF_rotate_skyPoints | ( | CohPTFSkyPositions * | skyPoints, |
gsl_vector * | axis, | ||
REAL8 | angle | ||
) |
Definition at line 3933 of file coh_PTF_utils.c.
void coh_PTF_rotate_SkyPosition | ( | SkyPosition * | skyPoint, |
gsl_matrix * | matrix | ||
) |
Definition at line 3954 of file coh_PTF_utils.c.
CohPTFSkyPositions * coh_PTF_two_det_sky_grid | ( | struct coh_PTF_params * | params | ) |
Definition at line 4127 of file coh_PTF_utils.c.
CohPTFSkyPositions * coh_PTF_three_det_sky_grid | ( | struct coh_PTF_params * | params | ) |
Definition at line 4233 of file coh_PTF_utils.c.
void normalise | ( | gsl_vector * | vec | ) |
Definition at line 4010 of file coh_PTF_utils.c.
Definition at line 3990 of file coh_PTF_utils.c.
void rotation_matrix | ( | gsl_matrix * | matrix, |
gsl_vector * | axis, | ||
REAL8 | angle | ||
) |
Definition at line 4022 of file coh_PTF_utils.c.
Definition at line 4392 of file coh_PTF_utils.c.
void findInjectionSegment | ( | UINT4 * | start, |
UINT4 * | end, | ||
LIGOTimeGPS * | epoch, | ||
struct coh_PTF_params * | params | ||
) |
Definition at line 4405 of file coh_PTF_utils.c.
UINT4 coh_PTF_trig_time_check | ( | struct coh_PTF_params * | params, |
LIGOTimeGPS | segStartTime, | ||
LIGOTimeGPS | segEndTime | ||
) |
Definition at line 4470 of file coh_PTF_utils.c.
UINT4 checkInjectionMchirp | ( | struct coh_PTF_params * | params, |
InspiralTemplate * | tmplt, | ||
LIGOTimeGPS * | epoch | ||
) |
Definition at line 4498 of file coh_PTF_utils.c.
void coh_PTF_set_null_input_REAL4TimeSeries | ( | REAL4TimeSeries ** | timeSeries, |
UINT4 | length | ||
) |
Definition at line 4564 of file coh_PTF_utils.c.
void coh_PTF_set_null_input_REAL4FrequencySeries | ( | REAL4FrequencySeries ** | freqSeries, |
UINT4 | length | ||
) |
Definition at line 4576 of file coh_PTF_utils.c.
void coh_PTF_set_null_input_RingDataSegments | ( | RingDataSegments ** | segment, |
UINT4 | length | ||
) |
Definition at line 4588 of file coh_PTF_utils.c.
void coh_PTF_set_null_input_REAL8Array | ( | REAL8Array ** | array, |
UINT4 | length | ||
) |
Definition at line 4600 of file coh_PTF_utils.c.
void coh_PTF_set_null_input_COMPLEX8VectorSequence | ( | COMPLEX8VectorSequence ** | vecSeq, |
UINT4 | length | ||
) |
Definition at line 4612 of file coh_PTF_utils.c.
Definition at line 4624 of file coh_PTF_utils.c.
Definition at line 4636 of file coh_PTF_utils.c.
void coh_PTF_set_null_input_LALDetector | ( | LALDetector ** | detector, |
UINT4 | length | ||
) |
Definition at line 4648 of file coh_PTF_utils.c.
|
extern |
defined in lal/lib/std/LALError.c