Package pylal :: Module printutils
[hide private]
[frames] | no frames]

Module printutils

source code

A collection of utilities to assist in printing out information from an xmldoc.


Author: Collin Capano <cdcapano@physics.syr.edu>

Functions [hide private]
 
generic_get_pyvalue(obj) source code
 
get_columns_to_print(xmldoc, tableName, with_sngl=False)
Retrieves canonical columns to print for the given tableName.
source code
 
get_dst_start_end(ifo, year)
Figures out what dates daylight savings time starts and ends at a given site on a given year.
source code
 
get_sitelocaltime_from_gps(ifo, gpstime) source code
 
format_end_time_in_utc(gps_sec) source code
 
get_elog_page(ifo, gpstime) source code
 
get_daily_ihope_page(gpstime, pages_location="https://ldas-jobs.ligo.caltech.edu/~cbc/ihope_daily") source code
 
create_hyperlink(address, link, external=True) source code
 
create_filter(connection, tableName, param_name=None, param_ranges=None, exclude_coincs=None, include_only_coincs=None, sim_tag='ALLINJ', verbose=False)
Strings together param_name, param_ranges, exclude/include_only_coincs, and sim_tag options into a filter string that can be stuck in a sqlite WHERE clause.
source code
 
printsims(connection, simulation_table, recovery_table, map_label, ranking_stat, rank_by, comparison_datatype, sort_by='rank', param_name=None, param_ranges=None, exclude_coincs=None, include_only_coincs=None, sim_tag='ALLINJ', rank_range=None, convert_durations='s', daily_ihope_pages_location='https://ldas-jobs.ligo.caltech.edu/~cbc/ihope_daily', verbose=False) source code
 
printmissed(connection, simulation_table, recovery_table, map_label, livetime_program, param_name=None, param_ranges=None, exclude_coincs=None, include_only_coincs=None, sim_tag='ALLINJ', limit=None, daily_ihope_pages_location='https://ldas-jobs.ligo.caltech.edu/~cbc/ihope_daily', verbose=False) source code
 
get_sngl_info(connection, summary_table, sngl_table, daily_ihope_pages_location='https://ldas-jobs.ligo.caltech.edu/~cbc/ihope_daily', verbose=False) source code
Function Details [hide private]

get_columns_to_print(xmldoc, tableName, with_sngl=False)

source code 

Retrieves canonical columns to print for the given tableName. Returns a columnList, row_span and rspan_break lists.