|
gstlal 1.13.0
|
Go to the source code of this file.
Classes | |
| class | python.dags.util.DAG |
| A thin subclass of pipeline.CondorDAG. More... | |
| class | python.dags.util.DAGJob |
| A job class that subclasses pipeline.CondorDAGJob and adds some extra boiler plate items for gstlal jobs which tends to do the "right" thing when given just an executable name. More... | |
| class | python.dags.util.DAGNode |
| A node class that subclasses pipeline.CondorDAGNode that automates adding the node to the dag, makes sensible names and allows a list of parent nodes to be provided. More... | |
Functions | |
| python.dags.util.which (prog) | |
| python.dags.util.condor_scratch_space () | |
| A way to standardize the condor scratch space even if it changes. | |
| python.dags.util.log_path () | |
| The stupid pet tricks to find log space on the LDG. | |
| python.dags.util.condor_command_dict_from_opts (opts, defaultdict=None) | |
| A function to turn a list of options into a dictionary of condor commands, e.g.,. | |
| python.dags.util.pipeline_dot_py_append_opts_hack (opt, vals) | |
| A way to work around the dictionary nature of pipeline.py which can only record options once. | |
| python.dags.util.format_ifo_args (ifos, args) | |
| python.dags.util.breakupseg (seg, maxextent, overlap) | |
| python.dags.util.breakupsegs (seglist, maxextent, overlap) | |
| python.dags.util.breakupseglists (seglists, maxextent, overlap) | |
| python.dags.util.partition_by_time (span, segdict, ifos, min_ifos=1, max_livetime=14440, start_pad=512) | |
| Splits a time span roughly equally based on livetime. | |
| python.dags.util.cache_to_instruments (cache) | |
| Given a cache, returns back a string containing all the IFOs that are contained in each of its cache entries, sorted by IFO name. | |
| python.dags.util.group_T050017_filename_from_T050017_files (cache_entries, extension, path=None) | |
| A function to return the name of a file created from multiple files following the T050017 convention. | |
| python.dags.util.groups (l, n) | |
| Given a list, returns back sublists with a maximum size n. | |
| python.dags.util.flatten (lst) | |
| Flatten a list by one level of nesting. | |
| cache_to_instruments | ( | cache | ) |
| condor_command_dict_from_opts | ( | opts, | |
| defaultdict = None ) |
A function to turn a list of options into a dictionary of condor commands, e.g.,.
condor_command_dict_from_opts(["+Online_CBC_SVD=True", "TARGET.Online_CBC_SVD =?= True"]) {'+Online_CBC_SVD': 'True', 'TARGET.Online_CBC_SVD ': '?= True'} condor_command_dict_from_opts(["+Online_CBC_SVD=True", "TARGET.Online_CBC_SVD =?= True"], {"somecommand":"somevalue"}) {'somecommand': 'somevalue', '+Online_CBC_SVD': 'True', 'TARGET.Online_CBC_SVD ': '?= True'} condor_command_dict_from_opts(["+Online_CBC_SVD=True", "TARGET.Online_CBC_SVD =?= True"], {"+Online_CBC_SVD":"False"}) {'+Online_CBC_SVD': 'True', 'TARGET.Online_CBC_SVD ': '?= True'}
| condor_scratch_space | ( | ) |
| format_ifo_args | ( | ifos, | |
| args ) |
| group_T050017_filename_from_T050017_files | ( | cache_entries, | |
| extension, | |||
| path = None ) |
A function to return the name of a file created from multiple files following the T050017 convention.
In addition to the T050017 requirements, this assumes that numbers relevant to organization schemes will be the first entry in the description, e.g. 0_DIST_STATS, and that all files in a given cache file are from the same group of ifos and either contain data from the same segment or from the same background bin. Note, that each file doesn't have to be from the same IFO, for example the template bank cache could contain template bank files from H1 and template bank files from L1.
| groups | ( | l, | |
| n ) |
| log_path | ( | ) |
| partition_by_time | ( | span, | |
| segdict, | |||
| ifos, | |||
| min_ifos = 1, | |||
| max_livetime = 14440, | |||
| start_pad = 512 ) |
| pipeline_dot_py_append_opts_hack | ( | opt, | |
| vals ) |
A way to work around the dictionary nature of pipeline.py which can only record options once.
pipeline_dot_py_append_opts_hack("my-favorite-option", [1,2,3]) '1 –my-favorite-option 2 –my-favorite-option 3'