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,691 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Running the omega pipeline with condor for an arbitrary amount of sources
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
__author__ = "Jeroen Meidam"
|
|
6
|
+
__credits__ = ["Jeroen Meidam"]
|
|
7
|
+
__maintainer__ = "Jeroen Meidam"
|
|
8
|
+
__email__ = "jeroen.meidam@ligo.org"
|
|
9
|
+
__status__ = ""
|
|
10
|
+
|
|
11
|
+
usage=""" omegascans_dag.py config.ini [options]
|
|
12
|
+
This script creates a DAG to run the omega pipeline for multiple detectors
|
|
13
|
+
and multiple sources on a cluster.
|
|
14
|
+
Framefiles are automatically looked up with gw_data_find
|
|
15
|
+
|
|
16
|
+
It requires a config file and a sourcefile containing trigtimes
|
|
17
|
+
and detector timeslides.
|
|
18
|
+
|
|
19
|
+
Run with --example to create an example config and sourcefile.
|
|
20
|
+
|
|
21
|
+
It is possible to include auxiliary channels in the scans only for H1 and L1.
|
|
22
|
+
For Virgo this is only possible on one of the Virgo clusters
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
###############################################################################
|
|
26
|
+
#
|
|
27
|
+
# LOAD LIBRARIES
|
|
28
|
+
#
|
|
29
|
+
###############################################################################
|
|
30
|
+
|
|
31
|
+
from lal import pipeline
|
|
32
|
+
from optparse import OptionParser
|
|
33
|
+
import uuid
|
|
34
|
+
import os
|
|
35
|
+
import sys
|
|
36
|
+
import ast
|
|
37
|
+
from subprocess import Popen,PIPE
|
|
38
|
+
|
|
39
|
+
from configparser import ConfigParser
|
|
40
|
+
|
|
41
|
+
###############################################################################
|
|
42
|
+
#
|
|
43
|
+
# DEFINITIONS
|
|
44
|
+
#
|
|
45
|
+
###############################################################################
|
|
46
|
+
|
|
47
|
+
DefaultFrameTypes = {'L1':'L1_RDS_R_L1',#Includes auxiliary channels
|
|
48
|
+
'H1':'H1_RDS_R_L1',#Includes auxiliary channels
|
|
49
|
+
'V1':'T1300121_V1_EARLY_RECOLORED_V2'}
|
|
50
|
+
|
|
51
|
+
DefaultConfigFiles = {'L1':'/archive/home/omega/configurations/S6/S6b/L0L1-RDS_R_L1-selected.txt',
|
|
52
|
+
'H1':'/archive/home/omega/configurations/S6/S6b/H0H1-RDS_R_L1-selected.txt',
|
|
53
|
+
'V1':''}
|
|
54
|
+
|
|
55
|
+
RecoloredFrameTypes = {'L1':'T1200307_V4_EARLY_RECOLORED_V2',
|
|
56
|
+
'H1':'T1200307_V4_EARLY_RECOLORED_V2',
|
|
57
|
+
'V1':'T1300121_V1_EARLY_RECOLORED_V2'}
|
|
58
|
+
|
|
59
|
+
ConfigRecoloredV = \
|
|
60
|
+
"""
|
|
61
|
+
# QScan configuration file
|
|
62
|
+
|
|
63
|
+
# Scans H1 and L1 gravitational-wave channel data
|
|
64
|
+
# from the S5 version 1 calibrated data set
|
|
65
|
+
|
|
66
|
+
# Shourov K. Chatterji
|
|
67
|
+
# shourov@ligo.caltech.edu
|
|
68
|
+
# 2006-02-11
|
|
69
|
+
|
|
70
|
+
[Context,Context]
|
|
71
|
+
|
|
72
|
+
[Parameters,Parameter Estimation]
|
|
73
|
+
|
|
74
|
+
[Notes,Notes]
|
|
75
|
+
|
|
76
|
+
[Gravitational,Gravitational wave data]
|
|
77
|
+
|
|
78
|
+
{
|
|
79
|
+
channelName: 'V1:h_16384Hz'
|
|
80
|
+
frameType: 'T1300121_V1_EARLY_RECOLORED_V2'
|
|
81
|
+
sampleFrequency: 4096
|
|
82
|
+
searchTimeRange: 128
|
|
83
|
+
searchFrequencyRange: [32 Inf]
|
|
84
|
+
searchQRange: [3.32 141]
|
|
85
|
+
searchMaximumEnergyLoss: 0.2
|
|
86
|
+
whiteNoiseFalseRate: 1e-3
|
|
87
|
+
alwaysPlotFlag: 1
|
|
88
|
+
searchWindowDuration: 0.5
|
|
89
|
+
plotTimeRanges: [1 8 100]
|
|
90
|
+
plotFrequencyRange: []
|
|
91
|
+
plotNormalizedEnergyRange: [0 25.5]
|
|
92
|
+
}
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
ConfigRecoloredL = \
|
|
96
|
+
"""
|
|
97
|
+
# QScan configuration file
|
|
98
|
+
|
|
99
|
+
# Scans H1 and L1 gravitational-wave channel data
|
|
100
|
+
# from the S5 version 1 calibrated data set
|
|
101
|
+
|
|
102
|
+
# Shourov K. Chatterji
|
|
103
|
+
# shourov@ligo.caltech.edu
|
|
104
|
+
# 2006-02-11
|
|
105
|
+
|
|
106
|
+
[Context,Context]
|
|
107
|
+
|
|
108
|
+
[Parameters,Parameter Estimation]
|
|
109
|
+
|
|
110
|
+
[Notes,Notes]
|
|
111
|
+
|
|
112
|
+
[Gravitational,Gravitational wave data]
|
|
113
|
+
|
|
114
|
+
{
|
|
115
|
+
channelName: 'L1:LDAS-STRAIN'
|
|
116
|
+
frameType: 'T1200307_V4_EARLY_RECOLORED_V2'
|
|
117
|
+
sampleFrequency: 4096
|
|
118
|
+
searchTimeRange: 128
|
|
119
|
+
searchFrequencyRange: [32 Inf]
|
|
120
|
+
searchQRange: [3.32 141]
|
|
121
|
+
searchMaximumEnergyLoss: 0.2
|
|
122
|
+
whiteNoiseFalseRate: 1e-3
|
|
123
|
+
alwaysPlotFlag: 1
|
|
124
|
+
searchWindowDuration: 0.5
|
|
125
|
+
plotTimeRanges: [1 8 100]
|
|
126
|
+
plotFrequencyRange: []
|
|
127
|
+
plotNormalizedEnergyRange: [0 25.5]
|
|
128
|
+
}
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
ConfigRecoloredH = \
|
|
132
|
+
"""
|
|
133
|
+
# QScan configuration file
|
|
134
|
+
|
|
135
|
+
# Scans H1 and L1 gravitational-wave channel data
|
|
136
|
+
# from the S5 version 1 calibrated data set
|
|
137
|
+
|
|
138
|
+
# Shourov K. Chatterji
|
|
139
|
+
# shourov@ligo.caltech.edu
|
|
140
|
+
# 2006-02-11
|
|
141
|
+
|
|
142
|
+
[Context,Context]
|
|
143
|
+
|
|
144
|
+
[Parameters,Parameter Estimation]
|
|
145
|
+
|
|
146
|
+
[Notes,Notes]
|
|
147
|
+
|
|
148
|
+
[Gravitational,Gravitational wave data]
|
|
149
|
+
|
|
150
|
+
{
|
|
151
|
+
channelName: 'H1:LDAS-STRAIN'
|
|
152
|
+
frameType: 'T1200307_V4_EARLY_RECOLORED_V2'
|
|
153
|
+
sampleFrequency: 4096
|
|
154
|
+
searchTimeRange: 128
|
|
155
|
+
searchFrequencyRange: [32 Inf]
|
|
156
|
+
searchQRange: [3.32 141]
|
|
157
|
+
searchMaximumEnergyLoss: 0.2
|
|
158
|
+
whiteNoiseFalseRate: 1e-3
|
|
159
|
+
alwaysPlotFlag: 1
|
|
160
|
+
searchWindowDuration: 0.5
|
|
161
|
+
plotTimeRanges: [1 8 100]
|
|
162
|
+
plotFrequencyRange: []
|
|
163
|
+
plotNormalizedEnergyRange: [0 25.5]
|
|
164
|
+
}
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
ConfigsRecolored = {'L1':ConfigRecoloredL,
|
|
168
|
+
'H1':ConfigRecoloredH,
|
|
169
|
+
'V1':ConfigRecoloredV}
|
|
170
|
+
|
|
171
|
+
ExampleConfig = \
|
|
172
|
+
"""
|
|
173
|
+
[paths]
|
|
174
|
+
#The basedir is where the dag and sub files end up.
|
|
175
|
+
basedir=/home/jmeidam/tiger_runs/omegascans/example
|
|
176
|
+
|
|
177
|
+
#Within the outdir you will have one folder for each trigtime
|
|
178
|
+
# and within that, a resultsfolder (the resultspage) for each ifo
|
|
179
|
+
out=/home/jmeidam/public_html/omegascans/example
|
|
180
|
+
|
|
181
|
+
#A file that contains a list of sources, each of which has at least
|
|
182
|
+
# a trigtime, and timeslide for each detector (can be 0.0)
|
|
183
|
+
sourcefile=/home/jmeidam/tiger_runs/omegascans/example/omegascanslist.txt
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
[omegapipe]
|
|
188
|
+
executable=/home/omega/opt/omega/bin/wpipeline
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
[analysis]
|
|
193
|
+
ifos=['L1','H1','V1']
|
|
194
|
+
|
|
195
|
+
frametypes={'L1':'L1_RDS_R_L1','H1':'H1_RDS_R_L1','V1':'T1300121_V1_EARLY_RECOLORED_V2'}
|
|
196
|
+
|
|
197
|
+
accounting_group=ligo.dev.o1.cbc.testgr.tiger
|
|
198
|
+
|
|
199
|
+
#oddslimit can be empty if all sources in sourcefile are to be scanned
|
|
200
|
+
# in this example, only odds > 20 are scanned
|
|
201
|
+
oddslimit={'low':20.0}
|
|
202
|
+
|
|
203
|
+
#comment out "basicscan" to include auxiliary channels as well
|
|
204
|
+
basicscan=
|
|
205
|
+
|
|
206
|
+
#leave out to use defaults, also ignored when basicscan is set
|
|
207
|
+
#conigfiles={'L1':'conig_L1.txt','H1':'conig_H1.txt','V1':'conig_V1.txt'}
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
[cbcwikitable]
|
|
212
|
+
#A table will be written out to the output folder that can be pasted into
|
|
213
|
+
#a CBC wiki page. The table includes links to all the scans.
|
|
214
|
+
|
|
215
|
+
#When outlier is given a value, the CBCwiki_table will only include entries
|
|
216
|
+
# where LogOdds > outlier. Not needed if already set with "oddslimit"
|
|
217
|
+
outlier=20.0
|
|
218
|
+
|
|
219
|
+
#the webdir is used to create links to the omega scan pages.
|
|
220
|
+
# Make sure it corresponds to the "out" directory in the [paths] section
|
|
221
|
+
webdir=https://ldas-jobs.ligo.caltech.edu/~jmeidam/omegascans/example
|
|
222
|
+
"""
|
|
223
|
+
|
|
224
|
+
ExampleSourceFile = \
|
|
225
|
+
"""trigtime H1 L1 V1 logodds
|
|
226
|
+
966944343 0 1869348 593939 107.23
|
|
227
|
+
970687764 0 -1963504 -903565 156.14
|
|
228
|
+
969100904 0 -109089 -2545560 96.04
|
|
229
|
+
"""
|
|
230
|
+
|
|
231
|
+
###############################################################################
|
|
232
|
+
#
|
|
233
|
+
# FUNCTIONS
|
|
234
|
+
#
|
|
235
|
+
###############################################################################
|
|
236
|
+
|
|
237
|
+
def mkdirs(path):
|
|
238
|
+
"""
|
|
239
|
+
Helper function. Make the given directory, creating intermediate
|
|
240
|
+
dirs if necessary, and don't complain about it already existing.
|
|
241
|
+
"""
|
|
242
|
+
if os.access(path,os.W_OK) and os.path.isdir(path): return
|
|
243
|
+
else: os.makedirs(path)
|
|
244
|
+
|
|
245
|
+
def system_call(command):
|
|
246
|
+
p = Popen([command], stdout=PIPE,stderr=PIPE, shell=True)
|
|
247
|
+
out, err = p.communicate()
|
|
248
|
+
return out, err#p.stdout.read(),p.stderr.read()
|
|
249
|
+
|
|
250
|
+
def get_framedir(trigtime,timeslide,ifo,frametype):
|
|
251
|
+
"""
|
|
252
|
+
Use gw_data_find to find the frame directory name which is used as
|
|
253
|
+
an argument to wpipeline.
|
|
254
|
+
"""
|
|
255
|
+
scantime = trigtime+timeslide
|
|
256
|
+
|
|
257
|
+
#get framefile location with datafind:
|
|
258
|
+
command="/usr/bin/gw_data_find --observatory=%s --url-type=file --type=%s --gps-start-time=%.3f --gps-end-time=%.3f"%(ifo[0],frametype,scantime,scantime)
|
|
259
|
+
datafind_stdout,datafind_stderr = system_call(command)
|
|
260
|
+
if not datafind_stdout:
|
|
261
|
+
print(datafind_stderr)
|
|
262
|
+
exit("gw_data_find failed, exiting...")
|
|
263
|
+
gwf_file = datafind_stdout.replace("file://localhost","").strip()
|
|
264
|
+
gwf_dir = os.path.dirname(gwf_file).strip()
|
|
265
|
+
|
|
266
|
+
#An extra check to be sure the output was not gibberish
|
|
267
|
+
if not os.path.isfile(gwf_file):
|
|
268
|
+
exit("%s is not a file or does not exist, exiting..."%gwf_file)
|
|
269
|
+
|
|
270
|
+
return gwf_dir
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
def fix_subfile(subfile):
|
|
274
|
+
"""
|
|
275
|
+
The omega pipeline executable is followed by "scan", which
|
|
276
|
+
needs to be in front of all the other arguments and options.
|
|
277
|
+
This function corrects the final subfile to this end.
|
|
278
|
+
- It removes "scan" from the executable
|
|
279
|
+
- Places it as the first item in "arguments"
|
|
280
|
+
"""
|
|
281
|
+
with open(subfile, 'r') as f:
|
|
282
|
+
lines = f.readlines()
|
|
283
|
+
i=0
|
|
284
|
+
i_exec = 0
|
|
285
|
+
i_args = 0
|
|
286
|
+
for l in lines:
|
|
287
|
+
if l.split()[0] == "executable":
|
|
288
|
+
i_exec=i
|
|
289
|
+
if l.split()[0] == "arguments":
|
|
290
|
+
i_args=i
|
|
291
|
+
i+=1
|
|
292
|
+
|
|
293
|
+
#remove last item of the executable line, which should be "scan".
|
|
294
|
+
if lines[i_exec].strip().split()[-1] == "scan":
|
|
295
|
+
execitem = lines[i_exec].strip().split()[:-1]
|
|
296
|
+
lines[i_exec] = ' '.join(execitem)
|
|
297
|
+
lines[i_exec] += '\n'
|
|
298
|
+
|
|
299
|
+
#add scan as the first argument
|
|
300
|
+
x = lines[i_args]
|
|
301
|
+
lines[i_args] = x.replace('"','" scan',1)
|
|
302
|
+
|
|
303
|
+
#rewrite subfile
|
|
304
|
+
with open(subfile, 'w') as f:
|
|
305
|
+
for line in lines:
|
|
306
|
+
f.write(line)
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
def fix_scriptfile(dagpath,dagfilename,executable):
|
|
310
|
+
"""
|
|
311
|
+
If the scan argument is not included in the executable,
|
|
312
|
+
it will not show up in the sh file.
|
|
313
|
+
This function corrects that.
|
|
314
|
+
"""
|
|
315
|
+
scriptname = ".".join(dagfilename.split(".")[:-1]) + ".sh"
|
|
316
|
+
with open(os.path.join(dagpath,scriptname), 'r') as f:
|
|
317
|
+
lines = f.readlines()
|
|
318
|
+
|
|
319
|
+
if len(executable.split())>1:
|
|
320
|
+
if executable.split()[1] == 'scan':
|
|
321
|
+
print("scan found")
|
|
322
|
+
return
|
|
323
|
+
|
|
324
|
+
#do the following if scan is not present
|
|
325
|
+
i=0
|
|
326
|
+
for l in lines:
|
|
327
|
+
spl = l.strip().split()
|
|
328
|
+
if len(spl) > 1:
|
|
329
|
+
if len(spl[0].split('/')) > 1: #the line we need
|
|
330
|
+
x = spl[0]
|
|
331
|
+
x += " scan"
|
|
332
|
+
for item in spl[1:]:
|
|
333
|
+
x+=" %s"%item
|
|
334
|
+
x+='\n'
|
|
335
|
+
lines[i]=x
|
|
336
|
+
i+=1
|
|
337
|
+
|
|
338
|
+
#rewrite
|
|
339
|
+
with open(os.path.join(dagpath,scriptname), 'w') as f:
|
|
340
|
+
for line in lines:
|
|
341
|
+
f.write(line)
|
|
342
|
+
|
|
343
|
+
###############################################################################
|
|
344
|
+
#
|
|
345
|
+
# CLASSES
|
|
346
|
+
#
|
|
347
|
+
###############################################################################
|
|
348
|
+
|
|
349
|
+
class OmegaScansDAG(pipeline.CondorDAG):
|
|
350
|
+
def __init__(self,cp):
|
|
351
|
+
self.config=cp
|
|
352
|
+
|
|
353
|
+
## Setup some paths and filenames
|
|
354
|
+
self.basepath = self.config.get('paths','basedir')
|
|
355
|
+
self.sourcefile = self.config.get('paths','sourcefile')
|
|
356
|
+
self.outpath = self.config.get('paths','out')
|
|
357
|
+
mkdirs(self.outpath)
|
|
358
|
+
self.daglogfile=os.path.join(self.basepath,'omegascans-'+str(uuid.uuid1())+'.log')
|
|
359
|
+
pipeline.CondorDAG.__init__(self,self.daglogfile)
|
|
360
|
+
if cp.has_option('paths','logdir'):
|
|
361
|
+
self.logpath=cp.get('paths','logdir')
|
|
362
|
+
else:
|
|
363
|
+
self.logpath=os.path.join(self.basepath,'log')
|
|
364
|
+
mkdirs(self.logpath)
|
|
365
|
+
self.dagfilename="omegascans"
|
|
366
|
+
self.submitFile = os.path.join(self.basepath,'omegascans.sub')
|
|
367
|
+
|
|
368
|
+
#get ifos
|
|
369
|
+
if cp.has_option('analysis','ifos'):
|
|
370
|
+
self.ifos=ast.literal_eval(cp.get('analysis','ifos'))
|
|
371
|
+
else:
|
|
372
|
+
self.ifos=['H1','L1','V1']
|
|
373
|
+
|
|
374
|
+
#Set the DAG's filename
|
|
375
|
+
self.set_dag_file(os.path.join(self.basepath,self.dagfilename))
|
|
376
|
+
|
|
377
|
+
#Set the config files and frametypes
|
|
378
|
+
self.frametypes=ast.literal_eval(cp.get('analysis','frametypes'))
|
|
379
|
+
if cp.has_option('analysis','configfiles'):
|
|
380
|
+
self.configfiles=ast.literal_eval(cp.get('analysis','configfiles'))
|
|
381
|
+
else:
|
|
382
|
+
if cp.has_option('analysis','basicscan'):
|
|
383
|
+
self.configfiles={}
|
|
384
|
+
self.frametypes=RecoloredFrameTypes
|
|
385
|
+
for ifo in self.ifos:
|
|
386
|
+
self.configfiles[ifo]=os.path.join(self.basepath,"basic_config_%s.txt"%ifo)
|
|
387
|
+
with open(os.path.join(self.basepath,self.configfiles[ifo]),'w') as f:
|
|
388
|
+
f.write(ConfigsRecolored[ifo])
|
|
389
|
+
else:
|
|
390
|
+
if 'V1' in self.ifos:
|
|
391
|
+
#For V1 there is no other file available on non-virgo clusters
|
|
392
|
+
DefaultConfigFiles['V1']=os.path.join(self.basepath,"basic_config_V1.txt")
|
|
393
|
+
with open(os.path.join(self.basepath,DefaultConfigFiles['V1']),'w') as f:
|
|
394
|
+
f.write(ConfigsRecolored['V1'])
|
|
395
|
+
self.configfiles=DefaultConfigFiles
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
#get info (e.g. trigtimes and timeslides) from data file
|
|
399
|
+
info = self.ReadInfoFromFile(self.ifos)
|
|
400
|
+
Nsources = len(info['trigtime'])
|
|
401
|
+
|
|
402
|
+
#create the job and add the nodes
|
|
403
|
+
job = OmegaScanJob(self.config,self.submitFile,self.logpath)
|
|
404
|
+
|
|
405
|
+
#set limits for analysis
|
|
406
|
+
self.oddslimit_set = False
|
|
407
|
+
if self.config.has_option('analysis','oddslimit'):
|
|
408
|
+
self.oddslimit=ast.literal_eval(self.config.get('analysis','oddslimit'))
|
|
409
|
+
if self.oddslimit.has_key('low') or self.oddslimit.has_key('high'):
|
|
410
|
+
self.oddslimit_set = True
|
|
411
|
+
if not self.oddslimit.has_key('low'):
|
|
412
|
+
self.oddslimit['low'] = float('-inf')
|
|
413
|
+
if not self.oddslimit.has_key('high'):
|
|
414
|
+
self.oddslimit['high'] = float('inf')
|
|
415
|
+
else:
|
|
416
|
+
self.oddslimit={'low':float('-inf'),'high':float('inf')}
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
#This is where we store data for a wiki table
|
|
421
|
+
self.table_entries=[]
|
|
422
|
+
|
|
423
|
+
print("calling gw_data_find for each node...")
|
|
424
|
+
for n in range(Nsources):
|
|
425
|
+
timeslides={}
|
|
426
|
+
if self.oddslimit_set:
|
|
427
|
+
if info['logodds'][n] > self.oddslimit['low'] and info['logodds'][n] < self.oddslimit['high']:
|
|
428
|
+
for ifo in self.ifos:
|
|
429
|
+
node = OmegaScanNode(info['trigtime'][n],info[ifo][n],ifo,self.frametypes[ifo],self.configfiles[ifo],self.outpath,job)
|
|
430
|
+
timeslides[ifo] = info[ifo][n]
|
|
431
|
+
self.add_node(node)
|
|
432
|
+
self.add_table_entry(info['trigtime'][n],timeslides,self.ifos,info['logodds'][n])
|
|
433
|
+
else:
|
|
434
|
+
for ifo in self.ifos:
|
|
435
|
+
node = OmegaScanNode(info['trigtime'][n],info[ifo][n],ifo,self.frametypes[ifo],self.configfiles[ifo],self.outpath,job)
|
|
436
|
+
timeslides[ifo] = info[ifo][n]
|
|
437
|
+
self.add_node(node)
|
|
438
|
+
self.add_table_entry(info['trigtime'][n],timeslides,self.ifos,0.0)
|
|
439
|
+
print("success!")
|
|
440
|
+
|
|
441
|
+
self.write_table()
|
|
442
|
+
|
|
443
|
+
def add_table_entry(self,trigtime,timeslides,ifos,logodds):
|
|
444
|
+
table_entry = {}
|
|
445
|
+
for ifo in ifos:
|
|
446
|
+
table_entry[ifo]=timeslides[ifo]
|
|
447
|
+
table_entry['trigtime']=trigtime
|
|
448
|
+
table_entry['logodds']=logodds
|
|
449
|
+
|
|
450
|
+
self.table_entries.append(table_entry)
|
|
451
|
+
|
|
452
|
+
def write_table(self):
|
|
453
|
+
"""
|
|
454
|
+
writes a cbc wiki type table with some information and links
|
|
455
|
+
"""
|
|
456
|
+
|
|
457
|
+
filename = os.path.join(self.outpath,"CBCwiki_table.txt")
|
|
458
|
+
print("writing CBC wiki table to \"%s\""%filename)
|
|
459
|
+
|
|
460
|
+
outlier=None
|
|
461
|
+
if self.config.has_option('cbcwikitable','outlier'):
|
|
462
|
+
outlier=float(self.config.get('cbcwikitable','outlier'))
|
|
463
|
+
|
|
464
|
+
fp = open(filename,'w')
|
|
465
|
+
|
|
466
|
+
webdir=None
|
|
467
|
+
if self.config.has_option('cbcwikitable','webdir'):
|
|
468
|
+
webdir=self.config.get('cbcwikitable','webdir')
|
|
469
|
+
|
|
470
|
+
header="||'''trigtime'''"
|
|
471
|
+
for ifo in self.ifos:
|
|
472
|
+
header+="||'''timeslide %s'''"%ifo
|
|
473
|
+
for ifo in self.ifos:
|
|
474
|
+
header+="||'''injtime %s'''"%ifo
|
|
475
|
+
header+="||'''log odds'''||"
|
|
476
|
+
|
|
477
|
+
fp.write(header+"\n")
|
|
478
|
+
|
|
479
|
+
entries_to_write=[]
|
|
480
|
+
if outlier:
|
|
481
|
+
for e in self.table_entries:
|
|
482
|
+
if float(e['logodds']) > outlier:
|
|
483
|
+
entries_to_write.append(e)
|
|
484
|
+
else:
|
|
485
|
+
entries_to_write = self.table_entries
|
|
486
|
+
|
|
487
|
+
for e in entries_to_write:
|
|
488
|
+
string="||%d"%e['trigtime']
|
|
489
|
+
#timeslide entries
|
|
490
|
+
for ifo in self.ifos:
|
|
491
|
+
string+="||%d"%e[ifo]
|
|
492
|
+
#injection time entries
|
|
493
|
+
for ifo in self.ifos:
|
|
494
|
+
time = float(e['trigtime'])+float(e[ifo])
|
|
495
|
+
if webdir:
|
|
496
|
+
link = os.path.join(webdir,"scan_%d"%e['trigtime'],"%s_%.2f"%(ifo,time))
|
|
497
|
+
string+="||[[%s|%d]]"%(link,time)
|
|
498
|
+
else:
|
|
499
|
+
string+="||%d"%time
|
|
500
|
+
string+="||%.3f||"%e['logodds']
|
|
501
|
+
fp.write(string+"\n")
|
|
502
|
+
|
|
503
|
+
fp.close()
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
def ReadInfoFromFile(self,ifos):
|
|
507
|
+
"""
|
|
508
|
+
Reads in a file containing columns for at least trigtime, timeslide ifo1, timeslide ifo2 and timeslide ifo3 resp.
|
|
509
|
+
"""
|
|
510
|
+
headerdict={}
|
|
511
|
+
info = {}
|
|
512
|
+
|
|
513
|
+
oddslimit_set = False
|
|
514
|
+
if self.config.has_option('analysis','oddslimit'):
|
|
515
|
+
oddstest = ast.literal_eval(self.config.get('analysis','oddslimit'))
|
|
516
|
+
if oddstest.has_key('low') or oddstest.has_key('high'):
|
|
517
|
+
oddslimit_set = True
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
with open(self.sourcefile,'r') as f:
|
|
522
|
+
|
|
523
|
+
data=f.readlines()
|
|
524
|
+
|
|
525
|
+
#Read the header to get the IFO names
|
|
526
|
+
header = data[0].strip().split()
|
|
527
|
+
Nsources = len(data)-1
|
|
528
|
+
|
|
529
|
+
#redefine data without the header
|
|
530
|
+
data = data[1:]
|
|
531
|
+
|
|
532
|
+
#which header label corresponds to which collum
|
|
533
|
+
for i in range(len(header)):
|
|
534
|
+
headerdict[header[i]] = i
|
|
535
|
+
|
|
536
|
+
for ifo in ifos:
|
|
537
|
+
if not headerdict.has_key("timeslide_"+ifo) and not headerdict.has_key(ifo):
|
|
538
|
+
sys.exit("ERROR: Not all ifos from config file are present in \""+self.sourcefile+"\"")
|
|
539
|
+
|
|
540
|
+
if not headerdict.has_key('trigtime') and not headerdict.has_key('injtime'):
|
|
541
|
+
sys.exit("ERROR: The \""+self.sourcefile+"\" does not contain \"trigtime\" column.")
|
|
542
|
+
|
|
543
|
+
if oddslimit_set:
|
|
544
|
+
#values for logodds are required if a limit was set
|
|
545
|
+
if not headerdict.has_key('logodds') and not headerdict.has_key('logO'):
|
|
546
|
+
sys.exit("ERROR: An odds limit was set, but \""+self.sourcefile+"\" does not contain \"logodds\" column.")
|
|
547
|
+
|
|
548
|
+
#change header dict to use preferred format
|
|
549
|
+
for ifo in ifos:
|
|
550
|
+
if headerdict.has_key("timeslide_"+ifo):
|
|
551
|
+
val = headerdict["timeslide_"+ifo]
|
|
552
|
+
headerdict[ifo]=val
|
|
553
|
+
if headerdict.has_key("injtime"):
|
|
554
|
+
val = headerdict["injtime"]
|
|
555
|
+
headerdict["trigtime"]=val
|
|
556
|
+
if oddslimit_set:
|
|
557
|
+
if headerdict.has_key("logO"):
|
|
558
|
+
val = headerdict["logO"]
|
|
559
|
+
headerdict["logodds"]=val
|
|
560
|
+
|
|
561
|
+
#read in the remaining lines
|
|
562
|
+
for ifo in ifos:
|
|
563
|
+
timeslist=[]
|
|
564
|
+
for n in range(Nsources):
|
|
565
|
+
linesplit = data[n].strip().split()
|
|
566
|
+
col = headerdict[ifo]
|
|
567
|
+
timeslist.append(float(linesplit[col]))
|
|
568
|
+
info[ifo]=timeslist
|
|
569
|
+
|
|
570
|
+
#read the trigtimes
|
|
571
|
+
trigtimeslist=[]
|
|
572
|
+
if oddslimit_set: logoddslist=[]
|
|
573
|
+
for n in range(Nsources):
|
|
574
|
+
linesplit = data[n].strip().split()
|
|
575
|
+
coltrig = headerdict['trigtime']
|
|
576
|
+
trigtimeslist.append(float(linesplit[coltrig]))
|
|
577
|
+
if oddslimit_set:
|
|
578
|
+
colodds = headerdict['logodds']
|
|
579
|
+
logoddslist.append(float(linesplit[colodds]))
|
|
580
|
+
|
|
581
|
+
info['trigtime'] = trigtimeslist
|
|
582
|
+
if oddslimit_set:
|
|
583
|
+
info['logodds'] = logoddslist
|
|
584
|
+
|
|
585
|
+
return info
|
|
586
|
+
|
|
587
|
+
class OmegaScanJob(pipeline.CondorDAGJob):
|
|
588
|
+
def __init__(self,cp,submitFile,logdir):
|
|
589
|
+
self.basepath=cp.get('paths','basedir')
|
|
590
|
+
|
|
591
|
+
pipeline.CondorDAGJob.__init__(self,'vanilla',cp.get('omegapipe','executable'))
|
|
592
|
+
|
|
593
|
+
self.set_sub_file(os.path.abspath(submitFile))
|
|
594
|
+
self.machine_count=str(1)
|
|
595
|
+
self.machine_memory=str(1024) # default value
|
|
596
|
+
self.add_condor_cmd('accounting_group',cp.get('analysis','accounting_group'))
|
|
597
|
+
self.add_condor_cmd('RequestMemory',str(2000))
|
|
598
|
+
self.add_arg("--report")
|
|
599
|
+
self.set_stdout_file(os.path.join(logdir,'omegascans-$(cluster)-$(process)-$(node).out'))
|
|
600
|
+
self.set_stderr_file(os.path.join(logdir,'omegascans-$(cluster)-$(process)-$(node).err'))
|
|
601
|
+
|
|
602
|
+
class OmegaScanNode(pipeline.CondorDAGNode):
|
|
603
|
+
|
|
604
|
+
def __init__(self,trigtime,timeslide,ifo,frametype,configfile,outdir,job,logodds=None):
|
|
605
|
+
self.framedir=get_framedir(trigtime,timeslide,ifo,frametype)
|
|
606
|
+
pipeline.CondorDAGNode.__init__(self,job)
|
|
607
|
+
self.__finalized=False
|
|
608
|
+
scantime = trigtime+timeslide
|
|
609
|
+
|
|
610
|
+
#sometimes there are unwanted lockfiles lying around.
|
|
611
|
+
#they will be removed, but the user is warned
|
|
612
|
+
lockfile = os.path.join(outdir,"scan_%.0f"%trigtime,"%s_%.2f"%(ifo,scantime),"lock.txt")
|
|
613
|
+
if os.path.isfile(lockfile):
|
|
614
|
+
print("WARNING: lock file found in output directory.\n Deleting it now, but check that you did not forget to stop some ongoing run.")
|
|
615
|
+
system_call('rm %s'%lockfile)
|
|
616
|
+
|
|
617
|
+
self.add_var_arg('%.3f'%scantime)
|
|
618
|
+
self.add_var_opt("outdir",os.path.join(outdir,"scan_%.0f"%trigtime,"%s_%.2f"%(ifo,scantime)))
|
|
619
|
+
self.add_var_opt("configuration",configfile)
|
|
620
|
+
self.add_var_opt("framecache",self.framedir)
|
|
621
|
+
|
|
622
|
+
def finalize(self):
|
|
623
|
+
if self.__finalized:
|
|
624
|
+
return
|
|
625
|
+
self.__finalized=True
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
def main():
|
|
632
|
+
|
|
633
|
+
#############################################################################
|
|
634
|
+
#
|
|
635
|
+
# ARGUMENT PARSING
|
|
636
|
+
#
|
|
637
|
+
#############################################################################
|
|
638
|
+
|
|
639
|
+
parser=OptionParser(usage)
|
|
640
|
+
parser.add_option("-e","--example",default=False,dest="example",action="store_true",help="Create example config.ini and an example sourcefile")
|
|
641
|
+
(opts,args) = parser.parse_args()
|
|
642
|
+
|
|
643
|
+
if opts.example:
|
|
644
|
+
with open("omega_config.ini","w") as f:
|
|
645
|
+
f.write(ExampleConfig)
|
|
646
|
+
with open("omegascanslist.txt","w") as f:
|
|
647
|
+
f.write(ExampleSourceFile)
|
|
648
|
+
|
|
649
|
+
print("Example files \"omega_config.ini\" and \"omegascanslist.txt\" are created")
|
|
650
|
+
sys.exit(0)
|
|
651
|
+
|
|
652
|
+
if len(args) != 1:
|
|
653
|
+
parser.print_help()
|
|
654
|
+
sys.exit("ERROR: Must provide one config.ini")
|
|
655
|
+
|
|
656
|
+
cp=ConfigParser()
|
|
657
|
+
cp.optionxform = str
|
|
658
|
+
try:
|
|
659
|
+
cp.read_file(open(args[0]))
|
|
660
|
+
except AttributeError:
|
|
661
|
+
cp.readfp(open(args[0]))
|
|
662
|
+
|
|
663
|
+
dag=OmegaScansDAG(cp)
|
|
664
|
+
|
|
665
|
+
dag.write_sub_files()
|
|
666
|
+
dag.write_dag()
|
|
667
|
+
dag.write_script()
|
|
668
|
+
|
|
669
|
+
#fix the sub and sh files
|
|
670
|
+
#This is required because pipeline.py does not yet have the ability to add
|
|
671
|
+
#a specific argument before all other arguments and options ('scan' in this case)
|
|
672
|
+
fix_subfile(dag.submitFile)
|
|
673
|
+
fix_scriptfile(cp.get('paths','basedir'),dag.get_dag_file(),cp.get('omegapipe','executable'))
|
|
674
|
+
|
|
675
|
+
print('Successfully created DAG file.')
|
|
676
|
+
fulldagpath=os.path.join(cp.get('paths','basedir'),dag.get_dag_file())
|
|
677
|
+
print('Now run condor_submit_dag %s\n'%(fulldagpath))
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
###############################################################################
|
|
683
|
+
#
|
|
684
|
+
# START THE MAIN FUNCTION
|
|
685
|
+
#
|
|
686
|
+
###############################################################################
|
|
687
|
+
|
|
688
|
+
if __name__ == "__main__":
|
|
689
|
+
# START THE MAIN FUNCTION IF RUN AS A SCRIPT. OTHERWISE, JUST LOADS THE CLASS
|
|
690
|
+
# AND FUNCTION DEFINITIONS
|
|
691
|
+
exit(main())
|