lalsuite 7.26.2.dev20251218__cp314-cp314t-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-314t-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-314t-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-314t-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-314t-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-314t-x86_64-linux-gnu.so +0 -0
- lalinference/_lalinference.cpython-314t-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-314t-x86_64-linux-gnu.so +0 -0
- lalinspiral/_lalinspiral_swig.py +18 -0
- lalinspiral/_thinca.cpython-314t-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-314t-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-314t-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-314t-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.dev20251218.data/scripts/cbcBayesBurstPPAnalysis +305 -0
- lalsuite-7.26.2.dev20251218.data/scripts/cbcBayesBurstPostProc +1364 -0
- lalsuite-7.26.2.dev20251218.data/scripts/cbcBayesCombinePTMCMCh5s +100 -0
- lalsuite-7.26.2.dev20251218.data/scripts/cbcBayesCombinePosteriors +235 -0
- lalsuite-7.26.2.dev20251218.data/scripts/cbcBayesCompPos +1121 -0
- lalsuite-7.26.2.dev20251218.data/scripts/cbcBayesDIEvidence +68 -0
- lalsuite-7.26.2.dev20251218.data/scripts/cbcBayesGraceDBinfo +182 -0
- lalsuite-7.26.2.dev20251218.data/scripts/cbcBayesMCMC2pos +314 -0
- lalsuite-7.26.2.dev20251218.data/scripts/cbcBayesPPAnalysis +322 -0
- lalsuite-7.26.2.dev20251218.data/scripts/cbcBayesPlotSpinDisk +42 -0
- lalsuite-7.26.2.dev20251218.data/scripts/cbcBayesPosToSimBurst +227 -0
- lalsuite-7.26.2.dev20251218.data/scripts/cbcBayesPosToSimInspiral +307 -0
- lalsuite-7.26.2.dev20251218.data/scripts/cbcBayesPostProc +1345 -0
- lalsuite-7.26.2.dev20251218.data/scripts/cbcBayesThermoInt +107 -0
- lalsuite-7.26.2.dev20251218.data/scripts/imrtgr_imr_consistency_test +796 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lal_cache +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lal_fftw_wisdom +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lal_fftwf_wisdom +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lal_path2cache +148 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lal_searchsum2cache +172 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lal_simd_detect +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lal_tconvert +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lal_version +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_ComputeAntennaPattern +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_ComputeFstatBenchmark +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_ComputeFstatLatticeCount +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_ComputeFstatMCUpperLimit +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_ComputeFstatistic_v2 +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_ComputePSD +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_CopySFTs +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_DistanceVsMass +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_DriveHoughMulti +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_FstatMetric_v2 +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_HierarchSearchGCT +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_HierarchicalSearch +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_MakeSFTDAG +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_MakeSFTs +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_Makefakedata_v4 +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_Makefakedata_v5 +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_PredictFstat +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_PrintDetectorState +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_SFTclean +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_SFTvalidate +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_StringAddFrame +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_StringSearch +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_Weave +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_WeaveCompare +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_WeaveConcat +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_WeaveSetup +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_WriteSFTsfromSFDBs +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_animate +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_binj +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_blindinj +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_cache +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_cafe +99 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_calfacs +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_cbc_stochasticbank +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_chirplen +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_coh_PTF_inspiral +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_coinj +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_combine_crosscorr_toplists +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_compareFstats +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_compareSFTs +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_cosmicstring_pipe +525 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_create_time_correction_ephemeris +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_dumpSFT +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_effdist +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_exc_resp +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_fftw_wisdom +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_fftwf_wisdom +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_fits_header_getval +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_fits_header_list +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_fits_overview +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_fits_table_list +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_fr_ninja +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_frextr +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_frinfo +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_frjoin +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_frread +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_frview +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_gwf2xml +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_heterodyne_pulsar +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_inspawgfile +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_inspfrinj +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_inspinj +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_inspiralDistance +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_knope +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_knope_automation_script +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_knope_collate_results +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_knope_result_page +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_makeblindinj +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_makeblindinj_himass +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_ninja +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_path2cache +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_power +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_power_likelihood_pipe +219 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_power_pipe +417 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_pulsar_crosscorr_v2 +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_pulsar_frequency_evolution +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_pulsar_parameter_estimation_nested +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_random_bank +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_randombank +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_run_pulsar_crosscorr_v2 +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_searchsum2cache +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_spec_avg +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_spec_avg_long +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_spec_coherence +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_spininj +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_splitSFTs +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_splitbank +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_ssbtodetector +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_string_apply_vetoes +171 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_string_calc_likelihood +172 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_string_contour_plotter +141 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_string_contour_plotter_largeloops +133 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_string_cs_gamma +110 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_string_cs_gamma_largeloops +119 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_string_final +1064 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_string_meas_likelihood +264 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_string_plot_binj +543 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_string_plot_likelihood +380 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_synthesizeBstatMC +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_synthesizeLVStats +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_synthesizeTransientStats +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_tconvert +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_tmpltbank +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_version +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalapps_xtefitstoframe +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalburst_cluster +156 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalburst_coinc +224 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalburst_cut +425 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalburst_gen_timeslides +254 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalburst_inj_pic +254 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalburst_injfind +170 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalburst_plot_tisi +165 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalburst_power_calc_likelihood +182 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalburst_power_final +1369 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalburst_power_meas_likelihood +206 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalburst_power_plot_binj +934 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalburst_power_plot_binjtf +302 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalburst_version +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalfr-cat +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalfr-cksum +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalfr-cut +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalfr-dump +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalfr-fmt +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalfr-paste +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalfr-print +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalfr-split +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalfr-stat +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalfr-stream +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalfr-vis +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalframe_version +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_bench +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_burst +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_burst_pp_pipe +220 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_coherence_test +139 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_compute_roq_weights +404 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_cpnest +58 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_datadump +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_evolve_spins_and_append_samples +202 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_injectedlike +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_merge_posteriors +57 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_mpi_wrapper +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_multi_pipe +144 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_nest +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_nest2pos +286 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_pipe +512 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_pp_pipe +229 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_review_test +362 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinference_version +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinspiral_injfind +206 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinspiral_thinca +240 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalinspiral_version +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalmetaio_version +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_ComputeAntennaPattern +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_ComputeFstatBenchmark +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_ComputeFstatLatticeCount +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_ComputeFstatMCUpperLimit +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_ComputeFstatistic_v2 +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_ComputePSD +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_CopyPublicSFTs +216 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_DriveHoughMulti +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_FstatMetric_v2 +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_HierarchSearchGCT +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_HierarchicalSearch +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_MakeSFTDAG +1142 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_MakeSFTs +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_Makefakedata_v4 +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_Makefakedata_v5 +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_MoveSFTs +208 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_PiecewiseSearch +963 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_PredictFstat +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_PrintDetectorState +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_SFTclean +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_SFTvalidate +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_Weave +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_WeaveCompare +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_WeaveConcat +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_WeaveSetup +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_WriteSFTsfromSFDBs +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_compareFstats +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_compareSFTs +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_create_time_correction_ephemeris +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_crosscorr_v2 +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_dumpSFT +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_fits_header_getval +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_fits_header_list +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_fits_overview +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_fits_table_list +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_frequency_evolution +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_heterodyne +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_knope +145 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_knope_automation_script +731 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_knope_collate_results +675 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_knope_result_page +2977 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_parameter_estimation_nested +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_spec_avg +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_spec_avg_long +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_spec_coherence +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_splitSFTs +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_ssbtodetector +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_synthesizeBstatMC +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_synthesizeLVStats +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_synthesizeTransientStats +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalpulsar_version +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalsim-bh-qnmode +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalsim-bh-ringdown +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalsim-bh-sphwf +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalsim-burst +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalsim-detector-noise +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalsim-detector-strain +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalsim-inject +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalsim-inspiral +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalsim-ns-eos-table +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalsim-ns-mass-radius +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalsim-ns-params +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalsim-sgwb +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalsim-unicorn +6 -0
- lalsuite-7.26.2.dev20251218.data/scripts/lalsimulation_version +6 -0
- lalsuite-7.26.2.dev20251218.dist-info/METADATA +90 -0
- lalsuite-7.26.2.dev20251218.dist-info/RECORD +733 -0
- lalsuite-7.26.2.dev20251218.dist-info/WHEEL +5 -0
- lalsuite-7.26.2.dev20251218.dist-info/licenses/COPYING +339 -0
- lalsuite-7.26.2.dev20251218.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-bd4575d4.so.20.5.0 +0 -0
- lalsuite.libs/liblalburst-183caa97.so.8.0.0 +0 -0
- lalsuite.libs/liblalframe-b2539a8a.so.14.0.3 +0 -0
- lalsuite.libs/liblalinference-b273091a.so.23.1.7 +0 -0
- lalsuite.libs/liblalinspiral-37f93c6c.so.18.0.2 +0 -0
- lalsuite.libs/liblalmetaio-f04c856f.so.11.0.1 +0 -0
- lalsuite.libs/liblalpulsar-950e7dfd.so.30.1.1 +0 -0
- lalsuite.libs/liblalsimulation-abda47f7.so.37.2.0 +0 -0
- lalsuite.libs/liblalsupport-ad162801.so.14.4.0 +0 -0
- lalsuite.libs/libmetaio-abda72ec.so.1.1.0 +0 -0
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
#!python
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
#
|
|
4
|
+
# cbcBayesPPAnalysis.py
|
|
5
|
+
#
|
|
6
|
+
# Copyright 2013
|
|
7
|
+
# Benjamin Farr <bfarr@u.northwestern.edu>,
|
|
8
|
+
# Will M. Farr <will.farr@ligo.org>,
|
|
9
|
+
# SalvatoreVitale <salvatore.vitale@ligo.org>
|
|
10
|
+
# Vivien Raymond <vivien.raymond@ligo.org>
|
|
11
|
+
#
|
|
12
|
+
# This program is free software; you can redistribute it and/or modify
|
|
13
|
+
# it under the terms of the GNU General Public License as published by
|
|
14
|
+
# the Free Software Foundation; either version 2 of the License, or
|
|
15
|
+
# (at your option) any later version.
|
|
16
|
+
#
|
|
17
|
+
# This program is distributed in the hope that it will be useful,
|
|
18
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
+
# GNU General Public License for more details.
|
|
21
|
+
#
|
|
22
|
+
# You should have received a copy of the GNU General Public License
|
|
23
|
+
# along with this program; if not, write to the Free Software
|
|
24
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
25
|
+
# MA 02110-1301, USA.
|
|
26
|
+
|
|
27
|
+
from igwn_ligolw import lsctables
|
|
28
|
+
from igwn_ligolw import utils
|
|
29
|
+
import matplotlib
|
|
30
|
+
matplotlib.use("Agg")
|
|
31
|
+
import matplotlib.pyplot as pp
|
|
32
|
+
import numpy as np
|
|
33
|
+
import optparse
|
|
34
|
+
import os
|
|
35
|
+
import os.path
|
|
36
|
+
import scipy.stats as ss
|
|
37
|
+
import string
|
|
38
|
+
from lalinference import bayespputils as bppu
|
|
39
|
+
|
|
40
|
+
posterior_name_to_latex_name = {
|
|
41
|
+
'm1' : r'$m_1$',
|
|
42
|
+
'm2' : r'$m_2$',
|
|
43
|
+
'eta' : r'$\eta$',
|
|
44
|
+
'q' : r'$q$',
|
|
45
|
+
'mc' : r'$\mathcal{M}$',
|
|
46
|
+
'distance' : r'$d$',
|
|
47
|
+
'time' : r'$t$',
|
|
48
|
+
'ra' : r'$\alpha$',
|
|
49
|
+
'dec' : r'$\delta$',
|
|
50
|
+
'phi_orb' : r'$\phi_\mathrm{orb}$',
|
|
51
|
+
'psi' : r'$\psi$',
|
|
52
|
+
'iota' : r'$\iota$',
|
|
53
|
+
'a1' : r'$a_1$',
|
|
54
|
+
'a2' : r'$a_2$',
|
|
55
|
+
'theta1' : r'$\theta_1$',
|
|
56
|
+
'theta2' : r'$\theta_2$',
|
|
57
|
+
'phi1' : r'$\phi_1$',
|
|
58
|
+
'phi2' : r'$\phi_2$',
|
|
59
|
+
'phi12':r'$\phi_{12}$',
|
|
60
|
+
'phi_jl':r'$\phi_{jl}$',
|
|
61
|
+
'theta_jn':r'$\theta_{jn}$',
|
|
62
|
+
'tilt1':r'$\tau_1$',
|
|
63
|
+
'tilt2':r'$\tau_2$',
|
|
64
|
+
'dchiMinus2':r'$d\chi_{-2}$',
|
|
65
|
+
'dchiMinus1':r'$d\chi_{-1}$',
|
|
66
|
+
'dchi0':r'$d\chi_0$',
|
|
67
|
+
'dchi1':r'$d\chi_1$',
|
|
68
|
+
'dchi2':r'$d\chi_2$',
|
|
69
|
+
'dchi3':r'$d\chi_3$',
|
|
70
|
+
'dchi3S':r'$d\chi_{3S}$',
|
|
71
|
+
'dchi3NS':r'$d\chi_{3NS}$',
|
|
72
|
+
'dchi4':r'$d\chi_4$',
|
|
73
|
+
'dchi4S':r'$d\chi_{4S}$',
|
|
74
|
+
'dchi4NS':r'$d\chi_{4NS}$',
|
|
75
|
+
'dchi5':r'$d\chi_5$',
|
|
76
|
+
'dchi5S':r'$d\chi_{5S}$',
|
|
77
|
+
'dchi5NS':r'$d\chi_{5NS}$',
|
|
78
|
+
'dchi5l':r'$d\chi_{5l}$',
|
|
79
|
+
'dchi5lS':r'$d\chi_{5lS}$',
|
|
80
|
+
'dchi5lNS':r'$d\chi_{5lNS}$',
|
|
81
|
+
'dchi6':r'$d\chi_6$',
|
|
82
|
+
'dchi6S':r'$d\chi_{6S}$',
|
|
83
|
+
'dchi6NS':r'$d\chi_{6NS}$',
|
|
84
|
+
'dchi6l':r'$d\chi_{6l}$',
|
|
85
|
+
'dchi7':r'$d\chi_7$',
|
|
86
|
+
'dchi7S':r'$d\chi_{7S}$',
|
|
87
|
+
'dchi7NS':r'$d\chi_{7NS}$',
|
|
88
|
+
'dsigma1':r'$d\sigma_1$',
|
|
89
|
+
'dsigma2':r'$d\sigma_2$',
|
|
90
|
+
'dsigma3':r'$d\sigma_3$',
|
|
91
|
+
'dsigma4':r'$d\sigma_4$',
|
|
92
|
+
'dalpha1':r'$d\alpha_1$',
|
|
93
|
+
'dalpha2':r'$d\alpha_2$',
|
|
94
|
+
'dalpha3':r'$d\alpha_3$',
|
|
95
|
+
'dalpha4':r'$d\alpha_4$',
|
|
96
|
+
'dalpha5':r'$d\alpha_5$',
|
|
97
|
+
'dbeta1':r'$d\beta_1$',
|
|
98
|
+
'dbeta2':r'$d\beta_2$',
|
|
99
|
+
'dbeta3':r'$d\beta_3$',
|
|
100
|
+
'dbeta4':r'$d\beta_4$',
|
|
101
|
+
'dchikappaS':r'$d\chi_{\kappa_{S}}$',
|
|
102
|
+
'dchikappaA':r'$d\chi_{\kappa_{A}}$'
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
def fractional_rank(x, xs):
|
|
106
|
+
"""Returns the fraction of samples, ``xs``, that fall below the value
|
|
107
|
+
``x``.
|
|
108
|
+
|
|
109
|
+
"""
|
|
110
|
+
nbelow = np.sum(xs < x)
|
|
111
|
+
|
|
112
|
+
return float(nbelow)/float(xs.shape[0])
|
|
113
|
+
|
|
114
|
+
def pp_plot(ps, title=None, outfile=None):
|
|
115
|
+
"""Generates a p-p plot for the given ps.
|
|
116
|
+
|
|
117
|
+
:param ps: The p-values whose cumulative distribution is to be
|
|
118
|
+
plotted.
|
|
119
|
+
|
|
120
|
+
:param title: An (optional) title for the plot.
|
|
121
|
+
|
|
122
|
+
:param outfile: An (optional) basename for the plot file; both
|
|
123
|
+
basename.png and basename.pdf will be created.
|
|
124
|
+
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
ps = np.atleast_1d(ps)
|
|
128
|
+
ps = np.sort(ps)
|
|
129
|
+
ys = np.zeros(ps.shape[0]+2)
|
|
130
|
+
ys[:-1] = np.linspace(0, 1, ps.shape[0]+1)
|
|
131
|
+
ys[-1] = 1.0
|
|
132
|
+
xs = np.zeros(ps.shape[0]+2)
|
|
133
|
+
xs[-1] = 1.0
|
|
134
|
+
xs[1:-1] = ps
|
|
135
|
+
|
|
136
|
+
pp.figure(figsize=(6,6), dpi=100)
|
|
137
|
+
|
|
138
|
+
for i in range(10):
|
|
139
|
+
syn_ps = np.random.uniform(size=ps.shape[0])
|
|
140
|
+
syn_xs = np.zeros(ps.shape[0]+2)
|
|
141
|
+
syn_xs[-1] = 1.0
|
|
142
|
+
syn_xs[1:-1] = np.sort(syn_ps)
|
|
143
|
+
pp.plot(syn_xs, ys, '-', color='0.9')
|
|
144
|
+
|
|
145
|
+
pp.plot(xs, ys, '-k')
|
|
146
|
+
pp.plot(ys, ys, '--k')
|
|
147
|
+
|
|
148
|
+
pp.xlabel(r'$p$')
|
|
149
|
+
pp.ylabel(r'$P(p)$')
|
|
150
|
+
if title is not None:
|
|
151
|
+
pp.title(title)
|
|
152
|
+
|
|
153
|
+
if outfile is not None:
|
|
154
|
+
pp.savefig(outfile + '.png')
|
|
155
|
+
pp.savefig(outfile + '.pdf')
|
|
156
|
+
|
|
157
|
+
def pp_kstest_pvalue(ps):
|
|
158
|
+
"""Returns the K-S p-value for the test of the given ``ps`` against a
|
|
159
|
+
uniform distribution on [0,1].
|
|
160
|
+
|
|
161
|
+
"""
|
|
162
|
+
stat, p = ss.kstest(ps, lambda x: x)
|
|
163
|
+
|
|
164
|
+
return p
|
|
165
|
+
|
|
166
|
+
def read_posterior_samples(f,injrow):
|
|
167
|
+
"""Returns a bppu posterior sample object
|
|
168
|
+
"""
|
|
169
|
+
peparser=bppu.PEOutputParser('common')
|
|
170
|
+
commonResultsObj=peparser.parse(open(f,'r'))
|
|
171
|
+
data = bppu.Posterior(commonResultsObj,SimInspiralTableEntry=injrow,injFref=100.0)
|
|
172
|
+
# add tilts, comp masses, tidal...
|
|
173
|
+
try:
|
|
174
|
+
data.extend_posterior()
|
|
175
|
+
except Exception as e:
|
|
176
|
+
pass
|
|
177
|
+
return data
|
|
178
|
+
|
|
179
|
+
def output_html(outdir, ks_pvalues, injnum,skypp=False):
|
|
180
|
+
"""Outputs the HTML page summarizing the results.
|
|
181
|
+
|
|
182
|
+
"""
|
|
183
|
+
table_row_template = string.Template("""<tr> <td> ${name} </td>
|
|
184
|
+
<td> ${pvalue} </td>
|
|
185
|
+
<td> <img src="${name}.png" alt="${name} p-p plot" width="300" height="300" /> </td> <td> <a href="${name}.png">PNG</a> <a href="${name}.pdf">PDF</a> <a href="${name}-ps.dat">p-values</a> </td> </tr>
|
|
186
|
+
|
|
187
|
+
""")
|
|
188
|
+
|
|
189
|
+
html_template = string.Template("""<!DOCTYPE html>
|
|
190
|
+
<html>
|
|
191
|
+
<head>
|
|
192
|
+
<title> LALInference P-P Plots </title>
|
|
193
|
+
</head>
|
|
194
|
+
|
|
195
|
+
<body>
|
|
196
|
+
|
|
197
|
+
<p>This page was generated with the output of ${injnum} simulations.</p>
|
|
198
|
+
${linkstr}
|
|
199
|
+
<br>
|
|
200
|
+
<table border="1">
|
|
201
|
+
<tr>
|
|
202
|
+
<th> Parameter </th> <th> K-S p-value </th> <th> p-p Plot </th> <th> Links </th>
|
|
203
|
+
</tr>
|
|
204
|
+
|
|
205
|
+
${tablerows}
|
|
206
|
+
${skypp}
|
|
207
|
+
</table>
|
|
208
|
+
|
|
209
|
+
</body>
|
|
210
|
+
</html>
|
|
211
|
+
|
|
212
|
+
""")
|
|
213
|
+
|
|
214
|
+
# If this script is run with lalinference_pp_pipe then the following directory structure should exist
|
|
215
|
+
links="<ul>"
|
|
216
|
+
if os.path.isdir(os.path.join(outdir,'prior')):
|
|
217
|
+
links+='<li><a href="prior/">Prior Samples used in this test</a>'
|
|
218
|
+
if os.path.isdir(os.path.join(outdir,'injections')):
|
|
219
|
+
links+='<li><a href="injections/">Posteriors for each injection</a>'
|
|
220
|
+
links+='</ul>'
|
|
221
|
+
|
|
222
|
+
tablerows = []
|
|
223
|
+
for par, pv in ks_pvalues.items():
|
|
224
|
+
tablerows.append(table_row_template.substitute(name=par, pvalue=str(pv)))
|
|
225
|
+
tablerows = '\n'.join(tablerows)
|
|
226
|
+
|
|
227
|
+
if skypp is False:
|
|
228
|
+
skysub=''
|
|
229
|
+
else:
|
|
230
|
+
skysub='<tr> <td> sky </td> <td> See Plot </td> <td> <img src="sky_p-p.png" alt="sky p-p plot" width="300" height="300" /> </td> <td> <a href="sky_p-p.png">PNG</a> <a href="sky_p-p.pdf">PDF</a></td> </tr>'
|
|
231
|
+
|
|
232
|
+
html = html_template.substitute(tablerows=tablerows, injnum=str(injnum), linkstr=links,skypp=skysub)
|
|
233
|
+
|
|
234
|
+
with open(os.path.join(outdir, 'index.html'), 'w') as out:
|
|
235
|
+
out.write(html)
|
|
236
|
+
|
|
237
|
+
if __name__ == '__main__':
|
|
238
|
+
USAGE='''%prog [options] posfile1.dat posfile2.dat ...
|
|
239
|
+
Generate PP analysis for a set of injections. posfiles must be in same order as injections.'''
|
|
240
|
+
parser = optparse.OptionParser(USAGE)
|
|
241
|
+
parser.add_option('--injXML', action='store', type='string', dest='injxml',
|
|
242
|
+
help='sim_inspiral XML file for injections')
|
|
243
|
+
parser.add_option('--outdir', action='store', type='string',
|
|
244
|
+
help='output directory')
|
|
245
|
+
|
|
246
|
+
parser.add_option('--postsamples', action='store', type='string',
|
|
247
|
+
default='posterior_samples.dat',
|
|
248
|
+
help='filename for posterior samples files')
|
|
249
|
+
|
|
250
|
+
parser.add_option('--par', action='append', default=[], type='string',
|
|
251
|
+
help='parameter names for the p-p plot')
|
|
252
|
+
parser.add_option('--skyPPfolder', action='store',dest='skypp',type='string',default=None,help='Path to folder containing png/pdf with 2D skyarea PP plots')
|
|
253
|
+
|
|
254
|
+
(options, args) = parser.parse_args()
|
|
255
|
+
|
|
256
|
+
injs = lsctables.SimInspiralTable.get_table(utils.load_filename(options.injxml))
|
|
257
|
+
|
|
258
|
+
if options.par == []:
|
|
259
|
+
parameters = ['m1', 'm2', 'mc', 'eta', 'q', 'theta_jn', 'a1', 'a2', 'tilt1', 'tilt2', 'phi12', 'phi_jl', 'ra', 'dec', 'distance', 'time', 'phi_orb', 'psi']
|
|
260
|
+
else:
|
|
261
|
+
parameters = options.par
|
|
262
|
+
|
|
263
|
+
try:
|
|
264
|
+
os.mkdir(options.outdir)
|
|
265
|
+
except:
|
|
266
|
+
pass
|
|
267
|
+
|
|
268
|
+
pvalues = { }
|
|
269
|
+
posfiles=args
|
|
270
|
+
Ninj=0
|
|
271
|
+
for index,posfile in enumerate(posfiles):
|
|
272
|
+
try:
|
|
273
|
+
psamples = read_posterior_samples(posfile,injs[index])
|
|
274
|
+
Ninj+=1
|
|
275
|
+
except:
|
|
276
|
+
# Couldn't read the posterior samples or the XML.
|
|
277
|
+
continue
|
|
278
|
+
|
|
279
|
+
for par in parameters:
|
|
280
|
+
try:
|
|
281
|
+
samples = psamples[par].samples
|
|
282
|
+
true_value=psamples[par].injval
|
|
283
|
+
p = fractional_rank(true_value, samples)
|
|
284
|
+
try:
|
|
285
|
+
pvalues[par].append(p)
|
|
286
|
+
except:
|
|
287
|
+
pvalues[par] = [p]
|
|
288
|
+
except:
|
|
289
|
+
# Couldn't read samples for parameter or injection
|
|
290
|
+
continue
|
|
291
|
+
|
|
292
|
+
# Generate plots, K-S tests
|
|
293
|
+
ks_pvalues = {}
|
|
294
|
+
for par, ps in pvalues.items():
|
|
295
|
+
print("Trying to create the plot for",par,".")
|
|
296
|
+
try:
|
|
297
|
+
pp_plot(ps, title=posterior_name_to_latex_name[par], outfile=os.path.join(options.outdir, par))
|
|
298
|
+
pp.clf()
|
|
299
|
+
ks_pvalues[par] = pp_kstest_pvalue(ps)
|
|
300
|
+
np.savetxt(os.path.join(options.outdir, par + '-ps.dat'), np.reshape(ps, (-1, 1)))
|
|
301
|
+
except:
|
|
302
|
+
print("Could not create the plot for",par,"!!!")
|
|
303
|
+
|
|
304
|
+
skypp=False
|
|
305
|
+
if options.skypp is not None:
|
|
306
|
+
found=0
|
|
307
|
+
if os.path.isdir(options.skypp):
|
|
308
|
+
for i in ['png','pdf']:
|
|
309
|
+
if os.path.isfile(os.path.join(options.skypp,'p-p.%s'%i)):
|
|
310
|
+
inf=os.path.join(os.path.realpath(options.skypp),'p-p.%s'%i)
|
|
311
|
+
outf=os.path.join(options.outdir,'sky_p-p.%s'%i)
|
|
312
|
+
os.system('cp %s %s'%(inf,outf))
|
|
313
|
+
found+=1
|
|
314
|
+
else:
|
|
315
|
+
print("could not find %s\n"%os.path.join(options.skypp,'p-p.%s'%i))
|
|
316
|
+
else:
|
|
317
|
+
print("skyPPfolder %s doesn't seem to be a valid folder or cannot be read. Skipping skyPP plot\n"%os.path.realpath(options.skypp))
|
|
318
|
+
|
|
319
|
+
if found>0:
|
|
320
|
+
skypp=True
|
|
321
|
+
|
|
322
|
+
output_html(options.outdir, ks_pvalues, Ninj ,skypp=skypp )
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
#!python
|
|
2
|
+
# Ben Farr 2016
|
|
3
|
+
|
|
4
|
+
import os
|
|
5
|
+
from matplotlib import (use, rc)
|
|
6
|
+
use('agg')
|
|
7
|
+
|
|
8
|
+
rc('text', usetex=True)
|
|
9
|
+
rc('font', family='lmodern')
|
|
10
|
+
|
|
11
|
+
small, big = 10, 12
|
|
12
|
+
rc('axes', labelsize=big)
|
|
13
|
+
rc('font',size=big)
|
|
14
|
+
rc('legend', fontsize=small)
|
|
15
|
+
rc('xtick', labelsize=small)
|
|
16
|
+
rc('ytick', labelsize=small)
|
|
17
|
+
|
|
18
|
+
from lalinference.plot import make_disk_plot
|
|
19
|
+
|
|
20
|
+
USAGE='What this does is : '
|
|
21
|
+
|
|
22
|
+
if __name__=='__main__':
|
|
23
|
+
import sys
|
|
24
|
+
from optparse import OptionParser
|
|
25
|
+
from lalinference import bayespputils as bppu
|
|
26
|
+
|
|
27
|
+
parser=OptionParser(USAGE)
|
|
28
|
+
parser.add_option("-o","--outpath", dest="outpath",default=None, help="make page and plots in DIR", metavar="DIR")
|
|
29
|
+
parser.add_option("-d","--data",dest="data",help="Posteriors samples file (must be in common format)")
|
|
30
|
+
(opts,args)=parser.parse_args()
|
|
31
|
+
|
|
32
|
+
if opts.outpath is None:
|
|
33
|
+
opts.outpath=os.getcwd()
|
|
34
|
+
if not os.path.isfile(opts.data):
|
|
35
|
+
print("Cannot find posterior file %s\n"%opts.data)
|
|
36
|
+
sys.exit(1)
|
|
37
|
+
else:
|
|
38
|
+
peparser=bppu.PEOutputParser('common')
|
|
39
|
+
commonResultsObj=peparser.parse(open(opts.data,'r'),info=[None,None])
|
|
40
|
+
ps,samps = commonResultsObj
|
|
41
|
+
pos = bppu.Posterior(commonResultsObj)
|
|
42
|
+
make_disk_plot(pos,opts.outpath)
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
#!python
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
# cbcBayesPosToSimBurst.py
|
|
4
|
+
# C2014 Salvatore Vitale <salvatore.vitale@ligo.org>
|
|
5
|
+
#
|
|
6
|
+
# based on
|
|
7
|
+
#
|
|
8
|
+
# cbcBayesPosToSimInspiral.py
|
|
9
|
+
#
|
|
10
|
+
# Copyright 2013
|
|
11
|
+
# Benjamin Farr <bfarr@u.northwestern.edu>,
|
|
12
|
+
# Will M. Farr <will.farr@ligo.org>,
|
|
13
|
+
# John Veitch <john.veitch@ligo.org>
|
|
14
|
+
#
|
|
15
|
+
#
|
|
16
|
+
# This program is free software; you can redistribute it and/or modify
|
|
17
|
+
# it under the terms of the GNU General Public License as published by
|
|
18
|
+
# the Free Software Foundation; either version 2 of the License, or
|
|
19
|
+
# (at your option) any later version.
|
|
20
|
+
#
|
|
21
|
+
# This program is distributed in the hope that it will be useful,
|
|
22
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
23
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
24
|
+
# GNU General Public License for more details.
|
|
25
|
+
#
|
|
26
|
+
# You should have received a copy of the GNU General Public License
|
|
27
|
+
# along with this program; if not, write to the Free Software
|
|
28
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
29
|
+
# MA 02110-1301, USA.
|
|
30
|
+
"""
|
|
31
|
+
Populate a sim_inspiral table with random draws from an ASCII table.
|
|
32
|
+
"""
|
|
33
|
+
from optparse import Option, OptionParser
|
|
34
|
+
import numpy as np
|
|
35
|
+
from igwn_ligolw import ligolw
|
|
36
|
+
from igwn_ligolw import lsctables
|
|
37
|
+
import igwn_ligolw.utils.process
|
|
38
|
+
|
|
39
|
+
# Create a datatype for all relavent fields to be filled in the sim_inspiral table
|
|
40
|
+
sim_inspiral_dt = [
|
|
41
|
+
('waveform','|S64'),
|
|
42
|
+
('frequency', 'f8'),
|
|
43
|
+
('q', 'f8'),
|
|
44
|
+
('bandwidth', 'f8'),
|
|
45
|
+
('duration', 'f8'),
|
|
46
|
+
('hrss', 'f8'),
|
|
47
|
+
('time_geocent_gps', 'i4'),
|
|
48
|
+
('time_geocent_gps_ns', 'i4'),
|
|
49
|
+
('ra','f8'),
|
|
50
|
+
('dec', 'f8'),
|
|
51
|
+
('pol_ellipse_angle', 'f8'),
|
|
52
|
+
('pol_ellipse_e', 'f8'),
|
|
53
|
+
('psi', 'f8'),
|
|
54
|
+
('amplitude', 'f8'),
|
|
55
|
+
('egw_over_rsquared', 'f8'),
|
|
56
|
+
('waveform_number', 'i8'),
|
|
57
|
+
]
|
|
58
|
+
|
|
59
|
+
def get_input_filename(parser, args):
|
|
60
|
+
"""Determine name of input: either the sole positional command line argument,
|
|
61
|
+
or /dev/stdin."""
|
|
62
|
+
if len(args) == 0:
|
|
63
|
+
infilename = '/dev/stdin'
|
|
64
|
+
elif len(args) == 1:
|
|
65
|
+
infilename = args[0]
|
|
66
|
+
else:
|
|
67
|
+
parser.error("Too many command line arguments.")
|
|
68
|
+
return infilename
|
|
69
|
+
|
|
70
|
+
def standardize_param_name(params, possible_names, desired_name):
|
|
71
|
+
for name in possible_names:
|
|
72
|
+
if name in params: params[params.index(name)] = desired_name
|
|
73
|
+
|
|
74
|
+
def standardize_param_names(params):
|
|
75
|
+
standardize_param_name(params, ['frequency','freq',], 'frequency')
|
|
76
|
+
standardize_param_name(params, ['q','Q','quality'], 'q')
|
|
77
|
+
standardize_param_name(params, ['duration', 'tau'], 'duration')
|
|
78
|
+
standardize_param_name(params, ['ra','longitude','rightascension'],'ra')
|
|
79
|
+
standardize_param_name(params, ['dec','latitude','declination'],'dec')
|
|
80
|
+
standardize_param_name(params, ['alpha','polar_angle','pol_ellipse_angle'], 'pol_ellipse_angle')
|
|
81
|
+
standardize_param_name(params, ['polar_eccentricity','eccentricity','pol_ellipse_e'], 'pol_ellipse_e')
|
|
82
|
+
standardize_param_name(params, ['psi', 'polarisation','polarization'],'psi')
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
def compute_duration_parameterizations(samples):
|
|
86
|
+
from math import sqrt
|
|
87
|
+
params = samples.dtype.names
|
|
88
|
+
has_q = 'q' in params
|
|
89
|
+
has_dur='duration' in params
|
|
90
|
+
has_frequency = 'frequency' in params
|
|
91
|
+
if has_q:
|
|
92
|
+
q = samples['q']
|
|
93
|
+
if has_frequency:
|
|
94
|
+
duration=[i/sqrt(2)/np.pi/j for (i,j) in zip(q,samples['frequency'])]
|
|
95
|
+
else:
|
|
96
|
+
duration=np.nan
|
|
97
|
+
elif has_dur:
|
|
98
|
+
duration = samples['duration']
|
|
99
|
+
if has_frequency:
|
|
100
|
+
q=[sqrt(2)*np.pi*i*j for (i,j) in zip(duration,samples['frequency'])]
|
|
101
|
+
else:
|
|
102
|
+
q=np.nan
|
|
103
|
+
return q,duration
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
if __name__ == "__main__":
|
|
107
|
+
parser = OptionParser(
|
|
108
|
+
description = __doc__,
|
|
109
|
+
usage = "%prog [options] [INPUT]",
|
|
110
|
+
option_list = [
|
|
111
|
+
Option("-o", "--output", metavar="FILE.xml",
|
|
112
|
+
help="name of output XML file"),
|
|
113
|
+
Option("--num-of-injs", metavar="NUM", type=int, default=200,
|
|
114
|
+
help="number of injections"),
|
|
115
|
+
Option("--approx", metavar="APPROX", default="SineGaussianF",
|
|
116
|
+
help="approximant to be injected"),
|
|
117
|
+
Option("--taper", metavar="TAPER", default="TAPER_NONE",
|
|
118
|
+
help="Taper methods for injections"),
|
|
119
|
+
Option("--flow", metavar="FLOW", type=float, default=None,
|
|
120
|
+
help="Taper methods for injections"),
|
|
121
|
+
]
|
|
122
|
+
)
|
|
123
|
+
|
|
124
|
+
opts, args = parser.parse_args()
|
|
125
|
+
infilename = get_input_filename(parser, args)
|
|
126
|
+
|
|
127
|
+
# Read in ASCII table, assuming column names are the first line
|
|
128
|
+
with open(infilename, 'r') as inp:
|
|
129
|
+
params = inp.readline().split()
|
|
130
|
+
standardize_param_names(params)
|
|
131
|
+
samples = np.loadtxt(inp, dtype=[(p, np.float) for p in params])
|
|
132
|
+
|
|
133
|
+
# Choose subset for sim_inspiral_table
|
|
134
|
+
N = opts.num_of_injs
|
|
135
|
+
selection = np.arange(N)
|
|
136
|
+
np.random.shuffle(selection)
|
|
137
|
+
samples = samples[selection]
|
|
138
|
+
|
|
139
|
+
# Create an empty structured array with names indentical to sim_inspiral fields
|
|
140
|
+
injections = np.zeros((N,), dtype=sim_inspiral_dt)
|
|
141
|
+
|
|
142
|
+
# Determine all mass parameterizations
|
|
143
|
+
q, dur = compute_duration_parameterizations(samples)
|
|
144
|
+
|
|
145
|
+
# Get cycle numbers as simulation_ids
|
|
146
|
+
ids = range(N)
|
|
147
|
+
|
|
148
|
+
# Compute polar parameters from alpha if given
|
|
149
|
+
if 'alpha' in params:
|
|
150
|
+
# LIB may use use the convention that pol_ellipse_angle=alpha).
|
|
151
|
+
injections['pol_ellipse_angle'] = samples['alpha']
|
|
152
|
+
elif 'pol_ellipse_angle' in params:
|
|
153
|
+
injections['pol_ellipse_angle'] = samples['pol_ellipse_angle']
|
|
154
|
+
else:
|
|
155
|
+
injections['pol_ellipse_angle'] = None
|
|
156
|
+
|
|
157
|
+
if 'polar_eccentricity' in params:
|
|
158
|
+
injections['pol_ellipse_e']= samples['polar_eccentricity']
|
|
159
|
+
elif 'pol_ellipse_e' in params:
|
|
160
|
+
injections['pol_ellipse_e']= samples['pol_ellipse_e']
|
|
161
|
+
else:
|
|
162
|
+
injections['pol_ellipse_e']=None
|
|
163
|
+
print(params)
|
|
164
|
+
print(samples['pol_ellipse_e'])
|
|
165
|
+
print(injections['pol_ellipse_e'])
|
|
166
|
+
if 'bandwidth' in params:
|
|
167
|
+
injections['bandwidth'] = samples['bandwidth']
|
|
168
|
+
else:
|
|
169
|
+
injections['bandwidth'] = np.nan
|
|
170
|
+
if 'time' in params:
|
|
171
|
+
injections['time_geocent_gps'] = np.modf(samples['time'])[1]
|
|
172
|
+
injections['time_geocent_gps_ns'] = np.modf(samples['time'])[0] * 10**9
|
|
173
|
+
elif 'time_min' in params and 'time_max' in params:
|
|
174
|
+
est_time=samples['time_min']+0.5*(samples['time_max']-samples['time_min'])
|
|
175
|
+
injections['time_geocent_gps'] = np.modf(est_time)[1]
|
|
176
|
+
injections['time_geocent_gps_ns'] = np.modf(est_time)[0] * 10**9
|
|
177
|
+
|
|
178
|
+
# Populate structured array
|
|
179
|
+
injections['waveform'] = [opts.approx for i in range(N)]
|
|
180
|
+
try:
|
|
181
|
+
injections['frequency'] = samples['frequency']
|
|
182
|
+
except:
|
|
183
|
+
injections['frequency']=[np.nan for i in samples['ra']]
|
|
184
|
+
injections['duration'] = dur
|
|
185
|
+
injections['q'] = q
|
|
186
|
+
try:
|
|
187
|
+
injections['hrss'] = samples['hrss']
|
|
188
|
+
except:
|
|
189
|
+
injections['hrss'] = np.exp(samples['loghrss'])
|
|
190
|
+
injections['ra'] = samples['ra']
|
|
191
|
+
injections['dec'] = samples['dec']
|
|
192
|
+
injections['psi'] = samples['psi']
|
|
193
|
+
|
|
194
|
+
# Create a new XML document
|
|
195
|
+
xmldoc = ligolw.Document()
|
|
196
|
+
xmldoc.appendChild(ligolw.LIGO_LW())
|
|
197
|
+
proc = igwn_ligolw.utils.process.register_to_xmldoc(doc, sys.argv[0], {})
|
|
198
|
+
|
|
199
|
+
#create timeslide table and set offsets to 0
|
|
200
|
+
timeslide_table = lsctables.TimeSlideTable.new()
|
|
201
|
+
timeslide_id = timeslide_table.append_offsetvector(
|
|
202
|
+
{'H1':0,'V1':0,'L1':0,'H2':0}, proc)
|
|
203
|
+
|
|
204
|
+
sim_table = lsctables.SimBurstTable.new()
|
|
205
|
+
xmldoc.childNodes[0].appendChild(timeslide_table)
|
|
206
|
+
xmldoc.childNodes[0].appendChild(sim_table)
|
|
207
|
+
|
|
208
|
+
# Add empty rows to the sim_inspiral table
|
|
209
|
+
for inj in range(N):
|
|
210
|
+
row = sim_table.RowType()
|
|
211
|
+
for slot in row.__slots__: setattr(row, slot, 0)
|
|
212
|
+
sim_table.append(row)
|
|
213
|
+
|
|
214
|
+
# Fill in IDs
|
|
215
|
+
for i,row in enumerate(sim_table):
|
|
216
|
+
row.process_id = proc.process_id
|
|
217
|
+
row.simulation_id = sim_table.get_next_id()
|
|
218
|
+
row.time_slide_id = timeslide_id
|
|
219
|
+
# Fill rows
|
|
220
|
+
for field in injections.dtype.names:
|
|
221
|
+
vals = injections[field]
|
|
222
|
+
for row, val in zip(sim_table, vals): setattr(row, field, val)
|
|
223
|
+
|
|
224
|
+
# Write file
|
|
225
|
+
output_file = open(opts.output, 'w')
|
|
226
|
+
xmldoc.write(output_file)
|
|
227
|
+
output_file.close()
|