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.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:
- times
list
offloat
list of GPS times to scan
- flags
list
ofstr
, 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'
- request_cpus
int
, optional number of CPUs to request for condor job
- request_disk
float
, optional amount of disk (in gigabytes) to request for condor job
- request_memory
float
, optional amount of memory (in gigabytes) to request for condor job
- condor_commands
list
ofstr
, optional list of condor settings to process with, defaults to the output of
get_condor_arguments
- times
- Returns:
- dagman
Dagman
the fully built DAG object
- dagman
- 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