Go to the source code of this file.
| INT4 coh_PTF_data_condition | ( | struct coh_PTF_params * | params, |
| REAL4TimeSeries ** | channel, | ||
| REAL4FrequencySeries ** | invspec, | ||
| RingDataSegments ** | segments, | ||
| REAL4FFTPlan * | fwdplan, | ||
| REAL4FFTPlan * | psdplan, | ||
| REAL4FFTPlan * | revplan, | ||
| REAL4 ** | timeSlideVectorsP, | ||
| 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.
|
static |
Definition at line 583 of file coh_PTF_utils.c.
|
static |
Definition at line 603 of file coh_PTF_utils.c.
|
static |
Definition at line 614 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_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_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.
| 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 | Fcross[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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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_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.
Definition at line 3990 of file coh_PTF_utils.c.
| void normalise | ( | gsl_vector * | vec | ) |
Definition at line 4010 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.
| CohPTFSkyPositions * coh_PTF_read_grid_from_file | ( | const char * | fname, |
| UINT4 | raColumn, | ||
| UINT4 | decColumn | ||
| ) |
Definition at line 4058 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.
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.