Skip to content
  • David Keitel's avatar
    HierarchSearchGCT: fix bug with --outputFX when not all segments have data for all detectors · c3b731c6
    David Keitel authored
    Combination of 7 commits, original commit messages as follows:
    Made error messages in XLALComputeFstatFromAtoms more explicit
    HierarchSearchGCT: for outputFX option, fix case of segments where not all detectors have data
    -changes in XLALComputeExtraStatsSemiCoherent to skip these segments for concerned detectors
    -new XLALGetNumDetectors to make sure maximum detector number is found
    -somewhat dirty fix right now, L1 and H1 hardcoded as detector IDs
    -test script now has some L1 data missing to check these changes
    Fix test script, simplify code for segment/detector fix
    -testGCTLV.sh: use global ephemeris files
    -LineVeto.c, XLALComputeExtraStatsSemiCoherent: removed unnecessary check, temp variable instead of array for numDetectors per segment, simplified a loop
    -LineVeto.c, XLALGetNumDetectors: removed double const qualifier
    HierarchSearchGCT with --outputFX: more flexible detector name handling
    -new data type NameVector with XLALCreateNameVector and XLALDestroyNameVector
    -new function XLALGetDetectorIDs that reads in detector names from multiSFTVector
    -changes in XLALComputeExtraStatsSemiCoherent to use this
    HierarchSearchGCT with --outputFX: allow for arbitrary detector names and numbers
    -get all detectors from SFTs
    -changed data type NameVector to NameList with .elems <= .length
    -XLALGetDetectorIDs now also gets total numDetectors
    -corresponding changes in XLALComputeExtraStatsSemiCoherent
    -test script now has L1 in first segment, H1 in last, both in others
    further changes in detector name handling
    -now get IDs only once outside toplist candidate loop
    -therefore moved from XLALComputeExtraStatsSemiCoherent to XLALComputeExtraStatsForToplist
    -some smaller simplifications
    GCT Line Veto - make ready for patch
    -LineVeto.c: removed debug printf statements
    -LineVeto.h: removed obsolete prototype
    -testGCTLV.sh: add timing, simplify H1/L1 treatment, reset nCand etc.
    Original: 64f228736b657b4eebd11a5eca40919b4c338d9e
    c3b731c6