gstlal-inspiral  1.9.2
 All Classes Namespaces Files Functions
Classes | Functions
inspiral_pipe Namespace Reference

A module that contains the inspiral_pipe module code; used to construct condor dags. More...

Classes

class  LIGOLWContentHandler
 

Functions

def online_inspiral_layer
 
def event_upload_layer
 
def event_plotter_layer
 
def aggregator_layer
 
def dq_monitor_layer
 
def ref_psd_layer
 
def median_psd_layer
 
def svd_layer
 
def inspiral_layer
 
def expected_snr_layer
 
def summary_plot_layer
 
def clean_merger_products_layer
 
def inj_psd_layer
 
def mass_model_layer
 
def merge_cluster_layer
 
def marginalize_layer
 
def calc_rank_pdf_layer
 
def likelihood_layer
 
def sql_cluster_and_merge_layer
 
def final_marginalize_layer
 
def compute_far_layer
 
def horizon_dist_layer
 
def summary_page_layer
 
def webserver_url
 The stupid pet tricks to find webserver on the LDG. More...
 
def load_analysis_output
 
def load_svd_dtdphi_map
 
def get_threshold_values
 
def inputs_to_db
 
def cache_to_db
 
def get_rank_file
 
def group
 group a list roughly according to the distribution in parts, e.g. More...
 
def parse_cache_str
 A way to decode a command line option that specifies different bank caches for different detectors, e.g.,. More...
 
def build_bank_groups
 given a dictionary of bank cache files keyed by ifo from .e.g., parse_cache_str(), group the banks into suitable size chunks for a single svd bank file according to numbanks. More...
 
def get_svd_bank_params_online
 
def get_svd_bank_params
 
def sim_tag_from_inj_file
 
def load_bank_cache
 
def get_bank_params
 
def subdir_path
 
def analysis_segments
 
def create_svd_bank_strings
 
def svd_bank_cache_maker
 
def adapt_gstlal_inspiral_output
 
def set_up_scripts
 
def load_reference_psd
 

Detailed Description

A module that contains the inspiral_pipe module code; used to construct condor dags.

Review Status

Names Hash Date Diff to Head of Master
Florent, Sathya, Duncan Me, Jolien, Kipp, Chad 8a6ea41398be79c00bdc27456ddeb1b590b0f68e 2014-06-18 inspiral_pipe.py

Actions

Function Documentation

def inspiral_pipe.analysis_segments (   analyzable_instruments_set,
  allsegs,
  boundary_seg,
  max_template_length,
  min_instruments = 2 
)
get a dictionary of all the disjoint 2+ detector combination segments

Definition at line 1585 of file inspiral_pipe.py.

def inspiral_pipe.build_bank_groups (   cachedict,
  numbanks = [2],
  maxjobs = None 
)

given a dictionary of bank cache files keyed by ifo from .e.g., parse_cache_str(), group the banks into suitable size chunks for a single svd bank file according to numbanks.

Note, numbanks can be should be a list and uses the algorithm in the group() function

Definition at line 1483 of file inspiral_pipe.py.

def inspiral_pipe.clean_merger_products_layer (   dag,
  jobs,
  plotnodes,
  dbs_to_delete,
  margfiles_to_delete 
)
clean intermediate merger products

Definition at line 817 of file inspiral_pipe.py.

def inspiral_pipe.compute_far_layer (   dag,
  jobs,
  margnodes,
  injdbs,
  noninjdb,
  final_sqlite_nodes,
  options,
  with_zero_lag = False 
)
compute FAPs and FARs

Definition at line 1265 of file inspiral_pipe.py.

def inspiral_pipe.get_threshold_values (   template_mchirp_dict,
  bgbin_indices,
  svd_bank_strings,
  options 
)
Calculate the appropriate ht-gate-threshold values according to the scale given

Definition at line 1398 of file inspiral_pipe.py.

def inspiral_pipe.group (   inlist,
  parts 
)

group a list roughly according to the distribution in parts, e.g.

A = range(12) B = [2,3] for g in group(A,B):

... print g ... [0, 1] [2, 3] [4, 5] [6, 7, 8] [9, 10, 11]

Definition at line 1439 of file inspiral_pipe.py.

def inspiral_pipe.horizon_dist_layer (   dag,
  jobs,
  psd_nodes,
  options,
  boundary_seg,
  output_dir,
  instruments 
)
calculate horizon distance

Definition at line 1300 of file inspiral_pipe.py.

def inspiral_pipe.mass_model_layer (   dag,
  jobs,
  parent_nodes,
  instruments,
  options,
  seg,
  psd 
)
mass model node

Definition at line 849 of file inspiral_pipe.py.

def inspiral_pipe.merge_cluster_layer (   dag,
  jobs,
  parent_nodes,
  db,
  db_cache,
  sqlfile,
  input_files = None 
)
merge and cluster from sqlite database

Definition at line 866 of file inspiral_pipe.py.

def inspiral_pipe.parse_cache_str (   instr)

A way to decode a command line option that specifies different bank caches for different detectors, e.g.,.

bankcache = parse_cache_str("H1=H1_split_bank.cache,L1=L1_split_bank.cache,V1=V1_split_bank.cache") bankcache

{'V1': 'V1_split_bank.cache', 'H1': 'H1_split_bank.cache', 'L1': 'L1_split_bank.cache'}

Definition at line 1464 of file inspiral_pipe.py.

def inspiral_pipe.summary_page_layer (   dag,
  jobs,
  plotnodes,
  options,
  boundary_seg,
  injdbs,
  output_dir 
)
create a summary page

Definition at line 1310 of file inspiral_pipe.py.

def inspiral_pipe.webserver_url ( )

The stupid pet tricks to find webserver on the LDG.

Definition at line 1332 of file inspiral_pipe.py.