lalsuite 7.26.2.dev20251206__cp312-cp312-manylinux_2_28_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lal/__init__.py +145 -0
- lal/_lal.cpython-312-x86_64-linux-gnu.so +0 -0
- lal/_lal_swig.py +12 -0
- lal/antenna.py +1200 -0
- lal/git_version.py +64 -0
- lal/gpstime.py +233 -0
- lal/iterutils.py +408 -0
- lal/pipeline.py +3139 -0
- lal/rate.py +2455 -0
- lal/series.py +244 -0
- lal/utils/__init__.py +29 -0
- lal/utils/cache.py +379 -0
- lal/utils/series.py +277 -0
- lalapps/__init__.py +26 -0
- lalapps/bin/lal_cache +0 -0
- lalapps/bin/lal_fftw_wisdom +0 -0
- lalapps/bin/lal_fftwf_wisdom +0 -0
- lalapps/bin/lal_simd_detect +0 -0
- lalapps/bin/lal_tconvert +0 -0
- lalapps/bin/lal_version +0 -0
- lalapps/bin/lalapps_ComputeAntennaPattern +16 -0
- lalapps/bin/lalapps_ComputeFstatBenchmark +16 -0
- lalapps/bin/lalapps_ComputeFstatLatticeCount +16 -0
- lalapps/bin/lalapps_ComputeFstatMCUpperLimit +16 -0
- lalapps/bin/lalapps_ComputeFstatistic_v2 +16 -0
- lalapps/bin/lalapps_ComputePSD +16 -0
- lalapps/bin/lalapps_CopySFTs +16 -0
- lalapps/bin/lalapps_DistanceVsMass +0 -0
- lalapps/bin/lalapps_DriveHoughMulti +16 -0
- lalapps/bin/lalapps_FstatMetric_v2 +16 -0
- lalapps/bin/lalapps_HierarchSearchGCT +16 -0
- lalapps/bin/lalapps_HierarchicalSearch +16 -0
- lalapps/bin/lalapps_MakeSFTDAG +16 -0
- lalapps/bin/lalapps_MakeSFTs +16 -0
- lalapps/bin/lalapps_Makefakedata_v4 +16 -0
- lalapps/bin/lalapps_Makefakedata_v5 +16 -0
- lalapps/bin/lalapps_PredictFstat +16 -0
- lalapps/bin/lalapps_PrintDetectorState +16 -0
- lalapps/bin/lalapps_SFTclean +16 -0
- lalapps/bin/lalapps_SFTvalidate +16 -0
- lalapps/bin/lalapps_StringAddFrame +0 -0
- lalapps/bin/lalapps_StringSearch +0 -0
- lalapps/bin/lalapps_Weave +16 -0
- lalapps/bin/lalapps_WeaveCompare +16 -0
- lalapps/bin/lalapps_WeaveConcat +16 -0
- lalapps/bin/lalapps_WeaveSetup +16 -0
- lalapps/bin/lalapps_WriteSFTsfromSFDBs +16 -0
- lalapps/bin/lalapps_animate +0 -0
- lalapps/bin/lalapps_binj +0 -0
- lalapps/bin/lalapps_blindinj +0 -0
- lalapps/bin/lalapps_cache +16 -0
- lalapps/bin/lalapps_calfacs +0 -0
- lalapps/bin/lalapps_cbc_stochasticbank +0 -0
- lalapps/bin/lalapps_chirplen +0 -0
- lalapps/bin/lalapps_coh_PTF_inspiral +0 -0
- lalapps/bin/lalapps_coinj +0 -0
- lalapps/bin/lalapps_combine_crosscorr_toplists +16 -0
- lalapps/bin/lalapps_compareFstats +16 -0
- lalapps/bin/lalapps_compareSFTs +16 -0
- lalapps/bin/lalapps_create_time_correction_ephemeris +16 -0
- lalapps/bin/lalapps_dumpSFT +16 -0
- lalapps/bin/lalapps_effdist +0 -0
- lalapps/bin/lalapps_exc_resp +0 -0
- lalapps/bin/lalapps_fftw_wisdom +16 -0
- lalapps/bin/lalapps_fftwf_wisdom +16 -0
- lalapps/bin/lalapps_fits_header_getval +16 -0
- lalapps/bin/lalapps_fits_header_list +16 -0
- lalapps/bin/lalapps_fits_overview +16 -0
- lalapps/bin/lalapps_fits_table_list +16 -0
- lalapps/bin/lalapps_fr_ninja +0 -0
- lalapps/bin/lalapps_frextr +0 -0
- lalapps/bin/lalapps_frinfo +0 -0
- lalapps/bin/lalapps_frjoin +0 -0
- lalapps/bin/lalapps_frread +0 -0
- lalapps/bin/lalapps_frview +0 -0
- lalapps/bin/lalapps_gwf2xml +0 -0
- lalapps/bin/lalapps_heterodyne_pulsar +16 -0
- lalapps/bin/lalapps_inspawgfile +0 -0
- lalapps/bin/lalapps_inspfrinj +0 -0
- lalapps/bin/lalapps_inspinj +0 -0
- lalapps/bin/lalapps_inspiralDistance +0 -0
- lalapps/bin/lalapps_knope +16 -0
- lalapps/bin/lalapps_knope_automation_script +16 -0
- lalapps/bin/lalapps_knope_collate_results +16 -0
- lalapps/bin/lalapps_knope_result_page +16 -0
- lalapps/bin/lalapps_makeblindinj +85 -0
- lalapps/bin/lalapps_makeblindinj_himass +67 -0
- lalapps/bin/lalapps_ninja +0 -0
- lalapps/bin/lalapps_path2cache +16 -0
- lalapps/bin/lalapps_power +0 -0
- lalapps/bin/lalapps_pulsar_crosscorr_v2 +16 -0
- lalapps/bin/lalapps_pulsar_frequency_evolution +16 -0
- lalapps/bin/lalapps_pulsar_parameter_estimation_nested +16 -0
- lalapps/bin/lalapps_random_bank +0 -0
- lalapps/bin/lalapps_randombank +0 -0
- lalapps/bin/lalapps_run_pulsar_crosscorr_v2 +16 -0
- lalapps/bin/lalapps_searchsum2cache +16 -0
- lalapps/bin/lalapps_spec_avg +16 -0
- lalapps/bin/lalapps_spec_avg_long +16 -0
- lalapps/bin/lalapps_spec_coherence +16 -0
- lalapps/bin/lalapps_spininj +0 -0
- lalapps/bin/lalapps_splitSFTs +16 -0
- lalapps/bin/lalapps_splitbank +0 -0
- lalapps/bin/lalapps_ssbtodetector +16 -0
- lalapps/bin/lalapps_synthesizeBstatMC +16 -0
- lalapps/bin/lalapps_synthesizeLVStats +16 -0
- lalapps/bin/lalapps_synthesizeTransientStats +16 -0
- lalapps/bin/lalapps_tconvert +16 -0
- lalapps/bin/lalapps_tmpltbank +0 -0
- lalapps/bin/lalapps_version +0 -0
- lalapps/bin/lalapps_xtefitstoframe +0 -0
- lalapps/bin/lalburst_version +0 -0
- lalapps/bin/lalfr-cat +0 -0
- lalapps/bin/lalfr-cksum +0 -0
- lalapps/bin/lalfr-cut +0 -0
- lalapps/bin/lalfr-dump +0 -0
- lalapps/bin/lalfr-fmt +0 -0
- lalapps/bin/lalfr-paste +0 -0
- lalapps/bin/lalfr-print +0 -0
- lalapps/bin/lalfr-split +0 -0
- lalapps/bin/lalfr-stat +0 -0
- lalapps/bin/lalfr-stream +0 -0
- lalapps/bin/lalfr-vis +0 -0
- lalapps/bin/lalframe_version +0 -0
- lalapps/bin/lalinference_bench +0 -0
- lalapps/bin/lalinference_burst +0 -0
- lalapps/bin/lalinference_datadump +0 -0
- lalapps/bin/lalinference_injectedlike +0 -0
- lalapps/bin/lalinference_mpi_wrapper +59 -0
- lalapps/bin/lalinference_nest +0 -0
- lalapps/bin/lalinference_version +0 -0
- lalapps/bin/lalinspiral_version +0 -0
- lalapps/bin/lalmetaio_version +0 -0
- lalapps/bin/lalpulsar_ComputeAntennaPattern +0 -0
- lalapps/bin/lalpulsar_ComputeFstatBenchmark +0 -0
- lalapps/bin/lalpulsar_ComputeFstatLatticeCount +0 -0
- lalapps/bin/lalpulsar_ComputeFstatMCUpperLimit +0 -0
- lalapps/bin/lalpulsar_ComputeFstatistic_v2 +0 -0
- lalapps/bin/lalpulsar_ComputePSD +0 -0
- lalapps/bin/lalpulsar_DriveHoughMulti +0 -0
- lalapps/bin/lalpulsar_FstatMetric_v2 +0 -0
- lalapps/bin/lalpulsar_HierarchSearchGCT +0 -0
- lalapps/bin/lalpulsar_HierarchicalSearch +0 -0
- lalapps/bin/lalpulsar_MakeSFTs +0 -0
- lalapps/bin/lalpulsar_Makefakedata_v4 +0 -0
- lalapps/bin/lalpulsar_Makefakedata_v5 +0 -0
- lalapps/bin/lalpulsar_PredictFstat +0 -0
- lalapps/bin/lalpulsar_PrintDetectorState +0 -0
- lalapps/bin/lalpulsar_SFTclean +0 -0
- lalapps/bin/lalpulsar_SFTvalidate +0 -0
- lalapps/bin/lalpulsar_Weave +0 -0
- lalapps/bin/lalpulsar_WeaveCompare +0 -0
- lalapps/bin/lalpulsar_WeaveConcat +0 -0
- lalapps/bin/lalpulsar_WeaveSetup +0 -0
- lalapps/bin/lalpulsar_WriteSFTsfromSFDBs +0 -0
- lalapps/bin/lalpulsar_compareFstats +0 -0
- lalapps/bin/lalpulsar_compareSFTs +0 -0
- lalapps/bin/lalpulsar_create_time_correction_ephemeris +0 -0
- lalapps/bin/lalpulsar_crosscorr_v2 +0 -0
- lalapps/bin/lalpulsar_dumpSFT +0 -0
- lalapps/bin/lalpulsar_fits_header_getval +0 -0
- lalapps/bin/lalpulsar_fits_header_list +0 -0
- lalapps/bin/lalpulsar_fits_overview +0 -0
- lalapps/bin/lalpulsar_fits_table_list +0 -0
- lalapps/bin/lalpulsar_frequency_evolution +0 -0
- lalapps/bin/lalpulsar_heterodyne +0 -0
- lalapps/bin/lalpulsar_parameter_estimation_nested +0 -0
- lalapps/bin/lalpulsar_spec_avg +0 -0
- lalapps/bin/lalpulsar_spec_avg_long +0 -0
- lalapps/bin/lalpulsar_spec_coherence +0 -0
- lalapps/bin/lalpulsar_splitSFTs +0 -0
- lalapps/bin/lalpulsar_ssbtodetector +0 -0
- lalapps/bin/lalpulsar_synthesizeBstatMC +0 -0
- lalapps/bin/lalpulsar_synthesizeLVStats +0 -0
- lalapps/bin/lalpulsar_synthesizeTransientStats +0 -0
- lalapps/bin/lalpulsar_version +0 -0
- lalapps/bin/lalsim-bh-qnmode +0 -0
- lalapps/bin/lalsim-bh-ringdown +0 -0
- lalapps/bin/lalsim-bh-sphwf +0 -0
- lalapps/bin/lalsim-burst +0 -0
- lalapps/bin/lalsim-detector-noise +0 -0
- lalapps/bin/lalsim-detector-strain +0 -0
- lalapps/bin/lalsim-inject +0 -0
- lalapps/bin/lalsim-inspiral +0 -0
- lalapps/bin/lalsim-ns-eos-table +0 -0
- lalapps/bin/lalsim-ns-mass-radius +0 -0
- lalapps/bin/lalsim-ns-params +0 -0
- lalapps/bin/lalsim-sgwb +0 -0
- lalapps/bin/lalsim-unicorn +0 -0
- lalapps/bin/lalsimulation_version +0 -0
- lalapps/cosmicstring.py +691 -0
- lalapps/data/BNSMasses.dat +65022 -0
- lalapps/data/CorrelationMatrix.csv +15 -0
- lalapps/data/LALSimNeutronStarEOS_ABHT_QMC_RMF1_META.dat +1882 -0
- lalapps/data/LALSimNeutronStarEOS_ABHT_QMC_RMF2_META.dat +1939 -0
- lalapps/data/LALSimNeutronStarEOS_ABHT_QMC_RMF3_META.dat +1784 -0
- lalapps/data/LALSimNeutronStarEOS_ABHT_QMC_RMF4_META.dat +2074 -0
- lalapps/data/LALSimNeutronStarEOS_ALF1.dat +435 -0
- lalapps/data/LALSimNeutronStarEOS_ALF2.dat +453 -0
- lalapps/data/LALSimNeutronStarEOS_ALF3.dat +441 -0
- lalapps/data/LALSimNeutronStarEOS_ALF4.dat +441 -0
- lalapps/data/LALSimNeutronStarEOS_AP1.dat +212 -0
- lalapps/data/LALSimNeutronStarEOS_AP2.dat +212 -0
- lalapps/data/LALSimNeutronStarEOS_AP3.dat +212 -0
- lalapps/data/LALSimNeutronStarEOS_AP4.dat +210 -0
- lalapps/data/LALSimNeutronStarEOS_APR.dat +500 -0
- lalapps/data/LALSimNeutronStarEOS_APR4_EPP.dat +1447 -0
- lalapps/data/LALSimNeutronStarEOS_BBB2.dat +84 -0
- lalapps/data/LALSimNeutronStarEOS_BGN1H1.dat +123 -0
- lalapps/data/LALSimNeutronStarEOS_BHF_BBB2.dat +499 -0
- lalapps/data/LALSimNeutronStarEOS_BL_CHIRAL_META.dat +1534 -0
- lalapps/data/LALSimNeutronStarEOS_BPAL12.dat +61 -0
- lalapps/data/LALSimNeutronStarEOS_BSK19.dat +310 -0
- lalapps/data/LALSimNeutronStarEOS_BSK20.dat +310 -0
- lalapps/data/LALSimNeutronStarEOS_BSK21.dat +310 -0
- lalapps/data/LALSimNeutronStarEOS_ENG.dat +108 -0
- lalapps/data/LALSimNeutronStarEOS_FPS.dat +129 -0
- lalapps/data/LALSimNeutronStarEOS_GMSR_BSK14_BSK24.dat +1010 -0
- lalapps/data/LALSimNeutronStarEOS_GMSR_DHSL59_BSK24.dat +1009 -0
- lalapps/data/LALSimNeutronStarEOS_GMSR_DHSL69_BSK24.dat +1009 -0
- lalapps/data/LALSimNeutronStarEOS_GMSR_F0_BSK24.dat +1010 -0
- lalapps/data/LALSimNeutronStarEOS_GMSR_H1_BSK24.dat +1009 -0
- lalapps/data/LALSimNeutronStarEOS_GMSR_H2_BSK24.dat +1010 -0
- lalapps/data/LALSimNeutronStarEOS_GMSR_H3_BSK24.dat +1010 -0
- lalapps/data/LALSimNeutronStarEOS_GMSR_H4_BSK24.dat +1010 -0
- lalapps/data/LALSimNeutronStarEOS_GMSR_H5_BSK24.dat +1009 -0
- lalapps/data/LALSimNeutronStarEOS_GMSR_LN55_BSK24.dat +1010 -0
- lalapps/data/LALSimNeutronStarEOS_GMSR_SLY5_BSK24.dat +1010 -0
- lalapps/data/LALSimNeutronStarEOS_GNH3.dat +71 -0
- lalapps/data/LALSimNeutronStarEOS_GPPVA_DD2_BSK24.dat +1009 -0
- lalapps/data/LALSimNeutronStarEOS_GPPVA_DDME2_BSK24.dat +1010 -0
- lalapps/data/LALSimNeutronStarEOS_GPPVA_FSU2H_BSK24.dat +1009 -0
- lalapps/data/LALSimNeutronStarEOS_GPPVA_FSU2_BSK24.dat +1010 -0
- lalapps/data/LALSimNeutronStarEOS_GPPVA_NL3WRL55_BSK24.dat +1010 -0
- lalapps/data/LALSimNeutronStarEOS_GS1.dat +136 -0
- lalapps/data/LALSimNeutronStarEOS_GS2.dat +100 -0
- lalapps/data/LALSimNeutronStarEOS_H1.dat +114 -0
- lalapps/data/LALSimNeutronStarEOS_H2.dat +114 -0
- lalapps/data/LALSimNeutronStarEOS_H3.dat +98 -0
- lalapps/data/LALSimNeutronStarEOS_H4.dat +664 -0
- lalapps/data/LALSimNeutronStarEOS_H5.dat +703 -0
- lalapps/data/LALSimNeutronStarEOS_H6.dat +509 -0
- lalapps/data/LALSimNeutronStarEOS_H7.dat +703 -0
- lalapps/data/LALSimNeutronStarEOS_HQC18.dat +388 -0
- lalapps/data/LALSimNeutronStarEOS_KDE0V.dat +500 -0
- lalapps/data/LALSimNeutronStarEOS_KDE0V1.dat +500 -0
- lalapps/data/LALSimNeutronStarEOS_KDE0V1_BSK24.dat +1388 -0
- lalapps/data/LALSimNeutronStarEOS_KDE0V_BSK24.dat +1398 -0
- lalapps/data/LALSimNeutronStarEOS_MPA1.dat +102 -0
- lalapps/data/LALSimNeutronStarEOS_MS1.dat +122 -0
- lalapps/data/LALSimNeutronStarEOS_MS1B.dat +126 -0
- lalapps/data/LALSimNeutronStarEOS_MS1B_PP.dat +1447 -0
- lalapps/data/LALSimNeutronStarEOS_MS1_PP.dat +1447 -0
- lalapps/data/LALSimNeutronStarEOS_MS2.dat +48 -0
- lalapps/data/LALSimNeutronStarEOS_PAL6.dat +148 -0
- lalapps/data/LALSimNeutronStarEOS_PCL2.dat +134 -0
- lalapps/data/LALSimNeutronStarEOS_PCP_BSK24_BSK24.dat +1010 -0
- lalapps/data/LALSimNeutronStarEOS_PS.dat +165 -0
- lalapps/data/LALSimNeutronStarEOS_QMC700.dat +117 -0
- lalapps/data/LALSimNeutronStarEOS_RG_SLY4_BSK24.dat +1010 -0
- lalapps/data/LALSimNeutronStarEOS_RS.dat +500 -0
- lalapps/data/LALSimNeutronStarEOS_RS_BSK24.dat +1356 -0
- lalapps/data/LALSimNeutronStarEOS_SK255.dat +500 -0
- lalapps/data/LALSimNeutronStarEOS_SK255_BSK24.dat +1066 -0
- lalapps/data/LALSimNeutronStarEOS_SK272.dat +500 -0
- lalapps/data/LALSimNeutronStarEOS_SKA.dat +500 -0
- lalapps/data/LALSimNeutronStarEOS_SKA_BSK24.dat +1433 -0
- lalapps/data/LALSimNeutronStarEOS_SKB.dat +500 -0
- lalapps/data/LALSimNeutronStarEOS_SKB_BSK24.dat +1373 -0
- lalapps/data/LALSimNeutronStarEOS_SKI2.dat +500 -0
- lalapps/data/LALSimNeutronStarEOS_SKI2_BSK24.dat +1348 -0
- lalapps/data/LALSimNeutronStarEOS_SKI3.dat +500 -0
- lalapps/data/LALSimNeutronStarEOS_SKI3_BSK24.dat +1355 -0
- lalapps/data/LALSimNeutronStarEOS_SKI4.dat +497 -0
- lalapps/data/LALSimNeutronStarEOS_SKI4_BSK24.dat +1348 -0
- lalapps/data/LALSimNeutronStarEOS_SKI5.dat +500 -0
- lalapps/data/LALSimNeutronStarEOS_SKI6.dat +500 -0
- lalapps/data/LALSimNeutronStarEOS_SKI6_BSK24.dat +1358 -0
- lalapps/data/LALSimNeutronStarEOS_SKMP.dat +498 -0
- lalapps/data/LALSimNeutronStarEOS_SKOP.dat +500 -0
- lalapps/data/LALSimNeutronStarEOS_SKOP_BSK24.dat +1373 -0
- lalapps/data/LALSimNeutronStarEOS_SLY.dat +99 -0
- lalapps/data/LALSimNeutronStarEOS_SLY2.dat +500 -0
- lalapps/data/LALSimNeutronStarEOS_SLY230A.dat +500 -0
- lalapps/data/LALSimNeutronStarEOS_SLY230A_BSK24.dat +1116 -0
- lalapps/data/LALSimNeutronStarEOS_SLY2_BSK24.dat +1106 -0
- lalapps/data/LALSimNeutronStarEOS_SLY4.dat +100 -0
- lalapps/data/LALSimNeutronStarEOS_SLY9.dat +498 -0
- lalapps/data/LALSimNeutronStarEOS_SLY9_BSK24.dat +1083 -0
- lalapps/data/LALSimNeutronStarEOS_SQM1.dat +176 -0
- lalapps/data/LALSimNeutronStarEOS_SQM2.dat +180 -0
- lalapps/data/LALSimNeutronStarEOS_SQM3.dat +176 -0
- lalapps/data/LALSimNeutronStarEOS_WFF1.dat +109 -0
- lalapps/data/LALSimNeutronStarEOS_WFF2.dat +109 -0
- lalapps/data/LALSimNeutronStarEOS_WFF3.dat +107 -0
- lalapps/data/LALSimNeutronStarEOS_XMLSLZ_DDLZ1_BSK24.dat +1227 -0
- lalapps/data/LALSimNeutronStarEOS_XMLSLZ_DDME2_BSK24.dat +1272 -0
- lalapps/data/LALSimNeutronStarEOS_XMLSLZ_DDMEX_BSK24.dat +1280 -0
- lalapps/data/LALSimNeutronStarEOS_XMLSLZ_GM1_BSK24.dat +1288 -0
- lalapps/data/LALSimNeutronStarEOS_XMLSLZ_MTVTC_BSK24.dat +1288 -0
- lalapps/data/LALSimNeutronStarEOS_XMLSLZ_NL3_BSK24.dat +1230 -0
- lalapps/data/LALSimNeutronStarEOS_XMLSLZ_PKDD_BSK24.dat +1288 -0
- lalapps/data/LALSimNeutronStarEOS_XMLSLZ_TM1_BSK24.dat +1288 -0
- lalapps/data/LALSimNeutronStarEOS_XMLSLZ_TW99_BSK24.dat +1288 -0
- lalapps/data/LIGO-P1200087-v18-AdV_BNS_OPTIMIZED.txt +3000 -0
- lalapps/data/LIGO-P1200087-v18-AdV_DESIGN.txt +3000 -0
- lalapps/data/LIGO-P1200087-v18-AdV_EARLY_HIGH.txt +3000 -0
- lalapps/data/LIGO-P1200087-v18-AdV_EARLY_LOW.txt +3000 -0
- lalapps/data/LIGO-P1200087-v18-AdV_LATE_HIGH.txt +3000 -0
- lalapps/data/LIGO-P1200087-v18-AdV_LATE_LOW.txt +3000 -0
- lalapps/data/LIGO-P1200087-v18-AdV_MID_HIGH.txt +3000 -0
- lalapps/data/LIGO-P1200087-v18-AdV_MID_LOW.txt +3000 -0
- lalapps/data/LIGO-P1200087-v18-aLIGO_BNS_OPTIMIZED.txt +3000 -0
- lalapps/data/LIGO-P1200087-v18-aLIGO_DESIGN.txt +3000 -0
- lalapps/data/LIGO-P1200087-v18-aLIGO_EARLY_HIGH.txt +3000 -0
- lalapps/data/LIGO-P1200087-v18-aLIGO_EARLY_LOW.txt +3000 -0
- lalapps/data/LIGO-P1200087-v18-aLIGO_LATE_HIGH.txt +3000 -0
- lalapps/data/LIGO-P1200087-v18-aLIGO_LATE_LOW.txt +3000 -0
- lalapps/data/LIGO-P1200087-v18-aLIGO_MID_HIGH.txt +3000 -0
- lalapps/data/LIGO-P1200087-v18-aLIGO_MID_LOW.txt +3000 -0
- lalapps/data/LIGO-P1600143-v18-CE.txt +3000 -0
- lalapps/data/LIGO-P1600143-v18-CE_Pessimistic.txt +3000 -0
- lalapps/data/LIGO-P1600143-v18-CE_Wideband.txt +3000 -0
- lalapps/data/LIGO-P1600143-v18-ET_D.txt +3000 -0
- lalapps/data/LIGO-T0900288-v3-BHBH_20deg.txt +3000 -0
- lalapps/data/LIGO-T0900288-v3-High_Freq.txt +3000 -0
- lalapps/data/LIGO-T0900288-v3-NO_SRM.txt +3000 -0
- lalapps/data/LIGO-T0900288-v3-NSNS_Opt.txt +3000 -0
- lalapps/data/LIGO-T0900288-v3-ZERO_DET_high_P.txt +3000 -0
- lalapps/data/LIGO-T0900288-v3-ZERO_DET_low_P.txt +3000 -0
- lalapps/data/LIGO-T1600593-v1-KAGRA_Design.txt +4000 -0
- lalapps/data/LIGO-T1600593-v1-KAGRA_Early.txt +4000 -0
- lalapps/data/LIGO-T1600593-v1-KAGRA_Late.txt +4000 -0
- lalapps/data/LIGO-T1600593-v1-KAGRA_Mid.txt +4000 -0
- lalapps/data/LIGO-T1600593-v1-KAGRA_Opening.txt +4000 -0
- lalapps/data/LIGO-T1800042-v5-aLIGO_APLUS.txt +3000 -0
- lalapps/data/LIGO-T1800044-v5-aLIGO_DESIGN.txt +3000 -0
- lalapps/data/LIGO-T1800545-v1-AdV_O3low.txt +3000 -0
- lalapps/data/LIGO-T1800545-v1-AdV_O4.txt +3000 -0
- lalapps/data/LIGO-T1800545-v1-AdV_O4intermediate.txt +3000 -0
- lalapps/data/LIGO-T1800545-v1-KAGRA_128Mpc.txt +1000 -0
- lalapps/data/LIGO-T1800545-v1-KAGRA_25Mpc.txt +1000 -0
- lalapps/data/LIGO-T1800545-v1-KAGRA_80Mpc.txt +1000 -0
- lalapps/data/LIGO-T1800545-v1-aLIGO_140Mpc.txt +1000 -0
- lalapps/data/LIGO-T1800545-v1-aLIGO_175Mpc.txt +2792 -0
- lalapps/data/LIGO-T1800545-v1-aLIGO_O3low.txt +2792 -0
- lalapps/data/bimodalMeans.csv +3 -0
- lalapps/data/config_tiger_example.ini +150 -0
- lalapps/data/fiducialBBH.xml +67 -0
- lalapps/data/fiducialBNS.xml +67 -0
- lalapps/data/inspsrcs100Mpc.errors +38735 -0
- lalapps/data/lalinference_pipe_example.ini +573 -0
- lalapps/data/lib_pipe_example.ini +303 -0
- lalapps/data/power_pipe.ini +129 -0
- lalapps/data/unimodalMeans.csv +2 -0
- lalapps/git_version.py +64 -0
- lalburst/SimBurstUtils.py +324 -0
- lalburst/SnglBurstUtils.py +367 -0
- lalburst/__init__.py +7 -0
- lalburst/_lalburst.cpython-312-x86_64-linux-gnu.so +0 -0
- lalburst/_lalburst_swig.py +16 -0
- lalburst/binjfind.py +824 -0
- lalburst/bucluster.py +409 -0
- lalburst/burca.py +315 -0
- lalburst/burca_tailor.py +349 -0
- lalburst/cafe.py +579 -0
- lalburst/calc_likelihood.py +145 -0
- lalburst/cs_gamma.cpython-312-x86_64-linux-gnu.so +0 -0
- lalburst/date.py +118 -0
- lalburst/git_version.py +64 -0
- lalburst/offsetvector.py +278 -0
- lalburst/packing.py +170 -0
- lalburst/power.py +1457 -0
- lalburst/snglcluster.py +136 -0
- lalburst/snglcoinc.py +2637 -0
- lalburst/stringutils.py +607 -0
- lalburst/timeslides.py +236 -0
- lalframe/__init__.py +7 -0
- lalframe/_lalframe.cpython-312-x86_64-linux-gnu.so +0 -0
- lalframe/_lalframe_swig.py +14 -0
- lalframe/frread.py +324 -0
- lalframe/git_version.py +64 -0
- lalframe/utils/__init__.py +25 -0
- lalframe/utils/frtools.py +61 -0
- lalinference/__init__.py +7 -0
- lalinference/_bayespputils.cpython-312-x86_64-linux-gnu.so +0 -0
- lalinference/_lalinference.cpython-312-x86_64-linux-gnu.so +0 -0
- lalinference/_lalinference_swig.py +19 -0
- lalinference/bayespputils.py +7479 -0
- lalinference/bayestar/__init__.py +2 -0
- lalinference/bayestar/deprecation.py +72 -0
- lalinference/git_version.py +64 -0
- lalinference/imrtgr/__init__.py +0 -0
- lalinference/imrtgr/imrtgrutils.py +168 -0
- lalinference/imrtgr/nrutils.py +1366 -0
- lalinference/imrtgr/pneqns.py +250 -0
- lalinference/io/__init__.py +31 -0
- lalinference/io/hdf5.py +365 -0
- lalinference/lalinference_pipe_utils.py +3617 -0
- lalinference/nest2pos.py +151 -0
- lalinference/plot/__init__.py +34 -0
- lalinference/plot/spindisk.py +104 -0
- lalinference/tiger/__init__.py +0 -0
- lalinference/tiger/make_injtimes.py +634 -0
- lalinference/tiger/omegascans_dag.py +691 -0
- lalinference/tiger/postproc.py +1338 -0
- lalinference/wrapper.py +231 -0
- lalinspiral/__init__.py +7 -0
- lalinspiral/_lalinspiral.cpython-312-x86_64-linux-gnu.so +0 -0
- lalinspiral/_lalinspiral_swig.py +18 -0
- lalinspiral/_thinca.cpython-312-x86_64-linux-gnu.so +0 -0
- lalinspiral/git_version.py +64 -0
- lalinspiral/inspinjfind.py +485 -0
- lalinspiral/thinca.py +509 -0
- lalmetaio/__init__.py +7 -0
- lalmetaio/_lalmetaio.cpython-312-x86_64-linux-gnu.so +0 -0
- lalmetaio/_lalmetaio_swig.py +14 -0
- lalmetaio/git_version.py +64 -0
- lalpulsar/NstarTools.py +259 -0
- lalpulsar/PulsarParametersWrapper.py +938 -0
- lalpulsar/__init__.py +7 -0
- lalpulsar/_lalpulsar.cpython-312-x86_64-linux-gnu.so +0 -0
- lalpulsar/_lalpulsar_swig.py +17 -0
- lalpulsar/git_version.py +64 -0
- lalpulsar/knope_utils.py +6497 -0
- lalpulsar/lineFileParser.py +264 -0
- lalpulsar/metric_utils.py +78 -0
- lalpulsar/piecewise_model/__init__.py +7 -0
- lalpulsar/piecewise_model/basis_functions.py +156 -0
- lalpulsar/piecewise_model/class_definitions.py +323 -0
- lalpulsar/piecewise_model/errors.py +37 -0
- lalpulsar/piecewise_model/estimating_knots.py +833 -0
- lalpulsar/piecewise_model/gte_and_other_methods.py +189 -0
- lalpulsar/piecewise_model/mols_for_gte.py +269 -0
- lalpulsar/piecewise_model/pw_fstat.py +813 -0
- lalpulsar/piecewise_model/pw_model_simulations.py +156 -0
- lalpulsar/piecewise_model/sampling_methods.py +186 -0
- lalpulsar/piecewise_model/semicoherent_metric_methods.py +375 -0
- lalpulsar/piecewise_model/tbank_estimates.py +293 -0
- lalpulsar/public_sft_directory.py +82 -0
- lalpulsar/pulsarhtmlutils.py +1395 -0
- lalpulsar/pulsarpputils.py +3638 -0
- lalpulsar/simulateCW.py +602 -0
- lalpulsar/simulateHeterodynedCW.py +591 -0
- lalsimulation/__init__.py +7 -0
- lalsimulation/_lalsimulation.cpython-312-x86_64-linux-gnu.so +0 -0
- lalsimulation/_lalsimulation_swig.py +14 -0
- lalsimulation/git_version.py +64 -0
- lalsimulation/gwsignal/__init__.py +9 -0
- lalsimulation/gwsignal/core/__init__.py +2 -0
- lalsimulation/gwsignal/core/conditioning_subroutines.py +196 -0
- lalsimulation/gwsignal/core/errors.py +136 -0
- lalsimulation/gwsignal/core/gw.py +206 -0
- lalsimulation/gwsignal/core/parameter_conventions.py +122 -0
- lalsimulation/gwsignal/core/utils.py +329 -0
- lalsimulation/gwsignal/core/waveform.py +725 -0
- lalsimulation/gwsignal/core/waveform_conditioning.py +455 -0
- lalsimulation/gwsignal/models/__init__.py +29 -0
- lalsimulation/gwsignal/models/pyseobnr_model.py +452 -0
- lalsimulation/nrfits/NRSur3dq8Remnant.py +92 -0
- lalsimulation/nrfits/NRSur7dq4Remnant.py +469 -0
- lalsimulation/nrfits/__init__.py +1 -0
- lalsimulation/nrfits/eval_fits.py +364 -0
- lalsimulation/nrfits/nrfits.py +78 -0
- lalsimulation/nrfits/pn_spin_evolution_wrapper.py +92 -0
- lalsimulation/nrfits/quaternion_utils.py +74 -0
- lalsimulation/tilts_at_infinity/__init__.py +2 -0
- lalsimulation/tilts_at_infinity/calc_tilts_prec_avg_regularized.py +1424 -0
- lalsimulation/tilts_at_infinity/hybrid_spin_evolution.py +461 -0
- lalsimulation/tilts_at_infinity/tilts_at_infinity_utils.py +167 -0
- lalsuite-7.26.2.dev20251206.data/scripts/cbcBayesBurstPPAnalysis +305 -0
- lalsuite-7.26.2.dev20251206.data/scripts/cbcBayesBurstPostProc +1364 -0
- lalsuite-7.26.2.dev20251206.data/scripts/cbcBayesCombinePTMCMCh5s +100 -0
- lalsuite-7.26.2.dev20251206.data/scripts/cbcBayesCombinePosteriors +235 -0
- lalsuite-7.26.2.dev20251206.data/scripts/cbcBayesCompPos +1121 -0
- lalsuite-7.26.2.dev20251206.data/scripts/cbcBayesDIEvidence +68 -0
- lalsuite-7.26.2.dev20251206.data/scripts/cbcBayesGraceDBinfo +182 -0
- lalsuite-7.26.2.dev20251206.data/scripts/cbcBayesMCMC2pos +314 -0
- lalsuite-7.26.2.dev20251206.data/scripts/cbcBayesPPAnalysis +322 -0
- lalsuite-7.26.2.dev20251206.data/scripts/cbcBayesPlotSpinDisk +42 -0
- lalsuite-7.26.2.dev20251206.data/scripts/cbcBayesPosToSimBurst +227 -0
- lalsuite-7.26.2.dev20251206.data/scripts/cbcBayesPosToSimInspiral +307 -0
- lalsuite-7.26.2.dev20251206.data/scripts/cbcBayesPostProc +1345 -0
- lalsuite-7.26.2.dev20251206.data/scripts/cbcBayesThermoInt +107 -0
- lalsuite-7.26.2.dev20251206.data/scripts/imrtgr_imr_consistency_test +796 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lal_cache +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lal_fftw_wisdom +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lal_fftwf_wisdom +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lal_path2cache +148 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lal_searchsum2cache +172 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lal_simd_detect +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lal_tconvert +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lal_version +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_ComputeAntennaPattern +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_ComputeFstatBenchmark +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_ComputeFstatLatticeCount +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_ComputeFstatMCUpperLimit +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_ComputeFstatistic_v2 +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_ComputePSD +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_CopySFTs +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_DistanceVsMass +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_DriveHoughMulti +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_FstatMetric_v2 +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_HierarchSearchGCT +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_HierarchicalSearch +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_MakeSFTDAG +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_MakeSFTs +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_Makefakedata_v4 +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_Makefakedata_v5 +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_PredictFstat +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_PrintDetectorState +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_SFTclean +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_SFTvalidate +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_StringAddFrame +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_StringSearch +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_Weave +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_WeaveCompare +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_WeaveConcat +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_WeaveSetup +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_WriteSFTsfromSFDBs +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_animate +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_binj +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_blindinj +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_cache +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_cafe +99 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_calfacs +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_cbc_stochasticbank +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_chirplen +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_coh_PTF_inspiral +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_coinj +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_combine_crosscorr_toplists +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_compareFstats +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_compareSFTs +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_cosmicstring_pipe +525 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_create_time_correction_ephemeris +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_dumpSFT +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_effdist +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_exc_resp +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_fftw_wisdom +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_fftwf_wisdom +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_fits_header_getval +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_fits_header_list +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_fits_overview +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_fits_table_list +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_fr_ninja +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_frextr +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_frinfo +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_frjoin +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_frread +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_frview +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_gwf2xml +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_heterodyne_pulsar +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_inspawgfile +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_inspfrinj +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_inspinj +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_inspiralDistance +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_knope +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_knope_automation_script +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_knope_collate_results +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_knope_result_page +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_makeblindinj +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_makeblindinj_himass +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_ninja +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_path2cache +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_power +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_power_likelihood_pipe +219 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_power_pipe +417 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_pulsar_crosscorr_v2 +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_pulsar_frequency_evolution +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_pulsar_parameter_estimation_nested +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_random_bank +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_randombank +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_run_pulsar_crosscorr_v2 +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_searchsum2cache +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_spec_avg +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_spec_avg_long +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_spec_coherence +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_spininj +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_splitSFTs +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_splitbank +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_ssbtodetector +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_string_apply_vetoes +171 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_string_calc_likelihood +172 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_string_contour_plotter +141 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_string_contour_plotter_largeloops +133 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_string_cs_gamma +110 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_string_cs_gamma_largeloops +119 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_string_final +1064 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_string_meas_likelihood +264 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_string_plot_binj +543 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_string_plot_likelihood +380 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_synthesizeBstatMC +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_synthesizeLVStats +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_synthesizeTransientStats +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_tconvert +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_tmpltbank +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_version +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalapps_xtefitstoframe +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalburst_cluster +156 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalburst_coinc +224 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalburst_cut +425 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalburst_gen_timeslides +254 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalburst_inj_pic +254 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalburst_injfind +170 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalburst_plot_tisi +165 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalburst_power_calc_likelihood +182 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalburst_power_final +1369 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalburst_power_meas_likelihood +206 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalburst_power_plot_binj +934 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalburst_power_plot_binjtf +302 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalburst_version +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalfr-cat +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalfr-cksum +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalfr-cut +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalfr-dump +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalfr-fmt +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalfr-paste +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalfr-print +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalfr-split +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalfr-stat +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalfr-stream +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalfr-vis +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalframe_version +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_bench +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_burst +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_burst_pp_pipe +220 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_coherence_test +139 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_compute_roq_weights +404 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_cpnest +58 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_datadump +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_evolve_spins_and_append_samples +202 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_injectedlike +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_merge_posteriors +57 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_mpi_wrapper +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_multi_pipe +144 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_nest +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_nest2pos +286 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_pipe +512 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_pp_pipe +229 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_review_test +362 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinference_version +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinspiral_injfind +206 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinspiral_thinca +240 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalinspiral_version +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalmetaio_version +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_ComputeAntennaPattern +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_ComputeFstatBenchmark +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_ComputeFstatLatticeCount +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_ComputeFstatMCUpperLimit +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_ComputeFstatistic_v2 +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_ComputePSD +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_CopyPublicSFTs +216 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_DriveHoughMulti +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_FstatMetric_v2 +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_HierarchSearchGCT +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_HierarchicalSearch +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_MakeSFTDAG +1142 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_MakeSFTs +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_Makefakedata_v4 +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_Makefakedata_v5 +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_MoveSFTs +208 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_PiecewiseSearch +963 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_PredictFstat +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_PrintDetectorState +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_SFTclean +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_SFTvalidate +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_Weave +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_WeaveCompare +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_WeaveConcat +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_WeaveSetup +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_WriteSFTsfromSFDBs +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_compareFstats +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_compareSFTs +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_create_time_correction_ephemeris +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_crosscorr_v2 +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_dumpSFT +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_fits_header_getval +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_fits_header_list +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_fits_overview +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_fits_table_list +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_frequency_evolution +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_heterodyne +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_knope +145 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_knope_automation_script +731 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_knope_collate_results +675 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_knope_result_page +2977 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_parameter_estimation_nested +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_spec_avg +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_spec_avg_long +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_spec_coherence +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_splitSFTs +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_ssbtodetector +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_synthesizeBstatMC +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_synthesizeLVStats +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_synthesizeTransientStats +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalpulsar_version +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalsim-bh-qnmode +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalsim-bh-ringdown +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalsim-bh-sphwf +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalsim-burst +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalsim-detector-noise +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalsim-detector-strain +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalsim-inject +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalsim-inspiral +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalsim-ns-eos-table +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalsim-ns-mass-radius +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalsim-ns-params +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalsim-sgwb +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalsim-unicorn +6 -0
- lalsuite-7.26.2.dev20251206.data/scripts/lalsimulation_version +6 -0
- lalsuite-7.26.2.dev20251206.dist-info/METADATA +90 -0
- lalsuite-7.26.2.dev20251206.dist-info/RECORD +733 -0
- lalsuite-7.26.2.dev20251206.dist-info/WHEEL +5 -0
- lalsuite-7.26.2.dev20251206.dist-info/licenses/COPYING +339 -0
- lalsuite-7.26.2.dev20251206.dist-info/top_level.txt +9 -0
- lalsuite.libs/libcfitsio-729ee1b7.so.10.0.0 +0 -0
- lalsuite.libs/libfftw3-6b983104.so.3.5.5 +0 -0
- lalsuite.libs/libfftw3f-b4465a35.so.3.5.5 +0 -0
- lalsuite.libs/libframel-8cf74372.so.8.48.4 +0 -0
- lalsuite.libs/libgsl-e30be130.so.28.0.0 +0 -0
- lalsuite.libs/libgslcblas-460f042a.so.0.0.0 +0 -0
- lalsuite.libs/libhdf5-d02936e2.so.310.5.1 +0 -0
- lalsuite.libs/libhdf5_hl-0e40b553.so.310.0.6 +0 -0
- lalsuite.libs/liblal-d17109e0.so.20.5.0 +0 -0
- lalsuite.libs/liblalburst-d9edfb9d.so.8.0.0 +0 -0
- lalsuite.libs/liblalframe-d677044f.so.14.0.3 +0 -0
- lalsuite.libs/liblalinference-a50f0a8e.so.23.1.7 +0 -0
- lalsuite.libs/liblalinspiral-22638799.so.18.0.2 +0 -0
- lalsuite.libs/liblalmetaio-42c5bc5c.so.11.0.1 +0 -0
- lalsuite.libs/liblalpulsar-95c25f8c.so.30.1.1 +0 -0
- lalsuite.libs/liblalsimulation-bf7c4c31.so.37.2.0 +0 -0
- lalsuite.libs/liblalsupport-282d4115.so.14.4.0 +0 -0
- lalsuite.libs/libmetaio-abda72ec.so.1.1.0 +0 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
#!python
|
|
2
|
+
'''
|
|
3
|
+
This program simply computes the bayes factor between the coherent and incoherent models
|
|
4
|
+
given as input the B files for the run.
|
|
5
|
+
'''
|
|
6
|
+
|
|
7
|
+
from __future__ import print_function
|
|
8
|
+
|
|
9
|
+
from optparse import OptionParser
|
|
10
|
+
import sys
|
|
11
|
+
import os
|
|
12
|
+
import matplotlib
|
|
13
|
+
matplotlib.use("Agg")
|
|
14
|
+
from pylab import loadtxt
|
|
15
|
+
from math import log,exp
|
|
16
|
+
|
|
17
|
+
usage='''%prog [options] coherent_B.txt incoherent1_B.txt incoherent2_B.txt ... incoherentN_B.txt
|
|
18
|
+
%prog takes a list of arguments which specify FIRST the coherent B.txt file, followed by all the
|
|
19
|
+
B.txt files from the individual runs on each IFO. The coherent file must be specified first.
|
|
20
|
+
|
|
21
|
+
The code will then perform either the test of coherent vs incoherent signal models, i.e.
|
|
22
|
+
B_{CI} = Z_co / Z_1 * Z_2 * Z_3
|
|
23
|
+
|
|
24
|
+
or a test of coherent vs incoherent
|
|
25
|
+
B_{CIN} = Z_co / (Z_1 * Z_2 * Z_3 + N_{123})
|
|
26
|
+
|
|
27
|
+
or the test of coherent vs ( incoherent signal or noise ) models, i.e.
|
|
28
|
+
B_{CIN} = Z_co / Z_{inc OR noise}
|
|
29
|
+
with Z_{inc OR noise} = sum over all permutations of the signal and noise hypotheses in each detector
|
|
30
|
+
e.g. for 2 detectors:
|
|
31
|
+
Z_{inc OR noise} =
|
|
32
|
+
see also https://dcc.ligo.org/LIGO-T1600068
|
|
33
|
+
|
|
34
|
+
Output will be written to stdout, and to a text file specified by the --outfile option.
|
|
35
|
+
|
|
36
|
+
'''
|
|
37
|
+
|
|
38
|
+
parser=OptionParser(usage)
|
|
39
|
+
parser.add_option("-c","--coherent-incoherent",action="store_true",dest="ci",help="Perform coherence test of Coherent signal vs incoherent signal",default=False )
|
|
40
|
+
parser.add_option("-n","--coherent-incoherent-noise", dest="cin", action="store_true", help="Perform coherence test of coherent signal vs incoherent signal or noise", default=False )
|
|
41
|
+
parser.add_option("-b","--new-coherent-incoherent-noise", dest="cin_or_n", action="store_true", help="Perform coherence test of coherent signal vs incoherent signal or noise using the most inclusive hypothesis", default=False )
|
|
42
|
+
parser.add_option("-o","--outfile",default=None, help="Optional output file name", metavar="OUTFILE.txt",type="string",action="store")
|
|
43
|
+
|
|
44
|
+
(opts,args)=parser.parse_args()
|
|
45
|
+
|
|
46
|
+
def get_metadata_hdf5(filename,key):
|
|
47
|
+
import h5py
|
|
48
|
+
with h5py.File(filename,'r') as hdf:
|
|
49
|
+
g=hdf['lalinference']
|
|
50
|
+
if(len(g.keys()))>1:
|
|
51
|
+
print('Error: multiple runs %s found in input file %s'%g.keys(),filename)
|
|
52
|
+
sys.exit(1)
|
|
53
|
+
# Descend into run group
|
|
54
|
+
g=g[list(g.keys())[0]]
|
|
55
|
+
return g.attrs[key]
|
|
56
|
+
|
|
57
|
+
# Sanity check input arguments
|
|
58
|
+
if len(args)==0:
|
|
59
|
+
print('No input files specified')
|
|
60
|
+
sys.exit(1)
|
|
61
|
+
|
|
62
|
+
if( sum([opts.ci,opts.cin,opts.cin_or_n])!=1):
|
|
63
|
+
print('Please specify one of -c, -n or -b. See help for details.')
|
|
64
|
+
sys.exit(1)
|
|
65
|
+
|
|
66
|
+
cofile=args[0]
|
|
67
|
+
incofiles=args[1:]
|
|
68
|
+
|
|
69
|
+
if len(incofiles)<2:
|
|
70
|
+
print('Cannot perform coherence test on less than 2 IFOs')
|
|
71
|
+
sys.exit(0)
|
|
72
|
+
|
|
73
|
+
if len(incofiles)==0:
|
|
74
|
+
print('Error: You must specify incoherent input files')
|
|
75
|
+
sys.exit(1)
|
|
76
|
+
|
|
77
|
+
def logadd(a,b):
|
|
78
|
+
if(a>b): (a,b)=(b,a)
|
|
79
|
+
return (b+log(1+exp(a-b)))
|
|
80
|
+
|
|
81
|
+
def get_metadata_old(Bfile,key):
|
|
82
|
+
print('Looking for '+Bfile)
|
|
83
|
+
if os.access(Bfile,os.R_OK):
|
|
84
|
+
outstat = loadtxt(Bfile)
|
|
85
|
+
if key=='log_evidence':
|
|
86
|
+
return outstat[1]
|
|
87
|
+
if key=='log_noise_evidence':
|
|
88
|
+
return outstat[2]
|
|
89
|
+
if key=='log_bayes_factor':
|
|
90
|
+
return outstat[0]
|
|
91
|
+
print('Unknown key %s'%(key))
|
|
92
|
+
return None
|
|
93
|
+
else:
|
|
94
|
+
return None
|
|
95
|
+
|
|
96
|
+
def get_metadata(filename,key):
|
|
97
|
+
if '.h5' in filename or '.hdf' in filename:
|
|
98
|
+
return get_metadata_hdf5(filename,key)
|
|
99
|
+
else:
|
|
100
|
+
return get_metadata_old(filename,key)
|
|
101
|
+
|
|
102
|
+
Zco = get_metadata(cofile,'log_evidence')
|
|
103
|
+
Zinco=0
|
|
104
|
+
Z_single_noise = [ get_metadata(inco,'log_noise_evidence') for inco in incofiles]
|
|
105
|
+
Z_single_signal = [ get_metadata(inco,'log_evidence') for inco in incofiles]
|
|
106
|
+
|
|
107
|
+
# we compute now the evidence for the hypothesis "incoherent signal OR noise" as the
|
|
108
|
+
# sum over all posible permutations over mutually exclusive sub propositions
|
|
109
|
+
|
|
110
|
+
from itertools import combinations
|
|
111
|
+
try:
|
|
112
|
+
from scipy.special import logsumexp
|
|
113
|
+
except ImportError: # scipy < 0.19.0
|
|
114
|
+
from scipy.misc import logsumexp
|
|
115
|
+
|
|
116
|
+
def not_seen(t, seen=set()):
|
|
117
|
+
return False if t[0] in seen or t[1] in seen else seen.update(t) or True
|
|
118
|
+
|
|
119
|
+
Z_incoherentORnoise = logsumexp([sum(p) for p in list(filter(lambda t, seen=set(): False if t[0] in seen or t[1] in seen else seen.update(t) or True, combinations(Z_single_signal+Z_single_noise, len(Z_single_signal))))])
|
|
120
|
+
|
|
121
|
+
for inco in incofiles:
|
|
122
|
+
Zinco+=get_metadata(inco,'log_evidence')
|
|
123
|
+
Znoise = get_metadata(cofile,'log_noise_evidence')
|
|
124
|
+
|
|
125
|
+
if(opts.outfile is not None):
|
|
126
|
+
out=open(opts.outfile,'w')
|
|
127
|
+
|
|
128
|
+
if(opts.ci):
|
|
129
|
+
B=Zco-Zinco
|
|
130
|
+
if (opts.cin):
|
|
131
|
+
B=Zco-logadd(Zinco,Znoise)
|
|
132
|
+
if(opts.cin_or_n):
|
|
133
|
+
B=Zco-Z_incoherentORnoise
|
|
134
|
+
|
|
135
|
+
print('%.3f'%(B))
|
|
136
|
+
|
|
137
|
+
if(opts.outfile is not None ):
|
|
138
|
+
print('%.3f'%(B), file=out)
|
|
139
|
+
out.close()
|
|
@@ -0,0 +1,404 @@
|
|
|
1
|
+
#!python
|
|
2
|
+
import numpy as np
|
|
3
|
+
from math import ceil
|
|
4
|
+
from optparse import OptionParser
|
|
5
|
+
import os
|
|
6
|
+
from scipy.linalg import solve_triangular
|
|
7
|
+
import lal
|
|
8
|
+
import lalsimulation
|
|
9
|
+
|
|
10
|
+
#####################################################################
|
|
11
|
+
|
|
12
|
+
def _block_slices(dim_size, block_size):
|
|
13
|
+
"""Generator that yields slice objects for indexing into
|
|
14
|
+
sequential blocks of an array along a particular axis
|
|
15
|
+
"""
|
|
16
|
+
count = 0
|
|
17
|
+
while True:
|
|
18
|
+
yield slice(count, count + block_size, 1)
|
|
19
|
+
count += block_size
|
|
20
|
+
if count > dim_size:
|
|
21
|
+
return
|
|
22
|
+
|
|
23
|
+
def blockwise_dot(A, B, deltaF, max_elements=int(2**27), out=None):
|
|
24
|
+
"""
|
|
25
|
+
Computes the dot product of two matrices in a block-wise fashion.
|
|
26
|
+
Only blocks of `A` with a maximum size of `max_elements` will be
|
|
27
|
+
processed simultaneously.
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
m, n = A.shape
|
|
31
|
+
n1, o = B.shape
|
|
32
|
+
|
|
33
|
+
if n1 != n:
|
|
34
|
+
raise ValueError('matrices are not aligned')
|
|
35
|
+
|
|
36
|
+
if A.flags.f_contiguous:
|
|
37
|
+
# prioritize processing as many columns of A as possible
|
|
38
|
+
max_cols = max(1, max_elements // m)
|
|
39
|
+
max_rows = max_elements // max_cols
|
|
40
|
+
|
|
41
|
+
else:
|
|
42
|
+
# prioritize processing as many rows of A as possible
|
|
43
|
+
max_rows = max(1, max_elements // n)
|
|
44
|
+
max_cols = max_elements // max_rows
|
|
45
|
+
|
|
46
|
+
if out is None:
|
|
47
|
+
out = np.empty((m, o), dtype=np.result_type(A, B))
|
|
48
|
+
elif out.shape != (m, o):
|
|
49
|
+
raise ValueError('output array has incorrect dimensions')
|
|
50
|
+
|
|
51
|
+
for mm in _block_slices(m, max_rows):
|
|
52
|
+
out[mm, :] = 0
|
|
53
|
+
for nn in _block_slices(n, max_cols):
|
|
54
|
+
A_block = A[mm, nn].copy() # copy to force a read
|
|
55
|
+
out[mm, :] += np.dot(A_block, B[nn, :]) * 4 * deltaF
|
|
56
|
+
del A_block
|
|
57
|
+
|
|
58
|
+
return out
|
|
59
|
+
|
|
60
|
+
def ehat(j, length):
|
|
61
|
+
"""Return a unit vector whose j-th component is 1"""
|
|
62
|
+
ehat = np.zeros(length)
|
|
63
|
+
ehat[j] = 1.0
|
|
64
|
+
return ehat
|
|
65
|
+
|
|
66
|
+
def DEIM(basis):
|
|
67
|
+
"""Calculate interpolation nodes following the Algorithm 5 in J Sci Comput
|
|
68
|
+
(2013) 57:604-637.
|
|
69
|
+
|
|
70
|
+
Parameters
|
|
71
|
+
----------
|
|
72
|
+
basis : ndarray
|
|
73
|
+
ndarray whose i-th row is the i-th basis vector
|
|
74
|
+
|
|
75
|
+
Return
|
|
76
|
+
------
|
|
77
|
+
nodes : array
|
|
78
|
+
interpolation nodes
|
|
79
|
+
B : ndarray
|
|
80
|
+
ndarray whose i-th row is the weight for the i-th frequency node.
|
|
81
|
+
"""
|
|
82
|
+
vec_num, vec_len = basis.shape
|
|
83
|
+
# Step (1)
|
|
84
|
+
j = abs(basis[0]).argmax()
|
|
85
|
+
# Step (2)
|
|
86
|
+
UT = np.zeros(shape=(vec_num, vec_len), dtype=complex)
|
|
87
|
+
PT = np.zeros(shape=(vec_num, vec_len))
|
|
88
|
+
UT[0] = basis[0]
|
|
89
|
+
PT[0] = ehat(j, vec_len)
|
|
90
|
+
PTU = np.zeros(shape=(vec_num, vec_num), dtype=complex)
|
|
91
|
+
nodes = [j]
|
|
92
|
+
# Step (3)
|
|
93
|
+
for i in range(vec_num - 1):
|
|
94
|
+
i += 1
|
|
95
|
+
ei = basis[i]
|
|
96
|
+
# Step (4)
|
|
97
|
+
PTU[i-1][:i:] = np.array([UT[k][nodes[i-1]] for k in range(i)])
|
|
98
|
+
c = solve_triangular(
|
|
99
|
+
PTU[:i:, :i:], np.array([ei[node] for node in nodes]),
|
|
100
|
+
lower=True, check_finite=False)
|
|
101
|
+
# Step (5)
|
|
102
|
+
r = ei - c.dot(UT[:i:])
|
|
103
|
+
# Step (6)
|
|
104
|
+
j = abs(r).argmax()
|
|
105
|
+
# Step (7)
|
|
106
|
+
UT[i] = r
|
|
107
|
+
PT[i] = ehat(j, vec_len)
|
|
108
|
+
nodes.append(j)
|
|
109
|
+
|
|
110
|
+
# Calculate B
|
|
111
|
+
VT = basis
|
|
112
|
+
B = np.linalg.inv(VT.dot(PT.transpose())).dot(VT)
|
|
113
|
+
|
|
114
|
+
# ordering
|
|
115
|
+
B = np.array([B[i] for i in np.argsort(nodes)])
|
|
116
|
+
nodes.sort()
|
|
117
|
+
|
|
118
|
+
return nodes, B
|
|
119
|
+
|
|
120
|
+
def construct_nodes(
|
|
121
|
+
selected_params, flow, fhigh, deltaF, approximant, quadratic
|
|
122
|
+
):
|
|
123
|
+
"""Construct frequency nodes and weights from parameter values selected by greedy algorithm.
|
|
124
|
+
|
|
125
|
+
Parameters
|
|
126
|
+
----------
|
|
127
|
+
selected_params : ndarray
|
|
128
|
+
ndarray whose i-th row is the i-th parameter set selected by greedy
|
|
129
|
+
algorithm
|
|
130
|
+
flow : float
|
|
131
|
+
fhigh : float
|
|
132
|
+
deltaF : float
|
|
133
|
+
approximant : string
|
|
134
|
+
quadratic : bool
|
|
135
|
+
construct nodes for products of waveforms when this is True
|
|
136
|
+
|
|
137
|
+
Return
|
|
138
|
+
------
|
|
139
|
+
f_nodes : ndarray
|
|
140
|
+
interpolation frequency nodes
|
|
141
|
+
B : ndarray
|
|
142
|
+
ndarray whose i-th roq is the weight for the i-th frequency node.
|
|
143
|
+
"""
|
|
144
|
+
# generate waveforms at selected parameters
|
|
145
|
+
start_index = int(flow / deltaF)
|
|
146
|
+
def _waveform(param):
|
|
147
|
+
# FIXME: Need to be fixed when we take into account precession.
|
|
148
|
+
m1, m2, a1z, a2z = param
|
|
149
|
+
hp, _ = lalsimulation.SimInspiralChooseFDWaveform(
|
|
150
|
+
m1 * lal.MSUN_SI, m2 * lal.MSUN_SI,
|
|
151
|
+
0.0, 0.0, a1z, 0.0, 0.0, a2z,
|
|
152
|
+
1.0, 0.0, 0.0, 0.0, 0.0, 0.0,
|
|
153
|
+
deltaF, flow, fhigh, flow, None,
|
|
154
|
+
lalsimulation.GetApproximantFromString(approximant)
|
|
155
|
+
)
|
|
156
|
+
hp = hp.data.data[start_index::]
|
|
157
|
+
if quadratic:
|
|
158
|
+
return np.conj(hp) * hp
|
|
159
|
+
else:
|
|
160
|
+
return hp
|
|
161
|
+
basis = np.array([_waveform(param) for param in selected_params]).transpose()
|
|
162
|
+
|
|
163
|
+
# orthogonalize waveforms
|
|
164
|
+
basis, _ = np.linalg.qr(basis)
|
|
165
|
+
basis = basis.transpose()
|
|
166
|
+
|
|
167
|
+
# discrete empirical interpolation
|
|
168
|
+
nodes, B = DEIM(basis)
|
|
169
|
+
return np.array([flow + deltaF * node for node in nodes]), B
|
|
170
|
+
|
|
171
|
+
######################################################################
|
|
172
|
+
|
|
173
|
+
data_dir = './'
|
|
174
|
+
# load in data from file
|
|
175
|
+
|
|
176
|
+
parser = OptionParser(usage="usage: %prog [options]",
|
|
177
|
+
version="%prog")
|
|
178
|
+
parser.add_option("-d", "--data", type='string',
|
|
179
|
+
action="append",
|
|
180
|
+
dest="data_file",
|
|
181
|
+
help="data file",)
|
|
182
|
+
parser.add_option("-p", "--psd", type='string',
|
|
183
|
+
action="append", # optional because action defaults to "store"
|
|
184
|
+
dest="psd_file",
|
|
185
|
+
help="psd file",)
|
|
186
|
+
parser.add_option("-t", "--time_prior", type=float,
|
|
187
|
+
action="store", # optional because action defaults to "store"
|
|
188
|
+
dest="dt",
|
|
189
|
+
help="width of time prior",)
|
|
190
|
+
parser.add_option("-i", "--ifo", type='string',
|
|
191
|
+
action="append",
|
|
192
|
+
dest="IFOs",
|
|
193
|
+
help="list of ifos",)
|
|
194
|
+
parser.add_option("-a", "--approx", type='string',
|
|
195
|
+
action="store",
|
|
196
|
+
dest="approximant",
|
|
197
|
+
help="approximant name",)
|
|
198
|
+
parser.add_option("-s", "--seglen", type=float,
|
|
199
|
+
action="store",
|
|
200
|
+
dest="seglen",
|
|
201
|
+
help="segment length",)
|
|
202
|
+
parser.add_option("-f", "--fLow", type=float,
|
|
203
|
+
action="store",
|
|
204
|
+
dest="fLow",
|
|
205
|
+
help="low frequency cut off",)
|
|
206
|
+
parser.add_option("-u", "--fHigh", type=float,
|
|
207
|
+
action="store",
|
|
208
|
+
dest="fHigh",
|
|
209
|
+
help="high frequency cut off",)
|
|
210
|
+
parser.add_option("-T", "--delta_tc", type=float,
|
|
211
|
+
action="store",
|
|
212
|
+
dest="delta_tc",
|
|
213
|
+
help="width of tc subdomain",)
|
|
214
|
+
parser.add_option("-B", "--basis-set", type='string',
|
|
215
|
+
action="store",
|
|
216
|
+
dest="b_matrix_directory",
|
|
217
|
+
help="B matrix directory",)
|
|
218
|
+
parser.add_option("-o", "--out", type='string',
|
|
219
|
+
action="store",
|
|
220
|
+
dest="outpath",
|
|
221
|
+
default="./",
|
|
222
|
+
help="output path",)
|
|
223
|
+
|
|
224
|
+
(options, args) = parser.parse_args()
|
|
225
|
+
|
|
226
|
+
basis_params = np.loadtxt(os.path.join(options.b_matrix_directory, "params.dat")).T
|
|
227
|
+
flow_in_params, fhigh_in_params, deltaF_in_params = basis_params[0], basis_params[1], 1. / basis_params[2]
|
|
228
|
+
|
|
229
|
+
B_linear_path = os.path.join(options.b_matrix_directory, "B_linear.npy")
|
|
230
|
+
B_quadratic_path = os.path.join(options.b_matrix_directory, "B_quadratic.npy")
|
|
231
|
+
fnodes_linear_path = os.path.join(options.b_matrix_directory, "fnodes_linear.npy")
|
|
232
|
+
fnodes_quadratic_path = os.path.join(options.b_matrix_directory, "fnodes_quadratic.npy")
|
|
233
|
+
params_linear_path = os.path.join(options.b_matrix_directory, "selected_params_linear.npy")
|
|
234
|
+
params_quadratic_path = os.path.join(options.b_matrix_directory, "selected_params_quadratic.npy")
|
|
235
|
+
if os.path.exists(B_linear_path) and os.path.exists(B_quadratic_path) and \
|
|
236
|
+
os.path.exists(fnodes_linear_path) and os.path.exists(fnodes_quadratic_path):
|
|
237
|
+
B_linear = np.load(B_linear_path)
|
|
238
|
+
B_quadratic = np.load(B_quadratic_path)
|
|
239
|
+
fnodes_linear = np.load(fnodes_linear_path)
|
|
240
|
+
fnodes_quadratic = np.load(fnodes_quadratic_path)
|
|
241
|
+
elif os.path.exists(params_linear_path) and os.path.exists(params_quadratic_path):
|
|
242
|
+
selected_params_linear = np.load(params_linear_path)
|
|
243
|
+
selected_params_quadratic = np.load(params_quadratic_path)
|
|
244
|
+
fnodes_linear, B_linear = construct_nodes(selected_params_linear, flow_in_params, fhigh_in_params, deltaF_in_params, options.approximant, False)
|
|
245
|
+
fnodes_quadratic, B_quadratic = construct_nodes(selected_params_quadratic, flow_in_params, fhigh_in_params, deltaF_in_params, options.approximant, True)
|
|
246
|
+
else:
|
|
247
|
+
print("No ROQ data found. Please make sure that you have B_(linear, quadratic).npy "
|
|
248
|
+
"and fnodes_(linear, quadratic).npy, or selected_params_(linear, quadratic).npy")
|
|
249
|
+
raise
|
|
250
|
+
|
|
251
|
+
def BuildWeights(data, B, deltaF):
|
|
252
|
+
|
|
253
|
+
''' for a data array and reduced basis compute roq weights
|
|
254
|
+
|
|
255
|
+
B: (reduced basis element)*invV (the inverse Vandermonde matrix)
|
|
256
|
+
data: data set
|
|
257
|
+
PSD: detector noise power spectral density (must be same shape as data)
|
|
258
|
+
deltaF: integration element df
|
|
259
|
+
|
|
260
|
+
'''
|
|
261
|
+
weights = np.dot(data, B.conjugate()) * deltaF * 4.
|
|
262
|
+
#weights = np.einsum('ij,jk->ik', B, data.conjugate() * deltaF * 4)
|
|
263
|
+
return weights
|
|
264
|
+
##################################
|
|
265
|
+
|
|
266
|
+
relative_tc_shift = options.seglen - 2.
|
|
267
|
+
|
|
268
|
+
# loop over ifos
|
|
269
|
+
|
|
270
|
+
i=0
|
|
271
|
+
scale_factor = 0
|
|
272
|
+
|
|
273
|
+
for ifo in options.IFOs:
|
|
274
|
+
|
|
275
|
+
dat_file = np.column_stack( np.loadtxt(options.data_file[i]) )
|
|
276
|
+
data = dat_file[1] + 1j*dat_file[2]
|
|
277
|
+
fseries = dat_file[0]
|
|
278
|
+
if options.seglen:
|
|
279
|
+
deltaF = 1./options.seglen
|
|
280
|
+
else:
|
|
281
|
+
deltaF = fseries[1] - fseries[0]
|
|
282
|
+
if options.fHigh:
|
|
283
|
+
fHigh = options.fHigh
|
|
284
|
+
else:
|
|
285
|
+
fHigh = fseries[-1]
|
|
286
|
+
fHigh_index = int(fHigh / deltaF)
|
|
287
|
+
|
|
288
|
+
print('Desired fHigh is', fHigh,', actual fHigh is', fseries[fHigh_index])
|
|
289
|
+
|
|
290
|
+
if options.fLow:
|
|
291
|
+
fLow = options.fLow
|
|
292
|
+
scale_factor = flow_in_params / fLow
|
|
293
|
+
|
|
294
|
+
else:
|
|
295
|
+
fLow = flow_in_params
|
|
296
|
+
assert fHigh == fhigh_in_params
|
|
297
|
+
fLow_index = int(fLow / deltaF)
|
|
298
|
+
|
|
299
|
+
print('Desired fLow is', fLow,', actual fLow is', fseries[fLow_index])
|
|
300
|
+
|
|
301
|
+
fseries = fseries[fLow_index:fHigh_index]
|
|
302
|
+
data = data[fLow_index:fHigh_index]
|
|
303
|
+
|
|
304
|
+
psdfile = np.column_stack( np.loadtxt(options.psd_file[i]) )
|
|
305
|
+
psd = psdfile[1]
|
|
306
|
+
|
|
307
|
+
psd[-1] = psd[-1 -1 ]
|
|
308
|
+
psd = psd[fLow_index:fHigh_index]
|
|
309
|
+
data /= psd
|
|
310
|
+
|
|
311
|
+
# only get frequency components up to fHigh
|
|
312
|
+
B_linear = B_linear.T[0:(fHigh_index - fLow_index)][:].T
|
|
313
|
+
B_quadratic = B_quadratic.T[0:(fHigh_index-fLow_index)][:].T
|
|
314
|
+
print(B_linear.shape[1], B_quadratic.shape[1], len(data), len(psd))
|
|
315
|
+
assert len(data) == len(psd) == B_linear.shape[1] == B_quadratic.shape[1]
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
#for the dot product, it's convenient to work with transpose of B:
|
|
320
|
+
B_linear = B_linear.T
|
|
321
|
+
B_quadratic = B_quadratic.T
|
|
322
|
+
|
|
323
|
+
for k in range(len(data)):
|
|
324
|
+
if np.isnan(data[k].real):
|
|
325
|
+
data[k] = 0+0j
|
|
326
|
+
|
|
327
|
+
#0.045 comes from the diameter of the earth in light seconds: the maximum time-delay between earth-based observatories
|
|
328
|
+
tcs = np.linspace(relative_tc_shift - options.dt - 0.045, relative_tc_shift + options.dt + 0.045, ceil(2.*(options.dt+0.045) / options.delta_tc) )# array of relative time shifts to be applied to the data
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
tc_shifted_data = np.zeros([len(tcs), len(fseries)], dtype=complex) # array to be filled with data, shifted by discrete time tc
|
|
332
|
+
|
|
333
|
+
print("time steps = "+str(len(tcs)))
|
|
334
|
+
for j in range(len(tcs)):
|
|
335
|
+
|
|
336
|
+
tc = tcs[j]
|
|
337
|
+
|
|
338
|
+
#exp_2pi_i_tc = np.array(np.exp(1j*2.*np.pi*fseries*tc))
|
|
339
|
+
#data_tc = np.array(data*exp_2pi_i_tc)
|
|
340
|
+
tc_shifted_data[j] = data * np.exp(1j*2.*np.pi*fseries*tc)
|
|
341
|
+
|
|
342
|
+
#tc_shifted_data = tc_shifted_data.T#np.array(tc_shifted_data).T
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
#*************************************************************************** #
|
|
347
|
+
print("Computing weights for "+ifo)
|
|
348
|
+
weights_path_linear = os.path.join(options.outpath,"weights_linear_%s.dat"%ifo)
|
|
349
|
+
weights_file_linear = open(weights_path_linear, "wb")
|
|
350
|
+
|
|
351
|
+
max_block_gigabytes = 4
|
|
352
|
+
max_elements = int((max_block_gigabytes * 2 ** 30) / 8) # max number of double complex elements
|
|
353
|
+
|
|
354
|
+
weights_linear = blockwise_dot(tc_shifted_data, B_linear.conjugate(), deltaF, max_elements).T
|
|
355
|
+
|
|
356
|
+
(weights_linear).tofile(weights_file_linear)
|
|
357
|
+
weights_file_linear.close()
|
|
358
|
+
|
|
359
|
+
del tc_shifted_data
|
|
360
|
+
|
|
361
|
+
#*************************************************************************** #
|
|
362
|
+
weights_path_quadratic = os.path.join(options.outpath,"weights_quadratic_%s.dat"%ifo)
|
|
363
|
+
weights_file_quadratic = open(weights_path_quadratic, "wb")
|
|
364
|
+
weights_quadratic = (BuildWeights(1./psd, B_quadratic, deltaF).T).real
|
|
365
|
+
|
|
366
|
+
(weights_quadratic).tofile(weights_file_quadratic)
|
|
367
|
+
weights_file_quadratic.close()
|
|
368
|
+
size_file_path = os.path.join(options.outpath,"roq_sizes.dat")
|
|
369
|
+
|
|
370
|
+
#*************************************************************************** #
|
|
371
|
+
|
|
372
|
+
B_linear = B_linear.T
|
|
373
|
+
B_quadratic = B_quadratic.T
|
|
374
|
+
|
|
375
|
+
np.savetxt(size_file_path,np.array((len(tcs),B_linear.shape[0],B_quadratic.shape[0],B_linear.shape[1])),fmt='%u')
|
|
376
|
+
print("Weights have been computed for "+ifo)
|
|
377
|
+
|
|
378
|
+
i += 1
|
|
379
|
+
|
|
380
|
+
#save the fnodes as a dat file if they're not already:
|
|
381
|
+
|
|
382
|
+
if scale_factor:
|
|
383
|
+
print("scale factor = %f"%scale_factor)
|
|
384
|
+
fnodes_linear /= scale_factor
|
|
385
|
+
fnodes_quadratic /= scale_factor
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
fnodes_linear_path = os.path.join(options.outpath,"fnodes_linear.dat")
|
|
389
|
+
fnodes_linear_file = open(fnodes_linear_path, "wb")
|
|
390
|
+
|
|
391
|
+
fnodes_linear.tofile(fnodes_linear_file)
|
|
392
|
+
fnodes_linear_file.close()
|
|
393
|
+
|
|
394
|
+
fnodes_quadratic_path = os.path.join(options.outpath,"fnodes_quadratic.dat")
|
|
395
|
+
fnodes_quadratic_file = open(fnodes_quadratic_path, "wb")
|
|
396
|
+
|
|
397
|
+
fnodes_quadratic.tofile(fnodes_quadratic_file)
|
|
398
|
+
fnodes_quadratic_file.close()
|
|
399
|
+
|
|
400
|
+
tcs_file_path = os.path.join(options.outpath,"tcs.dat")
|
|
401
|
+
tcs_file = open(tcs_file_path, "wb")
|
|
402
|
+
|
|
403
|
+
tcs.tofile(tcs_file)
|
|
404
|
+
tcs_file.close()
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
#!python
|
|
2
|
+
import sys
|
|
3
|
+
import argparse
|
|
4
|
+
from lalinference.wrapper import LALInferenceCBCWrapper
|
|
5
|
+
import os.path
|
|
6
|
+
|
|
7
|
+
if __name__=='__main__':
|
|
8
|
+
parser = argparse.ArgumentParser(description='Nested sampling for CBC analysis')
|
|
9
|
+
parser.add_argument('--nlive',type=int,default=1000)
|
|
10
|
+
parser.add_argument('--nthreads',type=int,default=1)
|
|
11
|
+
parser.add_argument('--verbose',action='store_true',default=False)
|
|
12
|
+
parser.add_argument('--outfile',required=True)
|
|
13
|
+
parser.add_argument('--plot',default=False,const=True,nargs='?')
|
|
14
|
+
parser.add_argument('--maxmcmc',default=5000,type=int)
|
|
15
|
+
parser.add_argument('--poolsize',default=500,type=int)
|
|
16
|
+
opts, args = parser.parse_known_args(sys.argv)
|
|
17
|
+
|
|
18
|
+
try:
|
|
19
|
+
import cpnest.model
|
|
20
|
+
except ImportError as exc:
|
|
21
|
+
if not "cpnest" in str(exc): # don't catch other errors
|
|
22
|
+
raise
|
|
23
|
+
exc.args = (
|
|
24
|
+
"failed to import cpnest, this is required to run {}, "
|
|
25
|
+
"please install it manually via `pip install cpnest`".format(
|
|
26
|
+
os.path.basename(__file__),
|
|
27
|
+
),
|
|
28
|
+
)
|
|
29
|
+
raise
|
|
30
|
+
|
|
31
|
+
class LIModel(cpnest.model.Model):
|
|
32
|
+
def __init__(self, *args, **kwargs):
|
|
33
|
+
super(LIModel, self).__init__()
|
|
34
|
+
self.limodel = LALInferenceCBCWrapper(sys.argv)
|
|
35
|
+
|
|
36
|
+
self.names = self.limodel.sampling_params()
|
|
37
|
+
bounds_dict = self.limodel.prior_bounds()
|
|
38
|
+
self.bounds = [bounds_dict[p] for p in self.names]
|
|
39
|
+
print('Sampling in {0}'.format(self.names))
|
|
40
|
+
print('Bounds: {0}'.format(self.bounds))
|
|
41
|
+
def log_likelihood(self, x):
|
|
42
|
+
logl=self.limodel.log_likelihood(x)
|
|
43
|
+
return logl
|
|
44
|
+
def log_prior(self, x):
|
|
45
|
+
logp=self.limodel.log_prior(x)
|
|
46
|
+
return logp
|
|
47
|
+
|
|
48
|
+
if __name__=='__main__':
|
|
49
|
+
print(args)
|
|
50
|
+
LIstate = LIModel(sys.argv)
|
|
51
|
+
nest=cpnest.CPNest(LIstate, nlive=opts.nlive, nthreads=opts.nthreads, verbose=opts.verbose, maxmcmc=opts.maxmcmc, poolsize=opts.poolsize)
|
|
52
|
+
nest.run()
|
|
53
|
+
if opts.plot:
|
|
54
|
+
nest.plot()
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
#if __name__=='__main__':
|
|
58
|
+
# main()
|