gwdetchar.omega.batch module

Batch-mode utilities for omega scans

gwdetchar.omega.batch._monitor_dag_workflow(dagman)[source]

Monitor a batch of Omega scans through the Condor pool

gwdetchar.omega.batch._parse_analysis_times(tlist)[source]

Parse an iterable of GPS time data for a batch of Omega scans

gwdetchar.omega.batch.create_parser()[source]

Create a command-line parser for this entry point

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', request_cpus=1, request_disk=1, request_memory=4, condor_commands=['accounting_group = ligo.dev.o4.detchar.user_req.omegascan', 'accounting_group_user = docs'])[source]

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

Parameters:
timeslist of float

list of GPS times to scan

flagslist of str, optional

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

tagstr, optional

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

submitbool, optional

submit the DAG to condor, default: False

outdirstr, optional

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

universestr, optional

condor universe to run in, default: 'vanilla'

request_cpusint, optional

number of CPUs to request for condor job

request_diskfloat, optional

amount of disk (in gigabytes) to request for condor job

request_memoryfloat, optional

amount of memory (in gigabytes) to request for condor job

condor_commandslist of str, optional

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

Returns:
dagmanDagman

the fully built DAG object

gwdetchar.omega.batch.get_command_line_flags(ifo, fscale='log', 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=LIGOTimeGPS(1397520896, 599725000))[source]

Get a list of arguments for Condor processing

gwdetchar.omega.batch.main(args=None)[source]

Run the command-line Omega scan tool in batch mode