rapidpe-rift-pipe 0.6.10.dev20241113__py3-none-any.whl → 0.7.1__py3-none-any.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.
- rapidpe_rift_pipe/__init__.py +1 -1
- rapidpe_rift_pipe/cli.py +9 -0
- rapidpe_rift_pipe/config.py +6 -0
- rapidpe_rift_pipe/create_submit_dag_one_event.py +11 -0
- {rapidpe_rift_pipe-0.6.10.dev20241113.dist-info → rapidpe_rift_pipe-0.7.1.dist-info}/METADATA +7 -6
- rapidpe_rift_pipe-0.7.1.dist-info/RECORD +31 -0
- {rapidpe_rift_pipe-0.6.10.dev20241113.dist-info → rapidpe_rift_pipe-0.7.1.dist-info}/WHEEL +1 -1
- rapidpe_rift_pipe-0.6.10.dev20241113.dist-info/RECORD +0 -31
- {rapidpe_rift_pipe-0.6.10.dev20241113.data → rapidpe_rift_pipe-0.7.1.data}/scripts/compute_posterior.py +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241113.data → rapidpe_rift_pipe-0.7.1.data}/scripts/convert_result_to_txt.py +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241113.data → rapidpe_rift_pipe-0.7.1.data}/scripts/cprofile_summary.py +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241113.data → rapidpe_rift_pipe-0.7.1.data}/scripts/create_summarypage.py +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241113.data → rapidpe_rift_pipe-0.7.1.data}/scripts/plot_skymap.py +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241113.dist-info → rapidpe_rift_pipe-0.7.1.dist-info}/entry_points.txt +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241113.dist-info → rapidpe_rift_pipe-0.7.1.dist-info/licenses}/COPYING +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241113.dist-info → rapidpe_rift_pipe-0.7.1.dist-info}/top_level.txt +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241113.dist-info → rapidpe_rift_pipe-0.7.1.dist-info}/zip-safe +0 -0
rapidpe_rift_pipe/__init__.py
CHANGED
rapidpe_rift_pipe/cli.py
CHANGED
@@ -72,6 +72,11 @@ _run_mode_to_channels = {
|
|
72
72
|
"L1": "GDS-CALIB_STRAIN_INJ1_O3Replay",
|
73
73
|
"V1": "Hrec_hoft_16384Hz_INJ1_O3Replay",
|
74
74
|
},
|
75
|
+
"o4llpic": {
|
76
|
+
"H1": "GDS-CALIB_STRAIN_CLEAN_INJ1_O4Replay",
|
77
|
+
"L1": "GDS-CALIB_STRAIN_CLEAN_INJ1_O4Replay",
|
78
|
+
"V1": "Hrec_hoft_16384Hz_INJ1_O4Replay",
|
79
|
+
},
|
75
80
|
}
|
76
81
|
|
77
82
|
shm_basedir = "/dev/shm/kafka/"
|
@@ -85,6 +90,10 @@ _run_mode_to_shm_dir["o3replay"] = {
|
|
85
90
|
ifo: os.path.join(shm_basedir, f"{ifo}_O3ReplayMDC")
|
86
91
|
for ifo in ["H1", "L1", "V1"]
|
87
92
|
}
|
93
|
+
_run_mode_to_shm_dir["o4llpic"] = {
|
94
|
+
ifo: os.path.join(shm_basedir, f"{ifo}_O4LLPIC")
|
95
|
+
for ifo in ["H1", "L1", "V1"]
|
96
|
+
}
|
88
97
|
|
89
98
|
|
90
99
|
def make_parser():
|
rapidpe_rift_pipe/config.py
CHANGED
@@ -67,6 +67,7 @@ class Config:
|
|
67
67
|
# Entire sections parsed as dicts
|
68
68
|
common_event_info: dict
|
69
69
|
integrate_likelihood_cmds_dict: dict
|
70
|
+
integrate_likelihood_condor_commands: dict
|
70
71
|
create_event_dag_info: dict
|
71
72
|
create_event_dag_condor_commands: dict
|
72
73
|
grid_refine_info: dict
|
@@ -216,6 +217,11 @@ class Config:
|
|
216
217
|
attrs["integrate_likelihood_cmds_dict"] = (
|
217
218
|
convert_section_args_to_dict(cfg, "LikelihoodIntegration")
|
218
219
|
)
|
220
|
+
attrs["integrate_likelihood_condor_commands"] = (
|
221
|
+
convert_section_args_to_dict(
|
222
|
+
cfg, "LikelihoodIntegration_condor_commands",
|
223
|
+
)
|
224
|
+
)
|
219
225
|
attrs["create_event_dag_info"] = (
|
220
226
|
convert_section_args_to_dict(cfg, "CreateEventDag")
|
221
227
|
)
|
@@ -164,6 +164,9 @@ def main(config, event_info=None):
|
|
164
164
|
newlines += f"log = {log_dir}/integrate.log\nerror = {log_dir}/integrate.err\noutput = {log_dir}/integrate.out\n"
|
165
165
|
newlines += "notification = never\nqueue 1\n"
|
166
166
|
|
167
|
+
for k, v in config.integrate_likelihood_condor_commands.items():
|
168
|
+
newlines += f"{k} = {v}"
|
169
|
+
|
167
170
|
sub_file_path = os.path.join(output_dir,"integrate.sub")
|
168
171
|
with open(sub_file_path,"w") as fo:
|
169
172
|
fo.write(newlines)
|
@@ -242,6 +245,9 @@ def main(config, event_info=None):
|
|
242
245
|
## TODO: integrate into config.py
|
243
246
|
it_0_dag_cmd += convert_dict_to_cmd_line(config.create_event_dag_info)
|
244
247
|
|
248
|
+
for k, v in config.integrate_likelihood_condor_commands.items():
|
249
|
+
it_0_dag_cmd += f" --condor-command {k}={v}"
|
250
|
+
|
245
251
|
print(("Iteration 0 dag cmd:\n", it_0_dag_cmd))
|
246
252
|
exit_status = os.system(it_0_dag_cmd)
|
247
253
|
if exit_status != 0:
|
@@ -301,6 +307,11 @@ def main(config, event_info=None):
|
|
301
307
|
#Option added to create_event_dag to use integration.sub file which was generated for iteration 0, regenerating it is unnecessary.
|
302
308
|
#FIXME: add this option to rapidpe_create_event_dag
|
303
309
|
iteration_job.add_opt("condor-command","accounting_group="+config.accounting_group)
|
310
|
+
# HACK: glue.pipeline doesn't allow repeated add_opt calls with the same
|
311
|
+
# key, because it uses a dict to store them. Using add_arg
|
312
|
+
# instead to append additional --condor-command options.
|
313
|
+
for k, v in config.integrate_likelihood_condor_commands.items():
|
314
|
+
iteration_job.add_arg(f"--condor-command {k}={v}")
|
304
315
|
iteration_job.add_opt("accounting-group-user",config.accounting_group_user)
|
305
316
|
if len(config.getenv) != 0:
|
306
317
|
iteration_job.add_opt("getenv", " ".join(config.getenv))
|
{rapidpe_rift_pipe-0.6.10.dev20241113.dist-info → rapidpe_rift_pipe-0.7.1.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: rapidpe_rift_pipe
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.7.1
|
4
4
|
Summary: Pipeline for running RapidPE and RIFT parameter estimation codes
|
5
5
|
License: GPL-2+
|
6
6
|
Keywords: parameter estimation,gravitational waves
|
@@ -20,10 +20,11 @@ Requires-Dist: matplotlib
|
|
20
20
|
Requires-Dist: h5py
|
21
21
|
Requires-Dist: tabulate
|
22
22
|
Requires-Dist: astropy
|
23
|
-
Requires-Dist: lalsuite
|
24
|
-
Requires-Dist: gwpy
|
25
|
-
Requires-Dist: rift
|
26
|
-
Requires-Dist:
|
23
|
+
Requires-Dist: lalsuite!=7.15
|
24
|
+
Requires-Dist: gwpy>=3.0.4
|
25
|
+
Requires-Dist: rift<0.0.15.12,>=0.0.15.9
|
26
|
+
Requires-Dist: rapid_pe<0.2.0,>=0.1.1
|
27
|
+
Dynamic: license-file
|
27
28
|
|
28
29
|
# RapidPE/RIFT Pipeline
|
29
30
|
|
@@ -0,0 +1,31 @@
|
|
1
|
+
rapidpe_rift_pipe/__init__.py,sha256=pA1Ps0nWODErncH9_hjrmklb-bvQAzHJeYTHZDsX1Lk,101
|
2
|
+
rapidpe_rift_pipe/cli.py,sha256=cmG3VudY3nMKLe73Wh1Y-ARbbFgcnz0XptL6ejYbDdc,48389
|
3
|
+
rapidpe_rift_pipe/config.py,sha256=FXh5uEQeNQ_p48WulMQS78HD1sgBSeSSBUVe62ZAZn4,19095
|
4
|
+
rapidpe_rift_pipe/create_submit_dag_one_event.py,sha256=jAKuQePF6hAJ7uhAe6enQqvA0wjLDP6wB-tl20UajAc,33756
|
5
|
+
rapidpe_rift_pipe/jacobians.py,sha256=Lo2BBo_FWZtoWRU5KZKTrzNl_4NgPTFqXAJWOmCqOCU,2736
|
6
|
+
rapidpe_rift_pipe/modules.py,sha256=OIpltxelL85i9pJ8dLo2QYwtM0CkhyJhy9EuPOyAyxI,9701
|
7
|
+
rapidpe_rift_pipe/pastro.py,sha256=w5sg2DMkLFcQrSUKTXXYqBQukf3C-gu0DAVH5B3oAFQ,4198
|
8
|
+
rapidpe_rift_pipe/postscript_utils.py,sha256=ziuHrDvN2TjqUxmVlXV3_FpNu_0J5QigA9a7uc32yl4,28898
|
9
|
+
rapidpe_rift_pipe/profiling.py,sha256=tPXuo_Rj4MjsAgE9tOESxX-zAlWPVRKgpmOC91UnT0g,2260
|
10
|
+
rapidpe_rift_pipe/search_bias_bounds.py,sha256=7MYxOYDZXWf1OMb8Nv8v8saeh_ArArHGBJMVj84kYUA,2412
|
11
|
+
rapidpe_rift_pipe/test_cli.py,sha256=P-g-zH2gfFTnXUVLnoHysR46Q7QCf0OjWIDBEOcWGSA,75
|
12
|
+
rapidpe_rift_pipe/test_config.py,sha256=jaoPxEnsHJ2Uw-mdgwb9EAAuPE8Uu9xBOP1T7SeKbtc,2064
|
13
|
+
rapidpe_rift_pipe/test_modules.py,sha256=30hSuoNv5rarfdF28HEuD-DMKfQEVQbJx_7luocmFIU,369
|
14
|
+
rapidpe_rift_pipe/utils.py,sha256=8h1ONp9QT0wsJdhtH3V6oeVmTY-f6WT5aeAk2Vrx7es,1087
|
15
|
+
rapidpe_rift_pipe/config_files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
|
+
rapidpe_rift_pipe/config_files/search_bias_bounds/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
|
+
rapidpe_rift_pipe/config_files/search_bias_bounds/default.json,sha256=sIefZ0bRpUvYBFiSnPeMxk8tXdiuphLH7WsVgoJqTZM,4536
|
18
|
+
rapidpe_rift_pipe/static/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
19
|
+
rapidpe_rift_pipe/static/stylesheet.css,sha256=ZNCsudHPSoQHhlGhsyp1bkiHtViGaVH_1zg-qvs4EMc,1968
|
20
|
+
rapidpe_rift_pipe-0.7.1.data/scripts/compute_posterior.py,sha256=FBGoCKElttVCgx_81XpKm1ydx94zgi5Cm8P70Vs4sks,12762
|
21
|
+
rapidpe_rift_pipe-0.7.1.data/scripts/convert_result_to_txt.py,sha256=CnSeppeZbG5AUGr9ZQek_jdcQ4iwVUtwyh6ZHkMFM4M,12410
|
22
|
+
rapidpe_rift_pipe-0.7.1.data/scripts/cprofile_summary.py,sha256=pgBk_3YMwt74vL-lPWR1zS6ymXO60gNkEVRX3omadCw,6328
|
23
|
+
rapidpe_rift_pipe-0.7.1.data/scripts/create_summarypage.py,sha256=u0lQC6UQZDayaykosDPcHj_vqxIE0F5BQOV32Ex_Rrw,6285
|
24
|
+
rapidpe_rift_pipe-0.7.1.data/scripts/plot_skymap.py,sha256=FMytw4hSfA3tCwmkLrkL0WxEAwA1fmbmi1_8L0YcrK8,3710
|
25
|
+
rapidpe_rift_pipe-0.7.1.dist-info/licenses/COPYING,sha256=LbAbFn5v8J3vtiXEIWfvoNr1HAYT1RG7YxRj4mabYTU,18046
|
26
|
+
rapidpe_rift_pipe-0.7.1.dist-info/METADATA,sha256=eDLAgE3H6gbXTWS8OqAGm4N4yTWOF9UzS45rgGFC5Dw,1457
|
27
|
+
rapidpe_rift_pipe-0.7.1.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
28
|
+
rapidpe_rift_pipe-0.7.1.dist-info/entry_points.txt,sha256=1W8NQSDH-atGxb-w6ySdI0s4GACHYEHFrqB-ijrykWc,65
|
29
|
+
rapidpe_rift_pipe-0.7.1.dist-info/top_level.txt,sha256=IAUp8O4FXR8jydbZLzYvin2CWcu2fw4zsvUC8CQS0JM,18
|
30
|
+
rapidpe_rift_pipe-0.7.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
31
|
+
rapidpe_rift_pipe-0.7.1.dist-info/RECORD,,
|
@@ -1,31 +0,0 @@
|
|
1
|
-
rapidpe_rift_pipe/__init__.py,sha256=1TFfHlcUj7xo-IcziCs2fTkr5KJQLZN750PUPIWDizE,102
|
2
|
-
rapidpe_rift_pipe/cli.py,sha256=F6mxjoPw-diCW7DrwC6SdgHTLIrOqJI5vLp3pSAzZyI,48083
|
3
|
-
rapidpe_rift_pipe/config.py,sha256=Q4FU_pZjmwyf7ClhOa3CeF6BOk3T8JoueY-1xtj0etI,18862
|
4
|
-
rapidpe_rift_pipe/create_submit_dag_one_event.py,sha256=nmTtMZWXxNkbQPnpWG2vEfvGMHtd9BnsuLDOwwCzJVU,33152
|
5
|
-
rapidpe_rift_pipe/jacobians.py,sha256=Lo2BBo_FWZtoWRU5KZKTrzNl_4NgPTFqXAJWOmCqOCU,2736
|
6
|
-
rapidpe_rift_pipe/modules.py,sha256=OIpltxelL85i9pJ8dLo2QYwtM0CkhyJhy9EuPOyAyxI,9701
|
7
|
-
rapidpe_rift_pipe/pastro.py,sha256=w5sg2DMkLFcQrSUKTXXYqBQukf3C-gu0DAVH5B3oAFQ,4198
|
8
|
-
rapidpe_rift_pipe/postscript_utils.py,sha256=ziuHrDvN2TjqUxmVlXV3_FpNu_0J5QigA9a7uc32yl4,28898
|
9
|
-
rapidpe_rift_pipe/profiling.py,sha256=tPXuo_Rj4MjsAgE9tOESxX-zAlWPVRKgpmOC91UnT0g,2260
|
10
|
-
rapidpe_rift_pipe/search_bias_bounds.py,sha256=7MYxOYDZXWf1OMb8Nv8v8saeh_ArArHGBJMVj84kYUA,2412
|
11
|
-
rapidpe_rift_pipe/test_cli.py,sha256=P-g-zH2gfFTnXUVLnoHysR46Q7QCf0OjWIDBEOcWGSA,75
|
12
|
-
rapidpe_rift_pipe/test_config.py,sha256=jaoPxEnsHJ2Uw-mdgwb9EAAuPE8Uu9xBOP1T7SeKbtc,2064
|
13
|
-
rapidpe_rift_pipe/test_modules.py,sha256=30hSuoNv5rarfdF28HEuD-DMKfQEVQbJx_7luocmFIU,369
|
14
|
-
rapidpe_rift_pipe/utils.py,sha256=8h1ONp9QT0wsJdhtH3V6oeVmTY-f6WT5aeAk2Vrx7es,1087
|
15
|
-
rapidpe_rift_pipe/config_files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
|
-
rapidpe_rift_pipe/config_files/search_bias_bounds/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
|
-
rapidpe_rift_pipe/config_files/search_bias_bounds/default.json,sha256=sIefZ0bRpUvYBFiSnPeMxk8tXdiuphLH7WsVgoJqTZM,4536
|
18
|
-
rapidpe_rift_pipe/static/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
19
|
-
rapidpe_rift_pipe/static/stylesheet.css,sha256=ZNCsudHPSoQHhlGhsyp1bkiHtViGaVH_1zg-qvs4EMc,1968
|
20
|
-
rapidpe_rift_pipe-0.6.10.dev20241113.data/scripts/compute_posterior.py,sha256=FBGoCKElttVCgx_81XpKm1ydx94zgi5Cm8P70Vs4sks,12762
|
21
|
-
rapidpe_rift_pipe-0.6.10.dev20241113.data/scripts/convert_result_to_txt.py,sha256=CnSeppeZbG5AUGr9ZQek_jdcQ4iwVUtwyh6ZHkMFM4M,12410
|
22
|
-
rapidpe_rift_pipe-0.6.10.dev20241113.data/scripts/cprofile_summary.py,sha256=pgBk_3YMwt74vL-lPWR1zS6ymXO60gNkEVRX3omadCw,6328
|
23
|
-
rapidpe_rift_pipe-0.6.10.dev20241113.data/scripts/create_summarypage.py,sha256=u0lQC6UQZDayaykosDPcHj_vqxIE0F5BQOV32Ex_Rrw,6285
|
24
|
-
rapidpe_rift_pipe-0.6.10.dev20241113.data/scripts/plot_skymap.py,sha256=FMytw4hSfA3tCwmkLrkL0WxEAwA1fmbmi1_8L0YcrK8,3710
|
25
|
-
rapidpe_rift_pipe-0.6.10.dev20241113.dist-info/COPYING,sha256=LbAbFn5v8J3vtiXEIWfvoNr1HAYT1RG7YxRj4mabYTU,18046
|
26
|
-
rapidpe_rift_pipe-0.6.10.dev20241113.dist-info/METADATA,sha256=xa55c6N9wxl3ZeHluhYi9GlcfXwsL9F9venx2y_oMWY,1452
|
27
|
-
rapidpe_rift_pipe-0.6.10.dev20241113.dist-info/WHEEL,sha256=a7TGlA-5DaHMRrarXjVbQagU3Man_dCnGIWMJr5kRWo,91
|
28
|
-
rapidpe_rift_pipe-0.6.10.dev20241113.dist-info/entry_points.txt,sha256=1W8NQSDH-atGxb-w6ySdI0s4GACHYEHFrqB-ijrykWc,65
|
29
|
-
rapidpe_rift_pipe-0.6.10.dev20241113.dist-info/top_level.txt,sha256=IAUp8O4FXR8jydbZLzYvin2CWcu2fw4zsvUC8CQS0JM,18
|
30
|
-
rapidpe_rift_pipe-0.6.10.dev20241113.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
31
|
-
rapidpe_rift_pipe-0.6.10.dev20241113.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{rapidpe_rift_pipe-0.6.10.dev20241113.data → rapidpe_rift_pipe-0.7.1.data}/scripts/plot_skymap.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{rapidpe_rift_pipe-0.6.10.dev20241113.dist-info → rapidpe_rift_pipe-0.7.1.dist-info}/top_level.txt
RENAMED
File without changes
|
{rapidpe_rift_pipe-0.6.10.dev20241113.dist-info → rapidpe_rift_pipe-0.7.1.dist-info}/zip-safe
RENAMED
File without changes
|