1. 09 Apr, 2015 16 commits
    • Karl Wette's avatar
      ComputeFstatBenchmark: add developer option --reuseInput · 6762f25a
      Karl Wette authored
      - Only useful for checking workspace management
      - Refs #2001
      Original: ba1d8fee6139dd855a45759cbeedce8470629ece
      6762f25a
    • Karl Wette's avatar
      ComputeFstat: implement reference counting for common workspace · aa849106
      Karl Wette authored
      - Gives user flexibility to free FstatInput in any order without
        problems; workspace is freed only once it's no longer needed
      - First FstatInput allocates memory for workspace and reference
        counter; subsequent FstatInput store pointers to workspace and
        reference counter, which is incremented
      - When destroyed, each FstatInput decrements reference counter;
        once it reaches 0, workspace and reference count memory are freed
      - Refs #2001
      Original: 503044dd82f5975b0cd5c6449f02d4658b561709
      aa849106
    • Karl Wette's avatar
      ComputeFstat: rename '..._dtor' variables to '..._destroy_func' · 2bf18563
      Karl Wette authored
      - More descriptive names
      - Refs #2001
      Original: 4262e8cafe44a0979d4289178f0e42ea3c40f828
      2bf18563
    • Karl Wette's avatar
      ComputeFstat: fully implement runtime selection of Demod hotloops · 5f90c91a
      Karl Wette authored
      - Added LALSUITE_CHECK_SIMD and (new) LALPULSAR_CHECK_ALTIVEC to LALPulsar
        configure.ac to check for SSE and Altivec support
      - Each Demod hotloop compiled separately as ComputeFstat_DemodHL_<name>.c,
        uses ComputeFstat_Demod_ComputeFaFb.c and ComputeFstat_DemodHL_<name>.i
      - XLALSetupFstatDemod() saves a function pointed to selected Demod hotloop
        based on which are available at compile time. XLALFstatMethodIsAvailable()
        already handles which methods are available at runtime
      - XLALComputeFstatDemod() calls function pointer to execute Demod hotloop
      - Refs #2001
      Original: 2eb69e677277e79b7780c059883e48539ae852db
      5f90c91a
    • Karl Wette's avatar
      ComputeFstat: modify Fstat method handling for runtime selection · c4f6479c
      Karl Wette authored
      - FMETHOD_{DEMOD|RESAMP}_BEST are now ordinary enum constants,
        which XLALCreateFstatInput() will replace with best available
        runtime method when called
      - XLALFstatMethodIsAvailable() decides which methods are available
        at runtime, rather than querying a compile-time list
      - Modify XLALFstatMethodHelpString() to still print same help string
      - Remove XLALFstatMethodClassIs...() macros, no longer needed apart
        from hack in ComputeFstatistic_v2.c
      - Refs #2001
      Original: 5fee3846a5e93073cdc23d2747d0e144a32621a6
      c4f6479c
    • Karl Wette's avatar
      ComputeFstat: compile ComputeFstat_{Demod,Resamp}.c separately · 1f2731ba
      Karl Wette authored
      - Share definitions where required via ComputeFstat_internal.h
      - Refs #2001
      Original: 818975ac0fb1de6549f636c44feee34f96375d5f
      1f2731ba
    • Karl Wette's avatar
      ComputeFstat: better encapsulate F-stat methods using function pointers · af43a8a8
      Karl Wette authored
      - Switch at beginning of XLALCreateFstatInput() selects setup function
        pointer and number of extra SFT bins for a given method; this should
        be (pretty much) the only point where method-specific stuff happens
      - Runtime checks on Dterms moved here from Demod ComputeFaFb() functions
      - Setup function initialises 'input.method_funcs' with pointer to
        compute function and various destructor functions, used elsewhere
      - Setup function allocates method data, returned in input.method_data;
        XLALCreateFstatInput() does't need to know size of method data struct
      - Simplify names of some functions and structs
      - Refs #2001
      Original: 5f16c8396b0dc495bacb3ae622ff2083d4040d77
      af43a8a8
    • Karl Wette's avatar
      ComputeFstat_Resamp: cleaner encapsulation of timing info output · 5db670e8
      Karl Wette authored
      - XLALGetResampTimingInfo() replaced by global variables Resamp_tauF1Buf
        and Resamp_tauF1NoBuf, updated at end of ComputeFstat_Resamp()
      - XLALAppendResampInfo2File() now fully internal, called at end of
        ComputeFstat_Resamp() with file pointer from FstatOptionalArgs
      - Refs #2001
      Original: e430dd3e8ae740eebc53cad5ab5a87372f1ed959
      5db670e8
    • Karl Wette's avatar
      ComputeFstat: better encapsulate shared workspace handling · 65679b16
      Karl Wette authored
      - Move workspace into common Fstat data
      - Move workspace ownership logic into XLALCreateFstatInput()
      - Methods that use a workspace must supply a destructor function
      - User now just needs to pass a previous FstatInput to optionalArgs;
        the FstatInput that allocated the workspace also destroys it
      - Refs #2001
      Original: 4168a79a1fcff721685f948f3b41a9a80fda801e
      65679b16
    • Karl Wette's avatar
      ComputeFstat: change XLALGetFstatMethodName(FstatMethodType) to... · 16fa6a84
      Karl Wette authored
      ComputeFstat: change XLALGetFstatMethodName(FstatMethodType) to XLALGetFstatInputMethodName(const FstatInput*)
      - Since F-statistic method might now be selected at runtime, cannot know for
        sure which method is in use until XLALCreateFstatInput() has been called
      - Best therefore to query the FstatInput* for which method is being used
      - Refs #2001
      Original: f405ec2758fc7f932bd4af62cbe3c03db02b8a30
      16fa6a84
    • Karl Wette's avatar
      ComputeFstat: make FstatInput::common a struct member instead of a pointer · 76f4e1e5
      Karl Wette authored
      - No need for it to be dynamically allocated
      - Refs #2001
      Original: d39f964deb122a1a20f4a08a9db875a10185d7c8
      76f4e1e5
    • Karl Wette's avatar
      ComputeFstat.c: temporarily disable SSE and Altivec Demod hotloops · 21f69438
      Karl Wette authored
      - Not currently supported by build system since refs #1950 was pushed
      - Refs #2001
      Original: 896ca83483bfb533b3291e8caa2929341ef1dadd
      21f69438
    • Karl Wette's avatar
      ComputeFstat*.[chi]: cleanup and simplify copyright notices · 803a53d7
      Karl Wette authored
      - Use date--ranges, coalesce multiple entries for an author into one line
      - Add copyright notice for ComputeFstat_Demod_ComputeFaFb.c, copied from
        ComputeFstat_Demod.c
      Original: 9f6ecc2429b6dc96a8e88364597a06dd41903b42
      803a53d7
    • Karl Wette's avatar
      ComputeFstat_DemodHL_Altivec.i: minor bracket cleanup · e3963513
      Karl Wette authored
      Original: f11583b838a06838ba2f063ed5dd8483c7330e2a
      e3963513
    • Karl Wette's avatar
      ComputeFstat.[ch]: minor documentation and comment cleanups · 0490f5de
      Karl Wette authored
      Original: 818f4c0506075b59ea29b0149ca7b3a90f63d085
      0490f5de
    • Karl Wette's avatar
      ComputeFstat.c: whitespace cleanup · 121625e9
      Karl Wette authored
      Original: af0ce524c0c43f42dd83c546e495a45f60aea93a
      121625e9
  2. 08 Apr, 2015 8 commits
  3. 06 Apr, 2015 2 commits
  4. 05 Apr, 2015 3 commits
    • Evan Goetz's avatar
      Fix fabsf in TwoSpecSpecFunc · ebdad711
      Evan Goetz authored
      Original: 2cda1e2539dc2ffe9d0f44187e60da4955f84437
      ebdad711
    • Evan Goetz's avatar
      Fix automake file for TwoSpect · 6210fd52
      Evan Goetz authored
      Original: 74c550632e69b3e493d58fc8aa8635aa095bc3ce
      6210fd52
    • Evan Goetz's avatar
      Patch updating TwoSpect for template based search, coherent SFT analysis,... · 1802f912
      Evan Goetz authored
      Patch updating TwoSpect for template based search, coherent SFT analysis, speed improvements, other minor modifications
        - Fixes #1759
        Added computeSignalDetector program to test detector-signal relationship for coherent analysis
        Fixed some coherent SFT additions
        Fixed a few minor bugs in scripts
        Moved FAR and FAP functions to separate source file
        Moved SFT functions to separate source file
        Rename fastchisqinv to TwoSpectSpecFunc
        CDF functions now in cdfdist
        Rename templateStruct to TwoSpectTemplate
        New TwoSpectParamSpaceSearchVals struct to hold the range of parameter space values
        Generic template generation for pixel locations indexed from the non-Doppler-modulated frequency bin
        Fully embrace the UserInput_t struct and get rid of inputParamsStruct
        Change user input Tcoh to Tsft
        Need to pass detectors/rng to functions since we use the UserInput_t struct
        Added TwoSpectTemplateBank program to save a vector of templates to a file
        User can pass tempalate bank file after saving a vector from the TwoSpectTemplateBank program
        Alpha/Delta sky locations removed from some functions in favor of SkyPosition struct
        Added skyposTest to test scripts
        Truncate calculations of Gaussian template weights where the weight will be zero
        Move loop counters to be defined in loop
        Added template speed calculation program to test improvements. This could also be leveraged for unit tests in the future
        New mem alignment of REAL4Vector from VectorMath
        VectorMath exp and sin/cos functions
        Alignment for REAL8Vector and  alignedREAL4VectorArray
        Fix up getMultiTimestampsFromSegmentsFile
        Improve speed of Davies algorithm
        Add coherentSFT test features
        testVectorMath update
        Update doxygen details
        Coherent SFT sum only includes sensitive detectors
        Fix start time issues by automatically shifting t0 and printing warning
        Change user options from useSSE and useAVX booleans to vectorMath integer argument
        Improve speed of coherent SFT addition function
        Fixes number of SFTs loaded into catalog and possible divide by zero in coherent analysis when first detector is badly oriented to source
        Add templateVectorIndex ID for use when doing template bank searches
        Remove old KSKtests code
        Implement these alignedREAL4VectorArray in IHS functions to speed up computations
        Remove unused vectormath functions
        Remove unused statistics functions
        Function to avoid zeros in denominator of Dirichlet kernel ratio
        Added some additional vector math functions
        For any of the coherent SFT additions, don't add other detectors that are less sensitive
      Original: 902af6deffe7ef735609aa8e2778a09666f0c9aa
      1802f912
  5. 04 Apr, 2015 3 commits
  6. 03 Apr, 2015 6 commits
  7. 02 Apr, 2015 2 commits