lalsuite 7.26.2.dev20251210__cp312-cp312-macosx_12_0_arm64.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/.dylibs/Python +0 -0
- lal/.dylibs/libaec.0.dylib +0 -0
- lal/.dylibs/libbrotlicommon.1.2.0.dylib +0 -0
- lal/.dylibs/libbrotlidec.1.2.0.dylib +0 -0
- lal/.dylibs/libcfitsio.10.4.4.1.dylib +0 -0
- lal/.dylibs/libcrypto.3.dylib +0 -0
- lal/.dylibs/libcurl.4.dylib +0 -0
- lal/.dylibs/libfftw3.3.dylib +0 -0
- lal/.dylibs/libfftw3f.3.dylib +0 -0
- lal/.dylibs/libframel.8.48.4.dylib +0 -0
- lal/.dylibs/libgsl.28.dylib +0 -0
- lal/.dylibs/libgslcblas.0.dylib +0 -0
- lal/.dylibs/libhdf5.310.dylib +0 -0
- lal/.dylibs/libhdf5_hl.310.dylib +0 -0
- lal/.dylibs/libiconv.2.dylib +0 -0
- lal/.dylibs/libidn2.0.dylib +0 -0
- lal/.dylibs/libintl.8.dylib +0 -0
- lal/.dylibs/liblal.20.dylib +0 -0
- lal/.dylibs/liblalburst.8.dylib +0 -0
- lal/.dylibs/liblalframe.14.dylib +0 -0
- lal/.dylibs/liblalinference.23.dylib +0 -0
- lal/.dylibs/liblalinspiral.18.dylib +0 -0
- lal/.dylibs/liblalmetaio.11.dylib +0 -0
- lal/.dylibs/liblalpulsar.30.dylib +0 -0
- lal/.dylibs/liblalsimulation.37.dylib +0 -0
- lal/.dylibs/liblalsupport.14.dylib +0 -0
- lal/.dylibs/libmetaio.1.dylib +0 -0
- lal/.dylibs/libnghttp2.14.dylib +0 -0
- lal/.dylibs/libpsl.5.dylib +0 -0
- lal/.dylibs/libssl.3.dylib +0 -0
- lal/.dylibs/libsz.2.dylib +0 -0
- lal/.dylibs/libunistring.5.dylib +0 -0
- lal/.dylibs/libz.1.3.1.dylib +0 -0
- lal/.dylibs/libzstd.1.5.7.dylib +0 -0
- lal/__init__.py +145 -0
- lal/_lal.cpython-312-darwin.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-darwin.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-darwin.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-darwin.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-darwin.so +0 -0
- lalinference/_lalinference.cpython-312-darwin.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-darwin.so +0 -0
- lalinspiral/_lalinspiral_swig.py +18 -0
- lalinspiral/_thinca.cpython-312-darwin.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-darwin.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-darwin.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-darwin.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.dev20251210.data/scripts/cbcBayesBurstPPAnalysis +305 -0
- lalsuite-7.26.2.dev20251210.data/scripts/cbcBayesBurstPostProc +1364 -0
- lalsuite-7.26.2.dev20251210.data/scripts/cbcBayesCombinePTMCMCh5s +100 -0
- lalsuite-7.26.2.dev20251210.data/scripts/cbcBayesCombinePosteriors +235 -0
- lalsuite-7.26.2.dev20251210.data/scripts/cbcBayesCompPos +1121 -0
- lalsuite-7.26.2.dev20251210.data/scripts/cbcBayesDIEvidence +68 -0
- lalsuite-7.26.2.dev20251210.data/scripts/cbcBayesGraceDBinfo +182 -0
- lalsuite-7.26.2.dev20251210.data/scripts/cbcBayesMCMC2pos +314 -0
- lalsuite-7.26.2.dev20251210.data/scripts/cbcBayesPPAnalysis +322 -0
- lalsuite-7.26.2.dev20251210.data/scripts/cbcBayesPlotSpinDisk +42 -0
- lalsuite-7.26.2.dev20251210.data/scripts/cbcBayesPosToSimBurst +227 -0
- lalsuite-7.26.2.dev20251210.data/scripts/cbcBayesPosToSimInspiral +307 -0
- lalsuite-7.26.2.dev20251210.data/scripts/cbcBayesPostProc +1345 -0
- lalsuite-7.26.2.dev20251210.data/scripts/cbcBayesThermoInt +107 -0
- lalsuite-7.26.2.dev20251210.data/scripts/imrtgr_imr_consistency_test +796 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lal_cache +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lal_fftw_wisdom +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lal_fftwf_wisdom +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lal_path2cache +148 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lal_searchsum2cache +172 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lal_simd_detect +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lal_tconvert +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lal_version +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_ComputeAntennaPattern +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_ComputeFstatBenchmark +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_ComputeFstatLatticeCount +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_ComputeFstatMCUpperLimit +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_ComputeFstatistic_v2 +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_ComputePSD +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_CopySFTs +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_DistanceVsMass +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_DriveHoughMulti +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_FstatMetric_v2 +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_HierarchSearchGCT +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_HierarchicalSearch +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_MakeSFTDAG +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_MakeSFTs +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_Makefakedata_v4 +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_Makefakedata_v5 +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_PredictFstat +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_PrintDetectorState +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_SFTclean +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_SFTvalidate +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_StringAddFrame +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_StringSearch +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_Weave +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_WeaveCompare +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_WeaveConcat +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_WeaveSetup +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_WriteSFTsfromSFDBs +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_animate +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_binj +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_blindinj +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_cache +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_cafe +99 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_calfacs +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_cbc_stochasticbank +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_chirplen +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_coh_PTF_inspiral +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_coinj +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_combine_crosscorr_toplists +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_compareFstats +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_compareSFTs +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_cosmicstring_pipe +525 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_create_time_correction_ephemeris +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_dumpSFT +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_effdist +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_exc_resp +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_fftw_wisdom +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_fftwf_wisdom +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_fits_header_getval +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_fits_header_list +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_fits_overview +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_fits_table_list +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_fr_ninja +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_frextr +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_frinfo +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_frjoin +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_frread +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_frview +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_gwf2xml +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_heterodyne_pulsar +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_inspawgfile +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_inspfrinj +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_inspinj +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_inspiralDistance +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_knope +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_knope_automation_script +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_knope_collate_results +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_knope_result_page +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_makeblindinj +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_makeblindinj_himass +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_ninja +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_path2cache +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_power +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_power_likelihood_pipe +219 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_power_pipe +417 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_pulsar_crosscorr_v2 +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_pulsar_frequency_evolution +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_pulsar_parameter_estimation_nested +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_random_bank +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_randombank +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_run_pulsar_crosscorr_v2 +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_searchsum2cache +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_spec_avg +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_spec_avg_long +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_spec_coherence +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_spininj +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_splitSFTs +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_splitbank +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_ssbtodetector +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_string_apply_vetoes +171 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_string_calc_likelihood +172 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_string_contour_plotter +141 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_string_contour_plotter_largeloops +133 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_string_cs_gamma +110 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_string_cs_gamma_largeloops +119 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_string_final +1064 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_string_meas_likelihood +264 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_string_plot_binj +543 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_string_plot_likelihood +380 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_synthesizeBstatMC +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_synthesizeLVStats +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_synthesizeTransientStats +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_tconvert +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_tmpltbank +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_version +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalapps_xtefitstoframe +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalburst_cluster +156 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalburst_coinc +224 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalburst_cut +425 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalburst_gen_timeslides +254 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalburst_inj_pic +254 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalburst_injfind +170 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalburst_plot_tisi +165 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalburst_power_calc_likelihood +182 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalburst_power_final +1369 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalburst_power_meas_likelihood +206 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalburst_power_plot_binj +934 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalburst_power_plot_binjtf +302 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalburst_version +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalfr-cat +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalfr-cksum +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalfr-cut +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalfr-dump +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalfr-fmt +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalfr-paste +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalfr-print +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalfr-split +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalfr-stat +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalfr-stream +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalfr-vis +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalframe_version +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_bench +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_burst +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_burst_pp_pipe +220 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_coherence_test +139 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_compute_roq_weights +404 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_cpnest +58 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_datadump +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_evolve_spins_and_append_samples +202 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_injectedlike +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_merge_posteriors +57 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_mpi_wrapper +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_multi_pipe +144 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_nest +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_nest2pos +286 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_pipe +512 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_pp_pipe +229 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_review_test +362 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinference_version +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinspiral_injfind +206 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinspiral_thinca +240 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalinspiral_version +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalmetaio_version +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_ComputeAntennaPattern +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_ComputeFstatBenchmark +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_ComputeFstatLatticeCount +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_ComputeFstatMCUpperLimit +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_ComputeFstatistic_v2 +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_ComputePSD +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_CopyPublicSFTs +216 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_DriveHoughMulti +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_FstatMetric_v2 +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_HierarchSearchGCT +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_HierarchicalSearch +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_MakeSFTDAG +1142 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_MakeSFTs +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_Makefakedata_v4 +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_Makefakedata_v5 +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_MoveSFTs +208 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_PiecewiseSearch +963 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_PredictFstat +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_PrintDetectorState +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_SFTclean +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_SFTvalidate +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_Weave +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_WeaveCompare +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_WeaveConcat +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_WeaveSetup +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_WriteSFTsfromSFDBs +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_compareFstats +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_compareSFTs +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_create_time_correction_ephemeris +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_crosscorr_v2 +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_dumpSFT +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_fits_header_getval +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_fits_header_list +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_fits_overview +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_fits_table_list +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_frequency_evolution +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_heterodyne +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_knope +145 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_knope_automation_script +731 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_knope_collate_results +675 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_knope_result_page +2977 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_parameter_estimation_nested +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_spec_avg +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_spec_avg_long +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_spec_coherence +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_splitSFTs +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_ssbtodetector +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_synthesizeBstatMC +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_synthesizeLVStats +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_synthesizeTransientStats +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalpulsar_version +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalsim-bh-qnmode +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalsim-bh-ringdown +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalsim-bh-sphwf +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalsim-burst +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalsim-detector-noise +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalsim-detector-strain +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalsim-inject +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalsim-inspiral +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalsim-ns-eos-table +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalsim-ns-mass-radius +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalsim-ns-params +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalsim-sgwb +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalsim-unicorn +6 -0
- lalsuite-7.26.2.dev20251210.data/scripts/lalsimulation_version +6 -0
- lalsuite-7.26.2.dev20251210.dist-info/METADATA +90 -0
- lalsuite-7.26.2.dev20251210.dist-info/RECORD +749 -0
- lalsuite-7.26.2.dev20251210.dist-info/WHEEL +6 -0
- lalsuite-7.26.2.dev20251210.dist-info/licenses/COPYING +339 -0
- lalsuite-7.26.2.dev20251210.dist-info/top_level.txt +9 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
#!python
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
#
|
|
4
|
+
# cbcBayesDIEvidence.py: compute the direct-integration evidence
|
|
5
|
+
# from a file of posterior samples. See arXiv:0911.1777 for the
|
|
6
|
+
# algorithm.
|
|
7
|
+
#
|
|
8
|
+
# Copyright 2011
|
|
9
|
+
# Will M. Farr <will.farr@ligo.org>
|
|
10
|
+
#
|
|
11
|
+
# This program is free software; you can redistribute it and/or modify
|
|
12
|
+
# it under the terms of the GNU General Public License as published by
|
|
13
|
+
# the Free Software Foundation; either version 2 of the License, or
|
|
14
|
+
# (at your option) any later version.
|
|
15
|
+
#
|
|
16
|
+
# This program is distributed in the hope that it will be useful,
|
|
17
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
# GNU General Public License for more details.
|
|
20
|
+
#
|
|
21
|
+
# You should have received a copy of the GNU General Public License
|
|
22
|
+
# along with this program; if not, write to the Free Software
|
|
23
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
24
|
+
# MA 02110-1301, USA.
|
|
25
|
+
#
|
|
26
|
+
#
|
|
27
|
+
|
|
28
|
+
import numpy as np
|
|
29
|
+
from lalinference import bayespputils as bp
|
|
30
|
+
from lalinference import git_version
|
|
31
|
+
from optparse import OptionParser
|
|
32
|
+
|
|
33
|
+
__author__="Will M. Farr <will.farr@ligo.org>"
|
|
34
|
+
__version__="git id %s"%git_version.id
|
|
35
|
+
__date__=git_version.date
|
|
36
|
+
|
|
37
|
+
if __name__=='__main__':
|
|
38
|
+
parser=OptionParser()
|
|
39
|
+
parser.add_option("--data",dest="data",action="store",help="file of posterior samples",metavar="FILE")
|
|
40
|
+
parser.add_option("--Nboxing",dest="Nboxing",action="store",default=64,type="int",metavar="N")
|
|
41
|
+
parser.add_option("--bootstrap", dest='bootstrap',action='store',default=1,type='int',metavar='N')
|
|
42
|
+
parser.add_option('--output',dest='output',action='store',default=None,metavar='FILE')
|
|
43
|
+
|
|
44
|
+
(opts,args)=parser.parse_args()
|
|
45
|
+
|
|
46
|
+
pos_parser=bp.PEOutputParser('common')
|
|
47
|
+
|
|
48
|
+
f=open(opts.data, "r")
|
|
49
|
+
try:
|
|
50
|
+
pos=bp.Posterior(pos_parser.parse(f))
|
|
51
|
+
finally:
|
|
52
|
+
f.close()
|
|
53
|
+
|
|
54
|
+
outfile=None
|
|
55
|
+
if opts.output:
|
|
56
|
+
outfile=open(opts.output,'w')
|
|
57
|
+
try:
|
|
58
|
+
for i in range(opts.bootstrap):
|
|
59
|
+
if i == 0:
|
|
60
|
+
log_ev=pos.di_evidence(boxing=opts.Nboxing)
|
|
61
|
+
else:
|
|
62
|
+
log_ev=pos.bootstrap().di_evidence(boxing=opts.Nboxing)
|
|
63
|
+
print('log(evidence) with Nboxing = %d is %.1f (evidence is %g)'%(opts.Nboxing,log_ev,np.exp(ev)))
|
|
64
|
+
if outfile:
|
|
65
|
+
outfile.write('%g\n'%log_ev)
|
|
66
|
+
finally:
|
|
67
|
+
if outfile:
|
|
68
|
+
outfile.close()
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
#!python
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
#
|
|
4
|
+
# cbcBayesGraceDBinfo
|
|
5
|
+
#
|
|
6
|
+
# Copyright 2015
|
|
7
|
+
# Salvatore Vitale <salvatore.vitale@ligo.org>
|
|
8
|
+
#
|
|
9
|
+
# This program is free software; you can redistribute it and/or modify
|
|
10
|
+
# it under the terms of the GNU General Public License as published by
|
|
11
|
+
# the Free Software Foundation; either version 2 of the License, or
|
|
12
|
+
# (at your option) any later version.
|
|
13
|
+
#
|
|
14
|
+
# This program is distributed in the hope that it will be useful,
|
|
15
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
# GNU General Public License for more details.
|
|
18
|
+
#
|
|
19
|
+
# You should have received a copy of the GNU General Public License
|
|
20
|
+
# along with this program; if not, write to the Free Software
|
|
21
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
22
|
+
# MA 02110-1301, USA.
|
|
23
|
+
|
|
24
|
+
#===============================================================================
|
|
25
|
+
# Preamble
|
|
26
|
+
#===============================================================================
|
|
27
|
+
|
|
28
|
+
#standard library imports
|
|
29
|
+
import sys
|
|
30
|
+
import numpy as np
|
|
31
|
+
import matplotlib
|
|
32
|
+
matplotlib.use("Agg")
|
|
33
|
+
|
|
34
|
+
from lalinference import bayespputils as bppu
|
|
35
|
+
from lalinference import git_version
|
|
36
|
+
|
|
37
|
+
__author__="Salvatore Vitale <salvatore.vitale@ligo.org>"
|
|
38
|
+
__version__= "git id %s"%git_version.id
|
|
39
|
+
__date__= git_version.date
|
|
40
|
+
|
|
41
|
+
USAGE='''%prog --gid graceDBid --samples posterior_samples.dat
|
|
42
|
+
|
|
43
|
+
Upload to the pe section of the graceDB page gid information about a lalinference postprocessing run.
|
|
44
|
+
For the moment this is maximum a posteriori and stdev for the parameters in the string pars.
|
|
45
|
+
|
|
46
|
+
'''
|
|
47
|
+
|
|
48
|
+
def cbcBayesGraceDBinfo(gid=None,samples=None,skymap=None,analysis='LALInference', bcifile=None,bsnfile=None,email=None,message=None,server="https://gracedb.ligo.org/api/"):
|
|
49
|
+
|
|
50
|
+
if gid is None or (samples is None and skymap is None):
|
|
51
|
+
print("Must provide both a graceDB id and a posterior samples file or skymap file\n")
|
|
52
|
+
sys.exit(1)
|
|
53
|
+
|
|
54
|
+
import ligo.gracedb.rest
|
|
55
|
+
import os
|
|
56
|
+
if server is not None:
|
|
57
|
+
g=ligo.gracedb.rest.GraceDb(server)
|
|
58
|
+
else:
|
|
59
|
+
g=ligo.gracedb.rest.GraceDb()
|
|
60
|
+
if samples is not None:
|
|
61
|
+
samples=os.path.realpath(samples)
|
|
62
|
+
if '.hdf' in samples or '.h5' in samples:
|
|
63
|
+
peparser = bppu.PEOutputParser('hdf5')
|
|
64
|
+
commonResultsObj=peparser.parse(samples)
|
|
65
|
+
else:
|
|
66
|
+
peparser=bppu.PEOutputParser('common')
|
|
67
|
+
commonResultsObj=peparser.parse(open(samples,'r'))
|
|
68
|
+
|
|
69
|
+
try:
|
|
70
|
+
pos = bppu.BurstPosterior(commonResultsObj)
|
|
71
|
+
pars=['frequency','quality','hrss']
|
|
72
|
+
units={'frequency':'[Hz]','quality':'','hrss':'','loghrss':''}
|
|
73
|
+
except:
|
|
74
|
+
pos = bppu.Posterior(commonResultsObj)
|
|
75
|
+
pars=['mchirp','q','distance']
|
|
76
|
+
strs=[]
|
|
77
|
+
outstr='<table><tr><th colspan=2 align=center>%s PE summary</th></tr>'%analysis
|
|
78
|
+
|
|
79
|
+
for i in pars:
|
|
80
|
+
if i in pos.names:
|
|
81
|
+
_,which=pos._posMap()
|
|
82
|
+
if i=='hrss':
|
|
83
|
+
outstr+='<tr><td align=left>%s %s</td>'%(i,units[i])
|
|
84
|
+
outstr+='<td align=left>%.3e ± %.3e</td></tr>'%(pos[i].samples[which][0],pos[i].stdev)
|
|
85
|
+
else:
|
|
86
|
+
outstr+='<tr><td align=left>%s %s</td>'%(i,units[i])
|
|
87
|
+
outstr+='<td align=left>%.3f ± %.3f</td></tr>'%(pos[i].samples[which][0],pos[i].stdev)
|
|
88
|
+
if bcifile is not None and os.path.isfile(bcifile):
|
|
89
|
+
bci=np.loadtxt(bcifile)
|
|
90
|
+
else: bci=None
|
|
91
|
+
if bci is not None:
|
|
92
|
+
outstr+='<tr><td align=left>logBCI</td>'
|
|
93
|
+
outstr+='<td align=center>%.2f</td></tr>'%(bci)
|
|
94
|
+
|
|
95
|
+
bsn=None
|
|
96
|
+
if bsnfile is not None and os.path.isfile(bsnfile):
|
|
97
|
+
bsn=np.loadtxt(bsnfile)
|
|
98
|
+
bsn=bsn[0]
|
|
99
|
+
else:
|
|
100
|
+
try:
|
|
101
|
+
import h5py
|
|
102
|
+
with h5py.File(samples,'r') as h5grp:
|
|
103
|
+
tmp=h5grp['lalinference']['lalinference_nest'].attrs
|
|
104
|
+
bsn=tmp['log_bayes_factor']
|
|
105
|
+
except Exception as e:
|
|
106
|
+
print("Could not obtain BNS\n")
|
|
107
|
+
print(e)
|
|
108
|
+
|
|
109
|
+
if bsn is not None:
|
|
110
|
+
outstr+='<tr><td align=left>logBSN</td>'
|
|
111
|
+
outstr+='<td align=center>%.2f</td></tr>'%(bsn)
|
|
112
|
+
outstr+='</table>'
|
|
113
|
+
|
|
114
|
+
if email is not None and bci is not None:
|
|
115
|
+
import os
|
|
116
|
+
import smtplib
|
|
117
|
+
address=email.split(',')
|
|
118
|
+
SERVER="localhost"
|
|
119
|
+
USER=os.environ['USER']
|
|
120
|
+
import socket
|
|
121
|
+
HOST=socket.getfqdn()#socket.gethostbyaddr(socket.gethostname())[0]
|
|
122
|
+
pref=""
|
|
123
|
+
if bci>3 and bci<6:
|
|
124
|
+
pref="A promising"
|
|
125
|
+
elif bci>6 and bci<10:
|
|
126
|
+
pref="A very interesting"
|
|
127
|
+
elif bci>10:
|
|
128
|
+
pref="A SPECTACULAR"
|
|
129
|
+
FROM="salvatore.vitale@"+HOST
|
|
130
|
+
SUBJECT="%s LIB result page is ready at "%pref+HOST+" for graceID %s!"%(gid)
|
|
131
|
+
TEXT="LIB run for graceID %s is done on "%gid+HOST+".\nThe BCI is %lf\n"%bci
|
|
132
|
+
if bci>10:
|
|
133
|
+
TEXT+="RUN!!!!!!!!!!\n"
|
|
134
|
+
message="From: %s\nTo: %s\nSubject: %s\n\n%s"%(FROM,', '.join(address),SUBJECT,TEXT)
|
|
135
|
+
try:
|
|
136
|
+
import os
|
|
137
|
+
os.system('echo "%s" | mail -s "%s" "%s"'%(TEXT,SUBJECT,', '.join(address)))
|
|
138
|
+
server=smtplib.SMTP(SERVER)
|
|
139
|
+
server.sendmail(FROM,address,message)
|
|
140
|
+
server.quit()
|
|
141
|
+
except:
|
|
142
|
+
print("Cound not send email\n")
|
|
143
|
+
|
|
144
|
+
g.writeLog(gid,outstr,filename=None,tagname='pe')
|
|
145
|
+
elif skymap is not None:
|
|
146
|
+
if bcifile is not None and os.path.isfile(bcifile):
|
|
147
|
+
bci=np.loadtxt(bcifile)
|
|
148
|
+
else: bci=None
|
|
149
|
+
if bsnfile is not None and os.path.isfile(bsnfile):
|
|
150
|
+
bsn=np.loadtxt(bsnfile)
|
|
151
|
+
else: bsn=None
|
|
152
|
+
tag=['sky_loc']
|
|
153
|
+
"""
|
|
154
|
+
if bci is not None and bsn is not None:
|
|
155
|
+
if bsn>5. and bci>2.:
|
|
156
|
+
tag.append('lvem')
|
|
157
|
+
"""
|
|
158
|
+
g.writeLog(gid,message,filename=skymap,tagname=tag)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
if __name__=='__main__':
|
|
162
|
+
|
|
163
|
+
from optparse import OptionParser
|
|
164
|
+
parser=OptionParser(USAGE)
|
|
165
|
+
parser.add_option("-g","--gid", dest="gid",help="GraceDB id", metavar="G123456",default=None)
|
|
166
|
+
parser.add_option("-s","--samples",dest="samples",help="posterior_samples.hdf5/dat",default=None)
|
|
167
|
+
parser.add_option("--analysis",help="Prefix to use for the graceDB entries. Should be the name of the analysis (default LALInference)",default='LALInference')
|
|
168
|
+
parser.add_option("--bci",dest="bci",help="coherence test file: bci.dat",default=None)
|
|
169
|
+
parser.add_option("--bsn",dest="bsn",help="evidence file: bsn.dat [Deprecated, now is read from samples.hdf5]",default=None)
|
|
170
|
+
parser.add_option("--skymap",dest="skymap",help="FITS file skymap",default=None)
|
|
171
|
+
parser.add_option("--message",dest="message",type='str', help="Message to go with skymap uplaod",default=None)
|
|
172
|
+
parser.add_option('--email',dest='email',help="Will email when run is done.",default=None)
|
|
173
|
+
parser.add_option('--server',dest='server',help="GraceDB server to interact with.",default="https://gracedb.ligo.org/api/")
|
|
174
|
+
|
|
175
|
+
(opts,args)=parser.parse_args()
|
|
176
|
+
if opts.gid is None:
|
|
177
|
+
print("Must provide a graceDB id with --gid/-g ")
|
|
178
|
+
sys.exit(1)
|
|
179
|
+
if opts.samples is None and opts.skymap is None:
|
|
180
|
+
print("Must provide lalinference posterior samples with --samples/-s or FITS skymap with --skymap ")
|
|
181
|
+
sys.exit(1)
|
|
182
|
+
cbcBayesGraceDBinfo(opts.gid, opts.samples,analysis=opts.analysis,bcifile=opts.bci,bsnfile=opts.bsn,email=opts.email,skymap=opts.skymap,message=opts.message,server=opts.server)
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
#!python
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
#
|
|
4
|
+
# cbcBayesMCMC2pos.py
|
|
5
|
+
#
|
|
6
|
+
# Copyright 2016
|
|
7
|
+
# Carl-Johan Haster <carl-johan.haster@ligo.org>
|
|
8
|
+
#
|
|
9
|
+
# Following methodology from cbcBayesThermoInt.py and lalapps_nest2pos.py
|
|
10
|
+
#
|
|
11
|
+
# This program is free software; you can redistribute it and/or modify
|
|
12
|
+
# it under the terms of the GNU General Public License as published by
|
|
13
|
+
# the Free Software Foundation; either version 2 of the License, or
|
|
14
|
+
# (at your option) any later version.
|
|
15
|
+
#
|
|
16
|
+
# This program is distributed in the hope that it will be useful,
|
|
17
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
# GNU General Public License for more details.
|
|
20
|
+
#
|
|
21
|
+
# You should have received a copy of the GNU General Public License
|
|
22
|
+
# along with this program; if not, write to the Free Software
|
|
23
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
24
|
+
# MA 02110-1301, USA.
|
|
25
|
+
|
|
26
|
+
import sys
|
|
27
|
+
from functools import reduce
|
|
28
|
+
|
|
29
|
+
import matplotlib
|
|
30
|
+
matplotlib.use('Agg') #sets backend to not need to open windows
|
|
31
|
+
|
|
32
|
+
import numpy as np
|
|
33
|
+
import astropy.table as apt
|
|
34
|
+
try:
|
|
35
|
+
from scipy.integrate import trapezoid
|
|
36
|
+
except ImportError:
|
|
37
|
+
# FIXME: Remove this once we require scipy >=1.6.0.
|
|
38
|
+
from scipy.integrate import trapz as trapezoid
|
|
39
|
+
from optparse import OptionParser
|
|
40
|
+
|
|
41
|
+
from lalinference import git_version
|
|
42
|
+
from lalinference import bayespputils as bppu
|
|
43
|
+
from lalinference.io import read_samples, write_samples, extract_metadata
|
|
44
|
+
|
|
45
|
+
from lalinference import LALINFERENCE_PARAM_FIXED as FIXED
|
|
46
|
+
from lalinference import LALINFERENCE_PARAM_OUTPUT as OUTPUT
|
|
47
|
+
|
|
48
|
+
__author__="Carl-Johan Haster <carl-johan.haster@ligo.org>>"
|
|
49
|
+
__version__= "git id %s"%git_version.id
|
|
50
|
+
__date__= git_version.date
|
|
51
|
+
|
|
52
|
+
def multipleFileCB(opt, opt_str, value, parser):
|
|
53
|
+
args=[]
|
|
54
|
+
|
|
55
|
+
def floatable(str):
|
|
56
|
+
try:
|
|
57
|
+
float(str)
|
|
58
|
+
return True
|
|
59
|
+
except ValueError:
|
|
60
|
+
return False
|
|
61
|
+
|
|
62
|
+
for arg in parser.rargs:
|
|
63
|
+
# stop on --foo like options
|
|
64
|
+
if arg[:2] == "--" and len(arg) > 2:
|
|
65
|
+
break
|
|
66
|
+
# stop on -a, but not on -3 or -3.0
|
|
67
|
+
if arg[:1] == "-" and len(arg) > 1 and not floatable(arg):
|
|
68
|
+
break
|
|
69
|
+
args.append(arg)
|
|
70
|
+
|
|
71
|
+
del parser.rargs[:len(args)]
|
|
72
|
+
#Append new files to list if some already specified
|
|
73
|
+
if getattr(parser.values, opt.dest):
|
|
74
|
+
oldargs = getattr(parser.values, opt.dest)
|
|
75
|
+
oldargs.extend(args)
|
|
76
|
+
args = oldargs
|
|
77
|
+
setattr(parser.values, opt.dest, args)
|
|
78
|
+
|
|
79
|
+
mcmc_group_id = '/lalinference/lalinference_mcmc'
|
|
80
|
+
|
|
81
|
+
def reassign_metadata(new_posterior, original_hdf5):
|
|
82
|
+
# Make sure output file has same metadata as original
|
|
83
|
+
# input hdf5 file
|
|
84
|
+
|
|
85
|
+
base_file = read_samples(original_hdf5)
|
|
86
|
+
|
|
87
|
+
mcmc_diagnostics_params = ['nLocalTemps','randomSeed']
|
|
88
|
+
|
|
89
|
+
meta_dict = {}
|
|
90
|
+
|
|
91
|
+
for colname, column in base_file.columns.items():
|
|
92
|
+
meta_dict[colname] = column.meta
|
|
93
|
+
|
|
94
|
+
for colname, column in new_posterior.columns.items():
|
|
95
|
+
if colname in mcmc_diagnostics_params:
|
|
96
|
+
column.meta = {'vary': OUTPUT}
|
|
97
|
+
# these parameters are fixed within a run,
|
|
98
|
+
# but doesn't have to be equal between runs.
|
|
99
|
+
elif colname in meta_dict:
|
|
100
|
+
column.meta = meta_dict[colname]
|
|
101
|
+
elif 'cos'+colname in meta_dict:
|
|
102
|
+
column.meta = meta_dict['cos'+colname]
|
|
103
|
+
elif 'sin'+colname in meta_dict:
|
|
104
|
+
column.meta = meta_dict['sin'+colname]
|
|
105
|
+
elif 'log'+colname in meta_dict:
|
|
106
|
+
column.meta = meta_dict['log'+colname]
|
|
107
|
+
elif colname.startswith('chain_'):
|
|
108
|
+
column.meta = {'vary': OUTPUT}
|
|
109
|
+
# same argument as with mcmc_diagnostics_params
|
|
110
|
+
else:
|
|
111
|
+
column.meta = {'vary': FIXED}
|
|
112
|
+
|
|
113
|
+
return new_posterior
|
|
114
|
+
|
|
115
|
+
def downsample_and_evidence(data_hdf5, deltaLogP=None, fixedBurnin=None, nDownsample=None, verbose=False):
|
|
116
|
+
|
|
117
|
+
# Remove burnin from beginning of MCMC-chains, downsample by the chain's respective autocorrelation length.
|
|
118
|
+
# Compute the evidence for the set of parallel tempered chains through a thermodynamic integral
|
|
119
|
+
|
|
120
|
+
if not data_hdf5.lower().endswith(('.hdf5', '.hdf', '.h5')):
|
|
121
|
+
print('cbcBayesMCMC2pos only suports hdf5 input, for older file formats plese revert to cbcBayesThermoInt and cbcBayesPosProc')
|
|
122
|
+
sys.exit(1)
|
|
123
|
+
|
|
124
|
+
peparser = bppu.PEOutputParser('hdf5')
|
|
125
|
+
|
|
126
|
+
ps, samps = peparser.parse(data_hdf5, deltaLogP=deltaLogP, fixedBurnins=fixedBurnin,
|
|
127
|
+
nDownsample=nDownsample, tablename=None)
|
|
128
|
+
posterior_samples = apt.Table(samps, names=ps)
|
|
129
|
+
|
|
130
|
+
highTchains = []
|
|
131
|
+
for i in range(1,int(posterior_samples['nTemps'][0])):
|
|
132
|
+
ps, samps = peparser.parse(data_hdf5, deltaLogP=deltaLogP, fixedBurnins=fixedBurnin,
|
|
133
|
+
nDownsample=nDownsample, tablename='chain_'+str('%02.f' %i))
|
|
134
|
+
highTchains.append(apt.Table(samps, names=ps))
|
|
135
|
+
if verbose: print('chain_'+str('%02.f' %i)+' at a temperature '+str(highTchains[i-1]['temperature'].mean()))
|
|
136
|
+
|
|
137
|
+
betas = np.zeros(len(highTchains)+1)
|
|
138
|
+
logls = np.zeros_like(betas)
|
|
139
|
+
|
|
140
|
+
betas[0] = 1./np.median(posterior_samples['temperature'])
|
|
141
|
+
logls[0] = np.mean(posterior_samples['logl'])
|
|
142
|
+
|
|
143
|
+
for i in range(len(highTchains)):
|
|
144
|
+
betas[i+1] = 1./np.median(highTchains[i]['temperature'])
|
|
145
|
+
logls[i+1] = np.mean(highTchains[i]['logl'])
|
|
146
|
+
|
|
147
|
+
inds = np.argsort(betas)[::-1]
|
|
148
|
+
|
|
149
|
+
betas = betas[inds]
|
|
150
|
+
logls = logls[inds]
|
|
151
|
+
|
|
152
|
+
# Now extend to infinite temperature by copying the last <log(L)>.
|
|
153
|
+
# This works as long as the chains have extended to high enough
|
|
154
|
+
# temperature to sample the prior.
|
|
155
|
+
# If infinite temperature is already included, this 'duplicate'
|
|
156
|
+
# will not change the final evidence.
|
|
157
|
+
ebetas = np.concatenate((betas, [0.0]))
|
|
158
|
+
elogls = np.concatenate((logls, [logls[-1]]))
|
|
159
|
+
|
|
160
|
+
ebetas2 = np.concatenate((betas[::2], [0.0]))
|
|
161
|
+
elogls2 = np.concatenate((logls[::2], [logls[::2][-1]]))
|
|
162
|
+
|
|
163
|
+
evidence = -trapezoid(elogls, ebetas)
|
|
164
|
+
evidence2 = -trapezoid(elogls2, ebetas2)
|
|
165
|
+
|
|
166
|
+
posterior_samples['chain_log_evidence'] = evidence
|
|
167
|
+
posterior_samples['chain_delta_log_evidence'] = np.absolute(evidence - evidence2)
|
|
168
|
+
posterior_samples['chain_log_noise_evidence'] = posterior_samples['nullLogL']
|
|
169
|
+
posterior_samples['chain_log_bayes_factor'] = posterior_samples['chain_log_evidence'] - posterior_samples['chain_log_noise_evidence']
|
|
170
|
+
|
|
171
|
+
if verbose:
|
|
172
|
+
print('logZ = '+str(posterior_samples['chain_log_evidence'][0])+'+-'+str(posterior_samples['chain_delta_log_evidence'][0]))
|
|
173
|
+
print('logB_SN = '+str(posterior_samples['chain_log_bayes_factor'][0]))
|
|
174
|
+
|
|
175
|
+
posterior_samples = reassign_metadata(posterior_samples, data_hdf5)
|
|
176
|
+
|
|
177
|
+
return posterior_samples
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
def weight_and_combine(pos_chains, verbose=False, evidence_weighting=True, combine_only=False):
|
|
181
|
+
|
|
182
|
+
# Combine several posterior chains into one
|
|
183
|
+
# If evidence_weighting == True, they are
|
|
184
|
+
# weighted by their relative evidence
|
|
185
|
+
|
|
186
|
+
# Otherwise they are just combined
|
|
187
|
+
|
|
188
|
+
log_evs = np.zeros(len(pos_chains))
|
|
189
|
+
log_noise_evs = np.zeros_like(log_evs)
|
|
190
|
+
|
|
191
|
+
for i in range(len(pos_chains)):
|
|
192
|
+
log_evs[i] = pos_chains[i]['chain_log_evidence'][0]
|
|
193
|
+
log_noise_evs[i] = pos_chains[i]['chain_log_noise_evidence'][0]
|
|
194
|
+
if verbose: print('Computed log_evidences: %s'%(str(log_evs)))
|
|
195
|
+
|
|
196
|
+
max_log_ev = log_evs.max()
|
|
197
|
+
|
|
198
|
+
if evidence_weighting:
|
|
199
|
+
fracs=[np.exp(log_ev-max_log_ev) for log_ev in log_evs]
|
|
200
|
+
else:
|
|
201
|
+
fracs = [1.0 for _ in log_evs]
|
|
202
|
+
if verbose: print('Relative weights of input files: %s'%(str(fracs)))
|
|
203
|
+
|
|
204
|
+
Ns=[fracs[i]/len(pos_chains[i]) for i in range(len(fracs))]
|
|
205
|
+
Ntot=max(Ns)
|
|
206
|
+
fracs=[n/Ntot for n in Ns]
|
|
207
|
+
if combine_only:
|
|
208
|
+
fracs = [1.0 for _ in fracs]
|
|
209
|
+
if verbose: print('Relative weights of input files taking into account their length: %s'%(str(fracs)))
|
|
210
|
+
|
|
211
|
+
final_posterior = pos_chains[0][np.random.uniform(size=len(pos_chains[0]))<fracs[0]]
|
|
212
|
+
|
|
213
|
+
for i in range(1,len(pos_chains)):
|
|
214
|
+
final_posterior = apt.vstack([final_posterior,
|
|
215
|
+
pos_chains[i][np.random.uniform(size=len(pos_chains[i]))<fracs[i]]])
|
|
216
|
+
|
|
217
|
+
final_log_evidence = reduce(np.logaddexp, log_evs) - np.log(len(log_evs))
|
|
218
|
+
final_log_noise_evidence = reduce(np.logaddexp, log_noise_evs) - np.log(len(log_noise_evs))
|
|
219
|
+
|
|
220
|
+
run_level= 'lalinference/lalinference_mcmc'
|
|
221
|
+
metadata = {}
|
|
222
|
+
metadata[run_level] = {}
|
|
223
|
+
metadata[run_level]['log_bayes_factor'] = final_log_evidence - final_log_noise_evidence
|
|
224
|
+
metadata[run_level]['log_evidence'] = final_log_evidence
|
|
225
|
+
metadata[run_level]['log_noise_evidence'] = final_log_noise_evidence
|
|
226
|
+
metadata[run_level]['log_max_likelihood'] = final_posterior['logl'].max()
|
|
227
|
+
# This has already been burned-in and downsampled,
|
|
228
|
+
# remove the cycle column to stop cbcBayesPosProc
|
|
229
|
+
# from doing it again.
|
|
230
|
+
final_posterior.remove_column('cycle')
|
|
231
|
+
|
|
232
|
+
return final_posterior, metadata
|
|
233
|
+
|
|
234
|
+
USAGE='''%prog [options] PTMCMC_datafile.hdf5 [PTMCMC_datafile2.hdf5 ...]
|
|
235
|
+
Compute the evidence for a set of parallel tempered MCMC chains
|
|
236
|
+
thourgh thermodynamical integration. If using several input PTMCMC files,
|
|
237
|
+
combine them into one set of posterior samples, weighted by their relative
|
|
238
|
+
evidences.
|
|
239
|
+
'''
|
|
240
|
+
|
|
241
|
+
if __name__ == '__main__':
|
|
242
|
+
parser = OptionParser(USAGE)
|
|
243
|
+
parser.add_option(
|
|
244
|
+
'-p', '--pos', action='store', type='string', default=None,
|
|
245
|
+
help='Output file for posterior samples', metavar='posterior.hdf5')
|
|
246
|
+
parser.add_option(
|
|
247
|
+
'-v', '--verbose', action='store_true', default=False,
|
|
248
|
+
help='Print some additional information')
|
|
249
|
+
parser.add_option('-d','--data',dest='data',action='callback',
|
|
250
|
+
callback=multipleFileCB,help='datafile')
|
|
251
|
+
parser.add_option(
|
|
252
|
+
'-s','--downsample',action='store',default=None,
|
|
253
|
+
help='Approximate number of samples to record in the posterior',type='int')
|
|
254
|
+
parser.add_option(
|
|
255
|
+
'-l','--deltaLogP',action='store',default=None,
|
|
256
|
+
help='Difference in logPosterior to use for convergence test.',type='float')
|
|
257
|
+
parser.add_option(
|
|
258
|
+
'-b','--fixedBurnin',dest='fixedBurnin',action="callback",
|
|
259
|
+
callback=multipleFileCB,help='Fixed number of iteration for burnin.')
|
|
260
|
+
parser.add_option(
|
|
261
|
+
'--equal-weighting',action='store_true',default=False,
|
|
262
|
+
help = 'Disable evidence weighting and just combine chains so they have equal\
|
|
263
|
+
contribution to the final result')
|
|
264
|
+
parser.add_option(
|
|
265
|
+
'--combine-only', action='store_true',default=False,
|
|
266
|
+
help = "Don't weight the chains at all, just concatenate them (different length\
|
|
267
|
+
inputs will have different representation in the output)")
|
|
268
|
+
opts, args = parser.parse_args()
|
|
269
|
+
|
|
270
|
+
datafiles=[]
|
|
271
|
+
if args:
|
|
272
|
+
datafiles = datafiles + args
|
|
273
|
+
if opts.data:
|
|
274
|
+
datafiles = datafiles + opts.data
|
|
275
|
+
|
|
276
|
+
if opts.fixedBurnin:
|
|
277
|
+
# If only one value for multiple chains, assume it's to be applied to all chains
|
|
278
|
+
if len(opts.fixedBurnin) == 1:
|
|
279
|
+
fixedBurnins = [int(opts.fixedBurnin[0]) for df in datafiles]
|
|
280
|
+
else:
|
|
281
|
+
fixedBurnins = [int(fixedBurnin) for fixedBurnin in opts.fixedBurnin]
|
|
282
|
+
else:
|
|
283
|
+
fixedBurnins = [None]*len(datafiles)
|
|
284
|
+
|
|
285
|
+
chain_posteriors = []
|
|
286
|
+
|
|
287
|
+
for i in range(len(datafiles)):
|
|
288
|
+
chain_posteriors.append(downsample_and_evidence(datafiles[i],
|
|
289
|
+
deltaLogP=opts.deltaLogP, fixedBurnin=fixedBurnins[i], nDownsample=opts.downsample, verbose=opts.verbose))
|
|
290
|
+
|
|
291
|
+
final_posterior, metadata = weight_and_combine(chain_posteriors, verbose=opts.verbose,
|
|
292
|
+
evidence_weighting = not opts.equal_weighting,
|
|
293
|
+
combine_only = opts.combine_only)
|
|
294
|
+
|
|
295
|
+
for path in datafiles:
|
|
296
|
+
run_identifier = extract_metadata(path, metadata)
|
|
297
|
+
|
|
298
|
+
# Remove duplicate metadata
|
|
299
|
+
path_to_samples = '/'.join(['','lalinference',run_identifier,'posterior_samples'])
|
|
300
|
+
if path_to_samples in metadata:
|
|
301
|
+
for colname in final_posterior.columns:
|
|
302
|
+
metadata[path_to_samples].pop(colname, None)
|
|
303
|
+
|
|
304
|
+
# for metadata which is in a list, take the average.
|
|
305
|
+
for level in metadata:
|
|
306
|
+
for key in metadata[level]:
|
|
307
|
+
#if isinstance(metadata[level][key], list) and all(isinstance(x, (int,float)) for x in metadata[level][key]):
|
|
308
|
+
# metadata[level][key] = mean(metadata[level][key])
|
|
309
|
+
if isinstance(metadata[level][key], list) and all(isinstance(x, (str)) for x in metadata[level][key]):
|
|
310
|
+
print("Warning: only printing the first of the %d entries found for metadata %s/%s. You can find the whole list in the headers of individual hdf5 output files\n"%(len(metadata[level][key]),level,key))
|
|
311
|
+
metadata[level][key] = metadata[level][key][0]
|
|
312
|
+
|
|
313
|
+
write_samples(final_posterior, opts.pos,
|
|
314
|
+
path=path_to_samples, metadata=metadata)
|