gwdetchar.omega.batch module

Batch-mode utilities for omega scans

gwdetchar.omega.batch.generate_dag(times, flags=[], tag='gwdetchar-omega-batch', submit=False, outdir='/home/docs/checkouts/readthedocs.org/user_builds/gwdetchar/checkouts/stable/docs', universe='vanilla', condor_commands=['accounting_group = ligo.dev.s6.detchar.user_req.omegascan', 'accounting_group_user = docs'])[source]

Construct a Directed Acyclic Graph (DAG) for a batch of omega scans

Parameters:

times : list of float

list of GPS times to scan

flags : list of str, optional

a list of command line flags to run for each job, defaults to an empty list

tag : str, optional

a helpful string to use to name the DAG, default: 'gwdetchar-omega-batch'

submit : bool, optional

submit the DAG to condor, default: False

outdir : str, optional

the output directory in which to store files, will result in sub-directories called 'condor' and 'log', default: os.getcwd

universe : str, optional

condor universe to run in, default: 'vanilla'

condor_commands : list of str, optional

list of condor settings to process with, defaults to the output of get_condor_arguments

Returns:

dagman : Dagman

the fully built DAG object

gwdetchar.omega.batch.get_command_line_flags(ifo, colormap='viridis', nproc=8, far=3.171e-08, config_file=None, disable_correlation=False, disable_checkpoint=False, ignore_state_flags=False)[source]

Get a list of optional command-line arguments to gwdetchar-omega

gwdetchar.omega.batch.get_condor_arguments(accounting_group='ligo.dev.{epoch}.detchar.user_req.omegascan', accounting_group_user='docs', timeout=0, extra_commands=[], gps=0)[source]

Get a list of arguments for Condor processing