gwcelery.tasks.lalinference module

Source Parameter Estimation with LALInference.

(task)gwcelery.tasks.lalinference.dag_prepare(rundir, download_id, upload_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
  • download_id (str) – The GraceDb ID of an event from which xml files are downloaded
  • upload_id (str) – The GraceDb ID of an event to which results are uploaded
Returns:

submit_file – The path to the .sub file

Return type:

str

(task)gwcelery.tasks.lalinference.upload_result(webdir, filename, graceid, message, tag)[source]

Upload a PE result

Parameters:graceid (str) – The GraceDb ID.
(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, download_id, upload_id)[source]

Upload PE results and clean up run directory

Parameters:
  • rundir (str) – The path to a run directory where the DAG file exits
  • download_id (str) – The GraceDb ID of an event from which xml files are downloaded
  • upload_id (str) – The GraceDb ID of an event to which results are uploaded
Returns:

tasks – The work-flow for uploading PE results

Return type:

canvas

(task)gwcelery.tasks.lalinference.lalinference(download_id, upload_id)[source]

Run LALInference on a given event.

Parameters:
  • download_id (str) – The GraceDb ID of an event from which xml files are downloaded
  • upload_id (str) – The GraceDb ID of an event to which results are uploaded