Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALApps 10.1.0.1-b246709
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
coh_PTF.h
Go to the documentation of this file.
1/*
2* Copyright (C) 2007 Duncan Brown, Jolien Creighton, Lisa M. Goggin
3*
4* This program is free software; you can redistribute it and/or modify
5* it under the terms of the GNU General Public License as published by
6* the Free Software Foundation; either version 2 of the License, or
7* (at your option) any later version.
8*
9* This program is distributed in the hope that it will be useful,
10* but WITHOUT ANY WARRANTY; without even the implied warranty of
11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12* GNU General Public License for more details.
13*
14* You should have received a copy of the GNU General Public License
15* along with with program; see the file COPYING. If not, write to the
16* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17* MA 02110-1301 USA
18*/
19
20#include "config.h"
21
22#include <math.h>
23#include <stdlib.h>
24#include <stdio.h>
25#include <string.h>
26#include <limits.h>
27#include <sys/time.h>
28#include <ctype.h>
29
30#include <lal/ComplexFFT.h>
31#include <lal/LALDatatypes.h>
32#include <lal/LALgetopt.h>
33#include <lal/LIGOMetadataTables.h>
34#include <lal/RealFFT.h>
35#include <lal/Units.h>
36#include <lal/LALStdlib.h>
37#include <lal/LALStdio.h>
38#include <lal/LIGOMetadataTables.h>
39#include <lal/LIGOMetadataUtils.h>
40#include <lal/LIGOMetadataInspiralUtils.h>
41#include <lal/LIGOMetadataRingdownUtils.h>
42#include <lal/AVFactories.h>
43#include <lal/SeqFactories.h>
44#include <lal/Date.h>
45#include <lal/RealFFT.h>
46#include <lal/LALFrStream.h>
47#include <lal/LALInspiral.h>
48#include <lal/FindChirp.h>
49#include <lal/FindChirpPTF.h>
50#include <lal/LIGOLwXML.h>
51#include <lal/LIGOLwXMLRead.h>
52#include <lal/DetectorSite.h>
53#include <lal/TimeDelay.h>
54#include <lal/DetResponse.h>
55#include <lal/TimeSeries.h>
56#include <lal/PrintFTSeries.h>
57#include <lal/FindChirpPTF.h>
58#include <lal/RingUtils.h>
59#include <lal/SkyCoordinates.h>
60#include <lal/XLALError.h>
61
62#include <LALAppsVCSInfo.h>
63#include "getdata.h"
64#include "injsgnl.h"
65#include "getresp.h"
66#include "spectrm.h"
67#include "segment.h"
68#include "errutil.h"
69#include "gpstime.h"
70#include "FindChirpTD.h"
71#include "FindChirpDatatypes.h"
73
74#include <gsl/gsl_matrix.h>
75#include <gsl/gsl_vector.h>
76#include <gsl/gsl_linalg.h>
77#include <gsl/gsl_eigen.h>
78#include <gsl/gsl_blas.h>
79
80#define BUFFER_SIZE 256
81#define FILENAME_SIZE 256
82#define MAXIFO 4
83
84/* macro for testing validity of a condition that prints an error if invalid */
85#define sanity_check( condition ) \
86 ( condition ? 0 : ( fputs( #condition " not satisfied\n", stderr ), error( "sanity check failed\n" ) ) )
87
88/* macro is_option() (and friends): determine if string is an option */
89/* i.e., does it start with "-[a-zA-Z]" or "--[a-zA-Z]" */
90#define is_long_option(s) \
91 ( strlen(s) > 2 && (s)[0] == '-' && (s)[1] == '-' && isalpha( s[2] ) )
92#define is_short_option(s) \
93 ( strlen(s) > 1 && (s)[0] == '-' && isalpha( s[1] ) )
94#define is_option(s) ( is_long_option(s) || is_short_option(s) )
95
96/* Supress unused variable warnings */
97#ifdef __GNUC__
98#define UNUSED __attribute__ ((unused))
99#else
100#define UNUSED
101#endif
102
103extern int vrbflg;
104
106
107/* The coh PTF params structure */
108
113 char *cvsDate;
126 const char *channel[LAL_NUM_IFO];
127 const char *dataCache[LAL_NUM_IFO];
128 const char *injectFile;
153 REAL8 dynRangeFac; /* How much data is scaled by */
154 REAL8 tempCorrFac; /* Correction scaling for template */
168 const char *skyPositionsFile;
170 const char *bankFile;
171 const char *segmentsToDoList;
172 const char *templatesToDoList;
175 const char *bankVetoBankName;
187 char outputFile[256];
189 char spinBankName[256];
191 char noSpinBankName[256];
192 char userTag[256];
193 char ifoTag[256];
203 /* flags */
230 /* write intermediate result flags */
238};
239
240/* Other structures */
241
244};
245
249};
250
253};
254
256 gsl_matrix *rotReOverlaps;
257 gsl_matrix *rotImOverlaps;
258};
259
260typedef struct tagRingDataSegments
261{
264}
266
267typedef struct tagCohPTFSkyPositions
268{
271}
273
274typedef struct tagTimeSlideVectorList
275{
276 REAL4 timeSlideVectors[LAL_NUM_IFO];
280}
282
283/* ENUM for sky location looping */
284
285typedef enum
286{
294
295/* Function declarations for coh_PTF_inspiral */
296
298 REAL4TimeSeries *cohSNR,
299 REAL8Array *PTFM[LAL_NUM_IFO+1],
300 COMPLEX8VectorSequence *PTFqVec[LAL_NUM_IFO+1],
301 struct coh_PTF_params *params,
302 UINT4 spinTemplate,
303 REAL4 *timeOffsets,
304 REAL4 *Fplus,
305 REAL4 *Fcross,
306 INT4 segmentNumber,
307 REAL4TimeSeries *pValues[10],
308 REAL4TimeSeries *gammaBeta[2],
309 REAL4TimeSeries *snrComps[LAL_NUM_IFO],
310 REAL4TimeSeries *nullSNR,
311 REAL4TimeSeries *traceSNR,
312 REAL4TimeSeries *bankVeto[LAL_NUM_IFO+1],
313 REAL4TimeSeries *autoVeto[LAL_NUM_IFO+1],
314 REAL4TimeSeries *chiSquare[LAL_NUM_IFO+1],
315 UINT4 subBankSize,
316 struct bankComplexTemplateOverlaps *bankOverlaps,
317 struct bankTemplateOverlaps *bankNormOverlaps,
318 struct bankDataOverlaps *dataOverlaps,
319 struct bankComplexTemplateOverlaps *autoTempOverlaps,
320 FindChirpTemplate *fcTmplt,
321 REAL4FrequencySeries *invspec[LAL_NUM_IFO+1],
322 RingDataSegments *segment[LAL_NUM_IFO+1],
323 COMPLEX8FFTPlan *invPlan,
324 struct bankDataOverlaps **chisqOverlapsP,
325 struct bankDataOverlaps **chisqSnglOverlapsP,
326 REAL4 *frequencyRangesPlus[LAL_NUM_IFO+1],
327 REAL4 *frequencyRangesCross[LAL_NUM_IFO+1],
328 REAL4 **overlapCont,
329 REAL4 **snglOverlapCont,
330 struct timeval startTime,
331 UINT4 segStartPoint,
332 UINT4 segEndPoint,
333 UINT4 **snglAcceptPoints,
334 UINT4 *snglAcceptCount,
335 UINT4 *acceptPointList
336);
337
339 struct coh_PTF_params *params,
340 MultiInspiralTable **eventList,
341 MultiInspiralTable **thisEvent,
342 REAL4TimeSeries *cohSNR,
343 FindChirpTemplate *fcTmplt,
344 InspiralTemplate PTFTemplate,
345 UINT8 eventId,
346 UINT4 spinTrigger,
347 REAL4TimeSeries *pValues[10],
348 REAL4TimeSeries *gammaBeta[2],
349 REAL4TimeSeries *snrComps[LAL_NUM_IFO],
350 REAL4TimeSeries *nullSNR,
351 REAL4TimeSeries *traceSNR,
352 REAL4TimeSeries *bankVeto[LAL_NUM_IFO+1],
353 REAL4TimeSeries *autoVeto[LAL_NUM_IFO+1],
354 REAL4TimeSeries *chiSquare[LAL_NUM_IFO+1],
355 REAL8Array *PTFM[LAL_NUM_IFO+1],
356 REAL4 rightAscension,
357 REAL4 declination,
358 INT8 slideId,
359 REAL4 *timeOffsets,
360 UINT4 *acceptPointList,
361 UINT4 numAcceptPoints,
362 UINT4 slideNum,
363 INT4 timeDiff,
364 INT4 startTime
365);
366
368 struct coh_PTF_params *params,
369 MultiInspiralTable **eventList,
370 MultiInspiralTable **newEventHead,
371 UINT4 numSlides,
372 INT4 timeDiff
373);
374
376 struct coh_PTF_params *params,
377 MultiInspiralTable **eventList,
378 MultiInspiralTable thisEvent,
379 INT4 timeDiff,
380 UINT4 currTimeDiff,
381 UINT4 currStorageID
382);
383
385 struct coh_PTF_params *params,
386 REAL4TimeSeries *cohSNR,
387 FindChirpTemplate *fcTmplt,
388 InspiralTemplate PTFTemplate,
389 UINT8 *eventId,
390 REAL4TimeSeries **pValues,
391 REAL4TimeSeries **bankVeto,
392 REAL4TimeSeries **autoVeto,
393 REAL4TimeSeries **chiSquare,
394 REAL8Array **PTFM,
395 UINT4 currPos
396);
397
399 struct coh_PTF_params *params,
400 SnglInspiralTable **eventList,
401 SnglInspiralTable **thisEvent,
402 REAL4TimeSeries *cohSNR,
403 FindChirpTemplate *fcTmplt,
404 InspiralTemplate PTFTemplate,
405 UINT8 eventId,
406 REAL4TimeSeries **pValues,
407 REAL4TimeSeries **bankVeto,
408 REAL4TimeSeries **autoVeto,
409 REAL4TimeSeries **chiSquare,
410 REAL8Array **PTFM,
411 UINT4 startPoint,
412 UINT4 endPoint
413);
414
416 struct coh_PTF_params *params,
417 SnglInspiralTable **eventList,
418 SnglInspiralTable thisEvent
419);
420
422 struct coh_PTF_params *params,
423 SnglInspiralTable **eventList,
424 SnglInspiralTable **thisEvent
425);
426
427
428/* Function declarations for coh_PTF_utils */
429
431 struct coh_PTF_params *params,
432 REAL4TimeSeries **channel,
433 REAL4FrequencySeries **invspec,
434 RingDataSegments **segments,
435 REAL4FFTPlan *fwdplan,
436 REAL4FFTPlan *psdplan,
437 REAL4FFTPlan *revplan,
438 REAL4 **timeSlideVectors,
439 struct timeval startTime
440);
441
443 struct coh_PTF_params *params,
444 const char *ifoChannel,
445 const char *dataCache,
446 UINT4 ifoNumber
447);
448
450 struct coh_PTF_params *params,
451 REAL4TimeSeries **channel,
452 REAL4FrequencySeries **invspec,
453 RingDataSegments **segments,
454 REAL4 *Fplustrig,
455 REAL4 *Fcrosstrig,
456 REAL4 *timeOffsets,
457 REAL4FFTPlan *fwdplan,
458 REAL4FFTPlan *revplan,
459 REAL4FFTPlan *psdplan,
460 REAL4 *timeSlideVectors,
461 struct timeval startTime
462);
463
465 struct coh_PTF_params *params,
466 REAL4TimeSeries *channel[LAL_NUM_IFO + 1],
467 REAL4 *Fplus,
468 REAL4 *Fcross,
469 REAL4 *timeOffsets
470);
471
473 REAL4TimeSeries *channel,
474 REAL4FFTPlan *fwdplan,
475 REAL4FFTPlan *revplan,
476 REAL4FFTPlan *psdplan,
477 struct coh_PTF_params *params
478);
479
481 REAL4TimeSeries *channel,
482 REAL8 rescaleFactor
483);
484
486 REAL4TimeSeries *channel,
487 REAL4FrequencySeries *invspec,
488 REAL4FFTPlan *fwdplan,
489 InterferometerNumber NumberIFO,
490 REAL4 *timeSlideVectors,
491 struct coh_PTF_params *params
492);
493
495 struct coh_PTF_params *params,
496 INT8 *slideIDList,
497 RingDataSegments **segments,
498 TimeSlide **time_slide_headP,
499 TimeSlideSegmentMapTable **time_slide_map_headP,
500 SegmentTable **segment_table_headP,
501 TimeSlideVectorList **longTimeSlideListP,
502 TimeSlideVectorList **shortTimeSlideListP,
503 REAL4 *timeSlideVectors,
505);
506
508 struct coh_PTF_params *params,
509 FindChirpTemplate **fcTmpltP,
510 FindChirpTmpltParams **fcTmpltParamsP,
511 REAL8Array **PTFM,
512 REAL8Array **PTFN,
513 COMPLEX8VectorSequence **PTFqVec,
514 REAL4FFTPlan *fwdplan
515);
516
518 struct coh_PTF_params *params,
519 LIGOTimeGPS segStartTime,
521 REAL4TimeSeries **cohSNRP,
522 REAL4TimeSeries **nullSNRP,
523 REAL4TimeSeries **traceSNRP,
524 REAL4TimeSeries **bankVeto,
525 REAL4TimeSeries **autoVeto,
526 REAL4TimeSeries **chiSquare,
527 REAL4TimeSeries **snrComps,
528 REAL4TimeSeries **pValues,
529 REAL4TimeSeries **gammaBeta,
530 UINT4 spinTemplates
531);
532
534 struct coh_PTF_params *params,
535 LIGOTimeGPS segStartTime,
536 REAL4TimeSeries *cohSNR,
537 REAL4TimeSeries *nullSNR,
538 REAL4TimeSeries *traceSNR,
539 REAL4TimeSeries **bankVeto,
540 REAL4TimeSeries **autoVeto,
541 REAL4TimeSeries **chiSquare,
542 REAL4TimeSeries **snrComps,
543 REAL4TimeSeries **pValues,
544 REAL4TimeSeries **gammaBeta,
545 UINT4 spinTemplates
546);
547
549 REAL4TimeSeries *cohSNR,
550 REAL4TimeSeries *nullSNR,
551 REAL4TimeSeries *traceSNR,
552 REAL4TimeSeries **bankVeto,
553 REAL4TimeSeries **autoVeto,
554 REAL4TimeSeries **chiSquare,
555 REAL4TimeSeries **pValues,
556 REAL4TimeSeries **gammaBeta,
557 REAL4TimeSeries **snrComps
558);
559
561 struct coh_PTF_params *params,
562 FindChirpTemplate *fcTmplt,
563 REAL4FrequencySeries **invspec,
564 REAL8Array **PTFM,
565 COMPLEX8VectorSequence **PTFqVec,
566 REAL4TimeSeries **snrComps,
567 UINT4 **snglAcceptPoints,
568 UINT4 *snglAcceptCount,
569 RingDataSegments **segments,
570 COMPLEX8FFTPlan *invPlan,
571 UINT4 spinTemplate,
572 UINT4 segNum
573);
574
576 struct coh_PTF_params *params,
577 REAL8Array **PTFM,
578 COMPLEX8VectorSequence **PTFqVec,
579 REAL4TimeSeries **snrComps,
580 UINT4 ifoNumber,
581 UINT4 *localAcceptPoints
582);
583
585 REAL4 *v1p,
586 REAL4 *v2p,
587 UINT4 vecLengthTwo
588);
589
591 struct coh_PTF_params *params,
592 REAL4 *snrData,
593 REAL4TimeSeries **pValues,
594 REAL4TimeSeries **snrComps,
595 INT4 *timeOffsetPoints,
596 COMPLEX8VectorSequence **PTFqVec,
597 REAL4 *Fplus,
598 REAL4 *Fcross,
599 gsl_matrix *eigenvecs,
600 gsl_vector *eigenvals,
601 UINT4 segStartPoint,
602 UINT4 segEndPoint,
603 UINT4 vecLength,
604 UINT4 vecLengthTwo,
605 UINT4 spinTemplate,
606 UINT4 **snglAcceptPoints,
607 UINT4 *snglAcceptCount
608);
609
611 struct coh_PTF_params *params,
612 REAL4TimeSeries *cohSNR,
613 UINT4 *acceptPoints,
614 INT4 *timeOffsetPoints,
615 INT4 numPointCheck,
616 UINT4 startPoint,
617 UINT4 endPoint,
618 UINT4 **snglAcceptPoints,
619 UINT4 *snglAcceptCount
620);
621
623 struct coh_PTF_params *params,
624 REAL4TimeSeries *cohSNR,
625 REAL4TimeSeries *nullSNR,
626 REAL4TimeSeries **bankVeto,
627 REAL4TimeSeries **autoVeto,
628 UINT4 currPointLoc
629);
630
632 struct coh_PTF_params *params,
633 FindChirpTemplate *fcTmplt,
634 REAL4FrequencySeries **invspec,
635 REAL8Array **PTFM,
636 COMPLEX8VectorSequence **PTFqVec,
637 RingDataSegments **segments,
638 COMPLEX8FFTPlan *invPlan,
639 UINT4 spinTemplate,
640 UINT4 segNum
641);
642
644 UINT4 vecLength,
645 gsl_matrix *eigenvecsNull,
646 gsl_vector *eigenvalsNull,
647 REAL8Array *PTFM[LAL_NUM_IFO+1]
648);
649
651 struct coh_PTF_params *params,
652 REAL4TimeSeries *nullSNR,
653 COMPLEX8VectorSequence **PTFqVec,
654 gsl_matrix *eigenvecsNull,
655 gsl_vector *eigenvalsNull,
656 UINT4 spinTemplate,
657 UINT4 vecLength,
658 UINT4 vecLoc,
659 UINT4 snrLoc
660);
661
663 struct coh_PTF_params *params,
664 REAL4TimeSeries *traceSNR,
665 COMPLEX8VectorSequence **PTFqVec,
666 gsl_matrix *eigenvecs,
667 gsl_vector *eigenvals,
668 REAL4 *Fplus,
669 REAL4 *Fcross,
670 INT4 *timeOffsetPoints,
671 UINT4 spinTemplate,
672 UINT4 vecLength,
673 UINT4 vecLengthTwo,
674 UINT4 vecLoc,
675 UINT4 snrLoc
676);
677
679 struct coh_PTF_params *params,
680 struct bankTemplateOverlaps **bankNormOverlapsP,
681 struct bankComplexTemplateOverlaps **bankOverlapsP,
682 struct bankDataOverlaps **dataOverlapsP,
683 FindChirpTemplate **bankFcTmpltsP,
684 FindChirpTemplate *fcTmplt,
685 FindChirpTmpltParams *fcTmpltParams,
686 REAL4FrequencySeries **invspec,
687 struct timeval startTime
688);
689
691 struct coh_PTF_params *params,
692 struct bankDataOverlaps *dataOverlaps,
693 FindChirpTemplate *bankFcTmplts,
694 RingDataSegments **segments,
695 COMPLEX8VectorSequence **PTFqVec,
696 COMPLEX8FFTPlan *invplan,
697 INT4 segmentNum,
698 struct timeval startTime
699);
700
702 struct coh_PTF_params *params,
703 gsl_matrix **Bankeigenvecs,
704 gsl_vector **Bankeigenvals,
705 struct bankCohTemplateOverlaps **bankCohOverlapsP,
706 struct bankComplexTemplateOverlaps *bankOverlaps,
707 REAL4 *Fplus,
708 REAL4 *Fcross,
709 REAL8Array **PTFM,
710 struct bankTemplateOverlaps *bankNormOverlaps,
711 UINT4 csVecLength,
712 UINT4 csVecLengthTwo,
713 UINT4 vecLength
714);
715
717 struct coh_PTF_params *params,
718 struct bankComplexTemplateOverlaps **autoTempOverlapsP,
719 struct timeval startTime
720);
721
723 struct coh_PTF_params *params,
724 FindChirpTemplate *bankFcTmplts,
725 FindChirpTemplate *fcTmplt,
726 REAL4FrequencySeries **invspec,
727 struct bankComplexTemplateOverlaps *bankOverlaps
728);
729
731 struct coh_PTF_params *params,
732 FindChirpTemplate *fcTmplt,
733 struct bankComplexTemplateOverlaps *autoTempOverlaps,
734 REAL4FrequencySeries **invspec,
735 COMPLEX8FFTPlan *invplan,
736 UINT4 timeStepPoints
737);
738
740 struct coh_PTF_params *params,
741 gsl_matrix **AutoeigenvecsP,
742 gsl_vector **AutoeigenvalsP,
743 struct bankCohTemplateOverlaps **autoCohOverlapsP,
744 struct bankComplexTemplateOverlaps *autoTempOverlaps,
745 REAL4 *Fplus,
746 REAL4 *Fcross,
747 REAL8Array **PTFM,
748 UINT4 csVecLength,
749 UINT4 csVecLengthTwo,
750 UINT4 vecLength
751);
752
754 struct coh_PTF_params *params,
755 gsl_matrix **AutoeigenvecsP,
756 gsl_vector **AutoeigenvalsP,
757 REAL4 **frequencyRangesPlus,
758 REAL4 **frequencyRangesCross,
759 REAL4 **powerBinsPlus,
760 REAL4 **powerBinsCross,
761 REAL4 **overlapCont,
762 struct bankDataOverlaps **chisqOverlapsP,
763 FindChirpTemplate *fcTmplt,
764 REAL4FrequencySeries **invspec,
765 RingDataSegments **segments,
766 REAL4 *Fplus,
767 REAL4 *Fcross,
768 REAL8Array **PTFM,
769 COMPLEX8FFTPlan *invPlan,
770 INT4 segmentNumber,
771 UINT4 csVecLength,
772 UINT4 csVecLengthTwo,
773 UINT4 vecLength
774);
775
777 struct coh_PTF_params *params,
778 REAL4 **frequencyRangesPlus,
779 REAL4 **frequencyRangesCross,
780 REAL4 **powerBinsPlus,
781 REAL4 **powerBinsCross,
782 REAL4 **overlapCont,
783 struct bankDataOverlaps **chisqSnglOverlapsP,
784 FindChirpTemplate *fcTmplt,
785 REAL4FrequencySeries **invspec,
786 RingDataSegments **segments,
787 REAL8Array **PTFM,
788 COMPLEX8FFTPlan *invPlan,
789 INT4 segmentNumber
790);
791
793 struct coh_PTF_params *params,
794 LALDetector **detectors,
795 REAL4 *timeOffsets,
796 REAL4 *Fplustrig,
797 REAL4 *Fcrosstrig,
799 UINT4 skyPointNum
800);
801
803 struct coh_PTF_params *params,
804 REAL4 *timeOffsets,
805 INT4 *timeOffsetPoints
806);
807
809 struct coh_PTF_params *params,
810 gsl_matrix *eigenvecs,
811 gsl_vector *eigenvals,
812 REAL4 Fplus[LAL_NUM_IFO],
813 REAL4 Fpcross[LAL_NUM_IFO],
814 REAL8Array *PTFM[LAL_NUM_IFO+1],
815 UINT4 vecLength,
816 UINT4 vecLengthTwo,
817 UINT4 PTFMlen
818);
819
821 struct coh_PTF_params *params,
822 COMPLEX8VectorSequence **PTFqVec,
823 REAL4 *u1,
824 REAL4 *u2,
825 REAL4 *Fplus,
826 REAL4 *Fcross,
827 INT4 *timeOffsetPoints,
828 gsl_matrix *eigenvecs,
829 gsl_vector *eigenvals,
831 UINT4 position,
832 UINT4 vecLength,
833 UINT4 vecLengthTwo,
834 UINT4 detectorNum
835);
836
838 struct coh_PTF_params *params,
839 REAL4TimeSeries *cohSNR,
840 FindChirpTemplate *fcTmplt,
841 InspiralTemplate PTFTemplate,
842 UINT8 *eventId,
843 UINT4 spinTrigger,
844 REAL4TimeSeries **pValues,
845 REAL4TimeSeries **gammaBeta,
846 REAL4TimeSeries **snrComps,
847 REAL4TimeSeries *nullSNR,
848 REAL4TimeSeries *traceSNR,
849 REAL4TimeSeries **bankVeto,
850 REAL4TimeSeries **autoVeto,
851 REAL4TimeSeries **chiSquare,
852 REAL8Array **PTFM,
853 REAL4 rightAscension,
854 REAL4 declination,
855 INT8 slideId,
856 INT4 *timeOffsetPoints,
857 UINT4 currPos
858);
859
860void coh_PTF_cleanup(
861 struct coh_PTF_params *params,
862 ProcessParamsTable *procpar,
863 REAL4FFTPlan *fwdplan,
864 REAL4FFTPlan *psdplan,
865 REAL4FFTPlan *revplan,
866 COMPLEX8FFTPlan *invPlan,
867 REAL4TimeSeries **channel,
868 REAL4FrequencySeries **invspec,
869 RingDataSegments **segments,
870 MultiInspiralTable *events,
871 SnglInspiralTable *snglEvents,
872 InspiralTemplate *PTFbankhead,
873 FindChirpTemplate *fcTmplt,
874 FindChirpTmpltParams *fcTmpltParams,
875 REAL8Array **PTFM,
876 REAL8Array **PTFN,
877 COMPLEX8VectorSequence **PTFqVec,
878 REAL4 *timeOffsets,
879 REAL4 *slidTimeOffsets,
880 REAL4 *Fplus,
881 REAL4 *Fcross,
882 REAL4 *Fplustrig,
883 REAL4 *Fcrosstrig,
885 TimeSlide *time_slide_head,
886 TimeSlideVectorList *longTimeSlideList,
887 TimeSlideVectorList *shortTimeSlideList,
888 REAL4 *timeSlideVectors,
889 LALDetector **detectors,
890 INT8 *slideIDList,
891 TimeSlideSegmentMapTable *time_slide_map_head,
892 SegmentTable *segment_table_head
893);
894
895REAL4FFTPlan *coh_PTF_get_fft_fwdplan( struct coh_PTF_params *params );
896
897REAL4FFTPlan *coh_PTF_get_fft_psdplan( struct coh_PTF_params *params );
898
899REAL4FFTPlan *coh_PTF_get_fft_revplan( struct coh_PTF_params *params );
900
901COMPLEX8FFTPlan *coh_PTF_get_fft_invplan( struct coh_PTF_params *params );
902
903int is_in_list( int i, const char *list );
904
906 InspiralTemplate *template,
907 UINT4 eventNumber
908);
909
910long int timeval_subtract(struct timeval *t1);
911
912void timeval_print(struct timeval *tv);
913
914/* Function declarations for coh_PTF_template.c */
915
916void coh_PTF_template (
917 FindChirpTemplate *fcTmplt,
918 InspiralTemplate *InspTmplt,
920);
921
923 FindChirpTemplate *fcTmplt,
924 InspiralTemplate *InspTmplt,
926);
927
929 struct coh_PTF_params *params,
930 FindChirpTemplate *fcTmplt,
931 REAL4FrequencySeries *invspec,
932 REAL8Array *PTFM,
933 REAL8Array *PTFN,
934 COMPLEX8VectorSequence *PTFqVec,
936 COMPLEX8FFTPlan *invPlan,
937 UINT4 spinTemplate
938);
939
941 struct coh_PTF_params *params,
942 FindChirpTemplate *fcTmplt1,
943 FindChirpTemplate *fcTmplt2,
944 REAL4FrequencySeries *invspec,
945 UINT4 spinBank,
946 REAL8Array *PTFM
947);
948
950 struct coh_PTF_params *params,
951 FindChirpTemplate *fcTmplt1,
952 FindChirpTemplate *fcTmplt2,
953 REAL4FrequencySeries *invspec,
954 UINT4 spinBank,
955 COMPLEX8Array *PTFM
956);
957
959 struct coh_PTF_params *params,
960 FindChirpTemplate *fcTmplt,
961 UINT4 spinBank,
963 COMPLEX8FFTPlan *invBankPlan,
964 COMPLEX8VectorSequence *PTFqVec,
965 COMPLEX8VectorSequence *PTFBankqVec,
966 REAL8 f_min,
967 REAL8 fFinal
968);
969
971 struct coh_PTF_params *params,
972 FindChirpTemplate *fcTmplt,
973 struct bankComplexTemplateOverlaps *autoTempOverlaps,
974 REAL4FrequencySeries *invspec,
975 COMPLEX8FFTPlan *invBankPlan,
976 UINT4 spinBank,
977 UINT4 numAutoPoints,
978 UINT4 timeStepPoints,
979 UINT4 ifoNumber
980);
981
982/* Function declarations in coh_PTF_chi_squared.c*/
983
985 struct coh_PTF_params *params,
986 InspiralTemplate **PTFBankTemplates
987);
988
990 struct coh_PTF_params *params,
991 InspiralTemplate *PTFBankTemplates,
992 FindChirpTemplate *bankFcTmplts,
993 UINT4 subBankSize,
995);
996
999 UINT4 position,
1000 UINT4 subBankSize,
1001 REAL4 Fplus[LAL_NUM_IFO],
1002 REAL4 Fcross[LAL_NUM_IFO],
1003 struct coh_PTF_params *params,
1004 struct bankCohTemplateOverlaps *cohBankOverlaps,
1005 struct bankComplexTemplateOverlaps *bankOverlaps,
1006 struct bankDataOverlaps *dataOverlaps,
1007 struct bankTemplateOverlaps *bankNormOverlaps,
1008 COMPLEX8VectorSequence *PTFqVec[LAL_NUM_IFO+1],
1009 REAL8Array *PTFM[LAL_NUM_IFO+1],
1010 INT4 timeOffsetPoints[LAL_NUM_IFO],
1011 gsl_matrix **Bankeigenvecs,
1012 gsl_vector **Bankeigenvals,
1013 UINT4 detectorNum,
1014 UINT4 vecLength,
1015 UINT4 vecLengthTwo
1016);
1017
1020 UINT4 position,
1021 REAL4 Fplus[LAL_NUM_IFO],
1022 REAL4 Fcross[LAL_NUM_IFO],
1023 struct coh_PTF_params *params,
1024 struct bankCohTemplateOverlaps *cohAutoOverlaps,
1025 struct bankComplexTemplateOverlaps *autoTempOverlaps,
1026 COMPLEX8VectorSequence *PTFqVec[LAL_NUM_IFO+1],
1027 REAL8Array *PTFM[LAL_NUM_IFO+1],
1028 INT4 timeOffsetPoints[LAL_NUM_IFO],
1029 gsl_matrix *Autoeigenvecs,
1030 gsl_vector *Autoeigenvals,
1031 UINT4 detectorNum,
1032 UINT4 vecLength,
1033 UINT4 vecLengthTwo
1034);
1035
1037 struct coh_PTF_params *params,
1038 struct bankTemplateOverlaps *bankNormOverlaps,
1039 FindChirpTemplate *bankFcTmplts,
1040 struct bankComplexTemplateOverlaps *bankOverlaps,
1041 struct bankDataOverlaps *dataOverlaps,
1042 struct bankComplexTemplateOverlaps *autoTempOverlaps
1043);
1044
1046 struct coh_PTF_params *params,
1047 struct bankComplexTemplateOverlaps bankOverlaps,
1048 struct bankCohTemplateOverlaps cohBankOverlaps,
1049 REAL4 Fplus[LAL_NUM_IFO],
1050 REAL4 Fcross[LAL_NUM_IFO],
1051 gsl_matrix *eigenvecs,
1052 gsl_vector *eigenvals,
1053 gsl_matrix *Bankeigenvecs,
1054 gsl_vector *Bankeigenvals,
1055 UINT4 vecLength,
1056 UINT4 vecLengthTwo
1057);
1058
1060 struct coh_PTF_params *params,
1061 FindChirpTemplate *fcTmplt,
1062 REAL4FrequencySeries *invspec[LAL_NUM_IFO+1],
1063 REAL8Array *PTFM[LAL_NUM_IFO+1],
1064 REAL4 Fplus[LAL_NUM_IFO],
1065 REAL4 Fcross[LAL_NUM_IFO],
1066 REAL4 *frequencyRangesPlus,
1067 REAL4 *frequencyRangesCross,
1068 gsl_matrix *eigenvecs,
1069 UINT4 detectorNum,
1070 UINT4 singlePolFlag
1071);
1072
1074 struct coh_PTF_params *params,
1075 FindChirpTemplate *fcTmplt,
1076 REAL4FrequencySeries *invspec[LAL_NUM_IFO+1],
1077 REAL8Array *PTFM[LAL_NUM_IFO+1],
1078 REAL4 Fplus[LAL_NUM_IFO],
1079 REAL4 Fcross[LAL_NUM_IFO],
1080 REAL4 *frequencyRangesPlus,
1081 REAL4 *frequencyRangesCross,
1082 REAL4 *powerBinsPlus,
1083 REAL4 *powerBinsCross,
1084 REAL4 **overlapCont,
1085 gsl_matrix *eigenvecs,
1086 UINT4 detectorNum,
1087 UINT4 singlePolFlag
1088);
1089
1091 struct coh_PTF_params *params,
1092 UINT4 position,
1093 struct bankDataOverlaps *chisqOverlaps,
1094 COMPLEX8VectorSequence *PTFqVec[LAL_NUM_IFO+1],
1095 REAL8Array *PTFM[LAL_NUM_IFO+1],
1096 REAL4 Fplus[LAL_NUM_IFO],
1097 REAL4 Fcross[LAL_NUM_IFO],
1098 INT4 timeOffsetPoints[LAL_NUM_IFO],
1099 gsl_matrix *eigenvecs,
1100 gsl_vector *eigenvals,
1101 REAL4 *powerBinsPlus,
1102 REAL4 *powerBinsCross,
1103 UINT4 detectorNum,
1104 UINT4 vecLength,
1105 UINT4 vecLengthTwo
1106);
1107
1108/* routines in coh_PTF_option */
1109
1111 struct coh_PTF_params *params,
1112 int argc,
1113 char **argv
1114);
1115
1117
1119
1121
1122int coh_PTF_usage( const char *program );
1123
1124/* routines in coh_PTF_output */
1125/* There is some duplication with the ring_output */
1126
1128 int argc,
1129 char **argv,
1130 const char *program
1131);
1132
1134 char *outputFile,
1135 MultiInspiralTable *events,
1136 SnglInspiralTable *snglEvents,
1138 ProcessParamsTable *processParamsTable,
1139 TimeSlide *time_slide_head,
1140 TimeSlideSegmentMapTable *time_slide_map_head,
1141 SegmentTable *segment_table_head,
1142 struct coh_PTF_params *params
1143 );
1144
1146 char *outputFile,
1147 SnglInspiralTable *tmplts,
1148 ProcessParamsTable *processParamsTable,
1149 struct coh_PTF_params *params
1150);
1151
1153 struct coh_PTF_params *params
1154);
1155
1157 struct coh_PTF_params *params
1158);
1159
1161
1163
1165
1167 char *fname,
1168 size_t size,
1169 const char *sname,
1170 int t,
1171 int dt
1172);
1173
1174/* generate array of sky points based on RA, Dec, error radius, and timing
1175 * accuracy */
1176
1178 struct coh_PTF_params *params
1179);
1180
1182 struct coh_PTF_params *params
1183);
1184
1186 REAL4 angularResolution,
1187 REAL4 skyError
1188);
1189
1192 struct coh_PTF_params *params
1193);
1194
1196 const char *fname,
1197 UINT4 raColumn,
1198 UINT4 decColumn
1199);
1200
1203 gsl_vector *axis,
1204 REAL8 angle
1205);
1206
1208 SkyPosition *skyPoint,
1209 gsl_matrix *matrix
1210);
1211
1213 struct coh_PTF_params *params
1214);
1215
1217 struct coh_PTF_params *params
1218);
1219
1220void normalise(
1221 gsl_vector *vec
1222);
1223
1224void cross_product(
1225 gsl_vector *product,
1226 const gsl_vector *u,
1227 const gsl_vector *v
1228);
1229
1230void rotation_matrix(
1231 gsl_matrix *matrix,
1232 gsl_vector *axis,
1233 REAL8 angle
1234);
1235
1236void REALToGSLVector(
1237 const REAL8 *input,
1238 gsl_vector *output,
1239 size_t size
1240);
1241
1243 UINT4 *start,
1244 UINT4 *end,
1245 LIGOTimeGPS *epoch,
1246 struct coh_PTF_params *params
1247);
1248
1250 struct coh_PTF_params *params,
1251 LIGOTimeGPS segStartTime,
1252 LIGOTimeGPS segEndTime);
1253
1255 struct coh_PTF_params *params,
1256 InspiralTemplate *tmplt,
1257 LIGOTimeGPS *epoch
1258);
1259
1261 REAL4TimeSeries** timeSeries,
1262 UINT4 length
1263);
1264
1266 REAL4FrequencySeries** freqSeries,
1267 UINT4 length
1268);
1269
1271 RingDataSegments** segment,
1272 UINT4 length
1273);
1274
1276 REAL8Array** array,
1277 UINT4 length
1278);
1279
1281 COMPLEX8VectorSequence** vecSeq,
1282 UINT4 length
1283);
1284
1286 REAL4** array,
1287 UINT4 length
1288);
1289
1291 UINT4** array,
1292 UINT4 length
1293);
1294
1296 LALDetector** detector,
1297 UINT4 length
1298);
#define LIGOMETA_IFO_MAX
InterferometerNumber
LAL_NUM_IFO
REAL4 fLower
Definition: blindinj.c:127
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)
CohPTFSkyPositions * coh_PTF_read_grid_from_file(const char *fname, UINT4 raColumn, UINT4 decColumn)
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)
SnglInspiralTable * conv_insp_tmpl_to_sngl_table(InspiralTemplate *template, UINT4 eventNumber)
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)
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)
void coh_PTF_set_null_input_REAL4(REAL4 **array, UINT4 length)
REAL4FFTPlan * coh_PTF_get_fft_revplan(struct coh_PTF_params *params)
UINT4 coh_PTF_read_sub_bank(struct coh_PTF_params *params, InspiralTemplate **PTFBankTemplates)
void coh_PTF_calculate_bank_veto_template_filters(struct coh_PTF_params *params, FindChirpTemplate *bankFcTmplts, FindChirpTemplate *fcTmplt, REAL4FrequencySeries **invspec, struct bankComplexTemplateOverlaps *bankOverlaps)
Skyloopingtype
Definition: coh_PTF.h:286
@ ALL_SKY
Definition: coh_PTF.h:290
@ SINGLE_SKY_POINT
Definition: coh_PTF.h:287
@ TWO_DET_ALL_SKY
Definition: coh_PTF.h:291
@ TWO_DET_SKY_PATCH
Definition: coh_PTF.h:288
@ SKY_PATCH
Definition: coh_PTF.h:289
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)
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)
void coh_PTF_rotate_SkyPosition(SkyPosition *skyPoint, gsl_matrix *matrix)
void coh_PTF_convert_time_offsets_to_points(struct coh_PTF_params *params, REAL4 *timeOffsets, INT4 *timeOffsetPoints)
void coh_PTF_rotate_skyPoints(CohPTFSkyPositions *skyPoints, gsl_vector *axis, REAL8 angle)
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)
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)
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)
void normalise(gsl_vector *vec)
UINT4 coh_PTF_trig_time_check(struct coh_PTF_params *params, LIGOTimeGPS segStartTime, LIGOTimeGPS segEndTime)
int write_COMPLEX8FrequencySeries(COMPLEX8FrequencySeries *series)
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)
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)
void coh_PTF_template_PTF(FindChirpTemplate *fcTmplt, InspiralTemplate *InspTmplt, FindChirpTmpltParams *params)
ProcessTable * coh_PTF_create_process_table(struct coh_PTF_params *params)
void coh_PTF_set_null_input_COMPLEX8VectorSequence(COMPLEX8VectorSequence **vecSeq, UINT4 length)
int coh_PTF_get_null_stream(struct coh_PTF_params *params, REAL4TimeSeries *channel[LAL_NUM_IFO+1], REAL4 *Fplus, REAL4 *Fcross, REAL4 *timeOffsets)
void coh_PTF_complex_template_overlaps(struct coh_PTF_params *params, FindChirpTemplate *fcTmplt1, FindChirpTemplate *fcTmplt2, REAL4FrequencySeries *invspec, UINT4 spinBank, COMPLEX8Array *PTFM)
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)
UINT4 coh_PTF_calculate_single_det_spin_snr(struct coh_PTF_params *params, REAL8Array **PTFM, COMPLEX8VectorSequence **PTFqVec, REAL4TimeSeries **snrComps, UINT4 ifoNumber, UINT4 *localAcceptPoints)
void coh_PTF_destroy_time_series(REAL4TimeSeries *cohSNR, REAL4TimeSeries *nullSNR, REAL4TimeSeries *traceSNR, REAL4TimeSeries **bankVeto, REAL4TimeSeries **autoVeto, REAL4TimeSeries **chiSquare, REAL4TimeSeries **pValues, REAL4TimeSeries **gammaBeta, REAL4TimeSeries **snrComps)
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)
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)
REAL4 coh_PTF_get_spin_SNR(REAL4 *v1p, REAL4 *v2p, UINT4 vecLengthTwo)
int coh_PTF_parse_options(struct coh_PTF_params *params, int argc, char **argv)
CohPTFSkyPositions * coh_PTF_two_det_sky_grid(struct coh_PTF_params *params)
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)
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)
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)
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)
UINT4 coh_PTF_accept_trig_check(struct coh_PTF_params *params, MultiInspiralTable **eventList, MultiInspiralTable thisEvent, INT4 timeDiff, UINT4 currTimeDiff, UINT4 currStorageID)
void coh_PTF_set_null_input_RingDataSegments(RingDataSegments **segment, UINT4 length)
void REALToGSLVector(const REAL8 *input, gsl_vector *output, size_t size)
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)
CohPTFSkyPositions * coh_PTF_generate_sky_points(struct coh_PTF_params *params)
CohPTFSkyPositions * coh_PTF_parse_time_delays(CohPTFSkyPositions *skyPoints, struct coh_PTF_params *params)
void coh_PTF_initialize_structures(struct coh_PTF_params *params, FindChirpTemplate **fcTmpltP, FindChirpTmpltParams **fcTmpltParamsP, REAL8Array **PTFM, REAL8Array **PTFN, COMPLEX8VectorSequence **PTFqVec, REAL4FFTPlan *fwdplan)
UINT4 coh_PTF_initialize_auto_veto(struct coh_PTF_params *params, struct bankComplexTemplateOverlaps **autoTempOverlapsP, struct timeval startTime)
RingDataSegments * coh_PTF_get_segments(REAL4TimeSeries *channel, REAL4FrequencySeries *invspec, REAL4FFTPlan *fwdplan, InterferometerNumber NumberIFO, REAL4 *timeSlideVectors, struct coh_PTF_params *params)
void coh_PTF_template(FindChirpTemplate *fcTmplt, InspiralTemplate *InspTmplt, FindChirpTmpltParams *params)
int write_REAL4FrequencySeries(REAL4FrequencySeries *series)
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: coh_PTF_utils.c:4
REAL4FFTPlan * coh_PTF_get_fft_fwdplan(struct coh_PTF_params *params)
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)
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)
void cross_product(gsl_vector *product, const gsl_vector *u, const gsl_vector *v)
int coh_PTF_params_inspiral_sanity_check(struct coh_PTF_params *params)
CohPTFSkyPositions * coh_PTF_generate_sky_grid(struct coh_PTF_params *params)
void coh_PTF_template_overlaps(struct coh_PTF_params *params, FindChirpTemplate *fcTmplt1, FindChirpTemplate *fcTmplt2, REAL4FrequencySeries *invspec, UINT4 spinBank, REAL8Array *PTFM)
UINT4 checkInjectionMchirp(struct coh_PTF_params *params, InspiralTemplate *tmplt, LIGOTimeGPS *epoch)
void coh_PTF_cluster_triggers(struct coh_PTF_params *params, MultiInspiralTable **eventList, MultiInspiralTable **newEventHead, UINT4 numSlides, INT4 timeDiff)
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)
void timeval_print(struct timeval *tv)
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)
#define MAXIFO
Definition: coh_PTF.h:82
ProcessParamsTable * create_process_params(int argc, char **argv, const char *program)
void coh_PTF_set_null_input_REAL8Array(REAL8Array **array, UINT4 length)
void coh_PTF_calculate_det_stuff(struct coh_PTF_params *params, LALDetector **detectors, REAL4 *timeOffsets, REAL4 *Fplustrig, REAL4 *Fcrosstrig, CohPTFSkyPositions *skyPoints, UINT4 skyPointNum)
int generate_file_name(char *fname, size_t size, const char *sname, int t, int dt)
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)
int coh_PTF_output_tmpltbank(char *outputFile, SnglInspiralTable *tmplts, ProcessParamsTable *processParamsTable, struct coh_PTF_params *params)
void coh_PTF_initialise_sub_bank(struct coh_PTF_params *params, InspiralTemplate *PTFBankTemplates, FindChirpTemplate *bankFcTmplts, UINT4 subBankSize, UINT4 numPoints)
int vrbflg
defined in lal/lib/std/LALError.c
SearchSummaryTable * coh_PTF_create_search_summary(struct coh_PTF_params *params)
UINT4 coh_PTF_accept_sngl_trig_check(struct coh_PTF_params *params, SnglInspiralTable **eventList, SnglInspiralTable thisEvent)
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)
CohPTFSkyPositions * coh_PTF_three_det_sky_grid(struct coh_PTF_params *params)
@ write_ascii
Definition: coh_PTF.h:105
@ write_frame
Definition: coh_PTF.h:105
void rotation_matrix(gsl_matrix *matrix, gsl_vector *axis, REAL8 angle)
REAL4FFTPlan * coh_PTF_get_fft_psdplan(struct coh_PTF_params *params)
int coh_PTF_default_params(struct coh_PTF_params *params)
void coh_PTF_rescale_data(REAL4TimeSeries *channel, REAL8 rescaleFactor)
void coh_PTF_calculate_auto_veto_template_filters(struct coh_PTF_params *params, FindChirpTemplate *fcTmplt, struct bankComplexTemplateOverlaps *autoTempOverlaps, REAL4FrequencySeries **invspec, COMPLEX8FFTPlan *invplan, UINT4 timeStepPoints)
void coh_PTF_set_null_input_UINT4(UINT4 **array, UINT4 length)
REAL4TimeSeries * coh_PTF_get_data(struct coh_PTF_params *params, const char *ifoChannel, const char *dataCache, UINT4 ifoNumber)
Definition: coh_PTF_utils.c:86
void coh_PTF_set_null_input_REAL4FrequencySeries(REAL4FrequencySeries **freqSeries, UINT4 length)
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)
void coh_PTF_cluster_sngl_triggers(struct coh_PTF_params *params, SnglInspiralTable **eventList, SnglInspiralTable **thisEvent)
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)
void coh_PTF_calculate_null_stream_norms(UINT4 vecLength, gsl_matrix *eigenvecsNull, gsl_vector *eigenvalsNull, REAL8Array *PTFM[LAL_NUM_IFO+1])
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)
COMPLEX8FFTPlan * coh_PTF_get_fft_invplan(struct coh_PTF_params *params)
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)
int write_REAL4TimeSeries(REAL4TimeSeries *series)
void findInjectionSegment(UINT4 *start, UINT4 *end, LIGOTimeGPS *epoch, struct coh_PTF_params *params)
void coh_PTF_set_null_input_LALDetector(LALDetector **detector, UINT4 length)
long int timeval_subtract(struct timeval *t1)
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)
CohPTFSkyPositions * coh_PTF_circular_grid(REAL4 angularResolution, REAL4 skyError)
REAL4FrequencySeries * coh_PTF_get_invspec(REAL4TimeSeries *channel, REAL4FFTPlan *fwdplan, REAL4FFTPlan *revplan, REAL4FFTPlan *psdplan, struct coh_PTF_params *params)
int coh_PTF_usage(const char *program)
int coh_PTF_params_sanity_check(struct coh_PTF_params *params)
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)
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)
int is_in_list(int i, const char *list)
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)
void coh_PTF_set_null_input_REAL4TimeSeries(REAL4TimeSeries **timeSeries, UINT4 length)
UINT4 coh_PTF_test_veto_vals(struct coh_PTF_params *params, REAL4TimeSeries *cohSNR, REAL4TimeSeries *nullSNR, REAL4TimeSeries **bankVeto, REAL4TimeSeries **autoVeto, UINT4 currPointLoc)
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)
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)
uint64_t UINT8
double REAL8
int64_t INT8
uint32_t UINT4
int32_t INT4
float REAL4
Approximant
LALPNOrder
SimInspiralTable * injections
Definition: inspfrinj.c:339
int i
Definition: inspinj.c:596
struct @3 * skyPoints
CHAR fname[256]
Definition: spininj.c:211
SkyPosition * data
Definition: coh_PTF.h:270
This structure contains a frequency domain template used as input to the FindChirpFilter() routine.
This structure contains the parameters for generation of templates by the various template generation...
COMPLEX8FrequencySeries * sgmnt
Definition: coh_PTF.h:263
UINT4 numSgmnt
Definition: coh_PTF.h:262
UINT4 analStartPoint
Definition: coh_PTF.h:278
gsl_matrix * rotReOverlaps
Definition: coh_PTF.h:256
gsl_matrix * rotImOverlaps
Definition: coh_PTF.h:257
COMPLEX8Array * PTFM[LAL_NUM_IFO]
Definition: coh_PTF.h:247
COMPLEX8VectorSequence * PTFqVec[LAL_NUM_IFO+1]
Definition: coh_PTF.h:252
REAL8Array * PTFM[LAL_NUM_IFO+1]
Definition: coh_PTF.h:243
UINT4 numAnalPointsBuf
Definition: coh_PTF.h:145
LIGOTimeGPS startTime
Definition: coh_PTF.h:118
REAL8 segmentDuration
Definition: coh_PTF.h:131
REAL4 autoVeton
Definition: coh_PTF.h:180
char * cvsRevision
Definition: coh_PTF.h:111
REAL4 maxTempLength
Definition: coh_PTF.h:147
REAL4 clusterWindow
Definition: coh_PTF.h:199
REAL4 threshold
Definition: coh_PTF.h:158
int doBankVeto
Definition: coh_PTF.h:217
int singlePolFlag
Definition: coh_PTF.h:221
char userTag[256]
Definition: coh_PTF.h:192
REAL4 nullStatGradient
Definition: coh_PTF.h:184
REAL4 snglSNRThreshold
Definition: coh_PTF.h:160
int analSegmentEnd
Definition: coh_PTF.h:227
UINT4 numChiSquareBins
Definition: coh_PTF.h:185
UINT4 numIFO
Definition: coh_PTF.h:115
UINT4 skyLooping
Definition: coh_PTF.h:169
int faceOnAnalysis
Definition: coh_PTF.h:223
int ligoDoubleData
Definition: coh_PTF.h:205
int storeAmpParams
Definition: coh_PTF.h:226
int doNullStream
Definition: coh_PTF.h:215
int writeSegment
Definition: coh_PTF.h:234
REAL4 bankVetoq
Definition: coh_PTF.h:179
REAL8 analStartTime
Definition: coh_PTF.h:139
int virgoDoubleData
Definition: coh_PTF.h:206
REAL4 chiSquareCalcThreshold
Definition: coh_PTF.h:186
int dynTempLength
Definition: coh_PTF.h:225
const char * skyPositionsFile
Definition: coh_PTF.h:168
UINT4 analEndPointBuf
Definition: coh_PTF.h:143
UINT4 slideSegments[LAL_NUM_IFO+1]
Definition: coh_PTF.h:194
const char * segmentsToDoList
Definition: coh_PTF.h:171
REAL4 autoVetoTimeStep
Definition: coh_PTF.h:177
REAL8 sampleRate
Definition: coh_PTF.h:129
REAL4 spinSNR2threshold
Definition: coh_PTF.h:162
int doTraceSNR
Definition: coh_PTF.h:216
const char * dataCache[LAL_NUM_IFO]
Definition: coh_PTF.h:127
UINT4 simDataType
Definition: coh_PTF.h:198
const char * bankVetoBankName
Definition: coh_PTF.h:175
int writeProcessedData
Definition: coh_PTF.h:232
UINT4 numAutoPoints
Definition: coh_PTF.h:176
char * cvsSource
Definition: coh_PTF.h:112
UINT4 numFreqPoints
Definition: coh_PTF.h:137
UINT4 numBufferPoints
Definition: coh_PTF.h:146
REAL8 psdStrideDuration
Definition: coh_PTF.h:134
UINT4 numAnalPoints
Definition: coh_PTF.h:144
UINT4 analEndPoint
Definition: coh_PTF.h:140
LIGOTimeGPS trigTime
Definition: coh_PTF.h:120
REAL4 autoVetoq
Definition: coh_PTF.h:181
REAL4 injMchirpWindow
Definition: coh_PTF.h:202
int faceOnStatistic
Definition: coh_PTF.h:237
REAL4 declination
Definition: coh_PTF.h:165
int getSpectrum
Definition: coh_PTF.h:211
int doShortSlides
Definition: coh_PTF.h:228
UINT4 spinBank
Definition: coh_PTF.h:188
REAL4 invSpecLen
Definition: coh_PTF.h:157
INT8 trigEndTimeNS
Definition: coh_PTF.h:122
REAL8 psdSegmentDuration
Definition: coh_PTF.h:132
REAL8 truncateDuration
Definition: coh_PTF.h:135
UINT4 analStartPointBuf
Definition: coh_PTF.h:142
REAL4 spinThreshold
Definition: coh_PTF.h:159
char noSpinBankName[256]
Definition: coh_PTF.h:191
char spinBankName[256]
Definition: coh_PTF.h:189
int doSnglChiSquared
Definition: coh_PTF.h:220
char * programName
Definition: coh_PTF.h:110
REAL4 lowFilterFrequency
Definition: coh_PTF.h:150
UINT4 numOverlapSegments
Definition: coh_PTF.h:148
LIGOTimeGPS jobStartTime
Definition: coh_PTF.h:236
char * cvsDate
Definition: coh_PTF.h:113
REAL4 shortSlideOffset
Definition: coh_PTF.h:195
REAL4 skyError
Definition: coh_PTF.h:166
int clusterFlag
Definition: coh_PTF.h:222
INT8 trigStartTimeNS
Definition: coh_PTF.h:121
const char * bankFile
Definition: coh_PTF.h:170
SimInspiralTable * injectList
Definition: coh_PTF.h:200
int writeInvSpectrum
Definition: coh_PTF.h:233
REAL4 timeWindow
Definition: coh_PTF.h:161
const char * injectFile
Definition: coh_PTF.h:128
char ifoName[MAXIFO][LIGOMETA_IFO_MAX]
Definition: coh_PTF.h:114
Approximant approximant
Definition: coh_PTF.h:155
REAL8 padData
Definition: coh_PTF.h:130
UINT4 fftLevel
Definition: coh_PTF.h:197
const char * channel[LAL_NUM_IFO]
Definition: coh_PTF.h:126
char ifoTag[256]
Definition: coh_PTF.h:193
int faceAwayAnalysis
Definition: coh_PTF.h:224
int writeSnglInspiralTable
Definition: coh_PTF.h:229
REAL4 lowTemplateFrequency
Definition: coh_PTF.h:149
REAL8 frameDataDuration
Definition: coh_PTF.h:124
int strainData
Definition: coh_PTF.h:204
REAL4 bankVeton
Definition: coh_PTF.h:178
REAL8 strideDuration
Definition: coh_PTF.h:133
UINT4 BVsubBankSize
Definition: coh_PTF.h:174
LALPNOrder order
Definition: coh_PTF.h:156
int doAutoVeto
Definition: coh_PTF.h:218
REAL4 rightAscension
Definition: coh_PTF.h:164
LIGOTimeGPS endTime
Definition: coh_PTF.h:119
UINT4 numShortSlides
Definition: coh_PTF.h:196
REAL4 injSearchWindow
Definition: coh_PTF.h:201
const char * templatesToDoList
Definition: coh_PTF.h:172
REAL4 highpassFrequency
Definition: coh_PTF.h:152
REAL4 nonspinSNR2threshold
Definition: coh_PTF.h:163
REAL4 nullStatThreshold
Definition: coh_PTF.h:182
char outputFile[256]
Definition: coh_PTF.h:187
REAL4 nullStatGradOn
Definition: coh_PTF.h:183
INT4 haveTrig[LAL_NUM_IFO]
Definition: coh_PTF.h:117
REAL8 duration
Definition: coh_PTF.h:125
REAL8 dynRangeFac
Definition: coh_PTF.h:153
int writeRawData
Definition: coh_PTF.h:231
int whiteSpectrum
Definition: coh_PTF.h:209
int doChiSquare
Definition: coh_PTF.h:219
REAL4 highFilterFrequency
Definition: coh_PTF.h:151
UINT4 numTimePoints
Definition: coh_PTF.h:136
UINT4 numEvents
Definition: coh_PTF.h:173
UINT4 noSpinBank
Definition: coh_PTF.h:190
LIGOTimeGPS frameDataStartTime
Definition: coh_PTF.h:123
REAL4 timingAccuracy
Definition: coh_PTF.h:167
int analyzeInjSegsOnly
Definition: coh_PTF.h:214
int writeFilterOutput
Definition: coh_PTF.h:235
REAL8 analEndTime
Definition: coh_PTF.h:141
REAL8 tempCorrFac
Definition: coh_PTF.h:154
INT4 randomSeed
Definition: coh_PTF.h:116
UINT4 analStartPoint
Definition: coh_PTF.h:138
Definition: series.h:36
INT4 numSegments
Definition: tmpltbank.c:400
INT4 numPoints
Definition: tmpltbank.c:399
int output(const char *outfile, int outtype, REAL4TimeSeries *series)
Definition: view.c:603