gwcelery.tasks.lalinference module
Source Parameter Estimation with LALInference.
-
(task)
gwcelery.tasks.lalinference.
prepare_ini
(event, superevent_id=None)[source]
Determine an appropriate PE settings for the target event and return ini
file content
-
(task)
gwcelery.tasks.lalinference.
dag_prepare
(rundir, ini_contents, preferred_event_id, superevent_id)[source]
Create a Condor DAG to run LALInference on a given event.
- Parameters
rundir (str) – The path to a run directory where the DAG file exits
ini_contents (str) – The content of online_pe.ini
preferred_event_id (str) – The GraceDb ID of a target preferred event
superevent_id (str) – The GraceDb ID of a target superevent
- Returns
submit_file – The path to the .sub file
- Return type
str
-
(task)
gwcelery.tasks.lalinference.
job_error_notification
(request, exc, traceback, superevent_id)[source]
Upload notification when condor.submit terminates unexpectedly.
- Parameters
request (Context (placeholder)) – Task request variables
exc (Exception) – Exception rased by condor.submit
traceback (str (placeholder)) – Traceback message from a task
superevent_id (str) – The GraceDb ID of a target superevent
-
(task)
gwcelery.tasks.lalinference.
clean_up
(rundir)[source]
Clean up a run directory.
- Parameters
rundir (str) – The path to a run directory where the DAG file exits
-
gwcelery.tasks.lalinference.
dag_finished
(rundir, preferred_event_id, superevent_id)[source]
Upload PE results and clean up run directory
- Parameters
rundir (str) – The path to a run directory where the DAG file exits
preferred_event_id (str) – The GraceDb ID of a target preferred event
superevent_id (str) – The GraceDb ID of a target superevent
- Returns
tasks – The work-flow for uploading PE results
- Return type
canvas
-
(task)
gwcelery.tasks.lalinference.
start_pe
(ini_contents, preferred_event_id, superevent_id)[source]
Run LALInference on a given event.
- Parameters
ini_contents (str) – The content of online_pe.ini
preferred_event_id (str) – The GraceDb ID of a target preferred event
superevent_id (str) – The GraceDb ID of a target superevent