Package pylal :: Module mvsc_htmlwriter :: Class mvsc_html
[hide private]
[frames] | no frames]

Class mvsc_html

source code

Contains all necessary data to be put in html file, including links to plots and thumbnails, and info.

The most essential function is write_html, which writes an html file from a template, inserting the info and images in the right places.

Instance Methods [hide private]
 
__init__(self, opts, fname, templatepath) source code
 
add_figure(self, type, fig=None, dpi=None, dpi_thumb=50)
Adds figure of given type to be displayed in html file.
source code
 
set_gpstime(self, gpstime) source code
 
set_top_events(self, events, cols) source code
 
set_op_point(self, afar, mvsc_cutoff, effsnr_cutoff) source code
 
set_trigger_info(self, ts_tr, inj_tr, ts_va, inj_va) source code
 
set_treesplits(self, treesplits) source code
 
set_data_sets(self, patletters) source code
 
set_zeronum(self, zeronum) source code
 
set_efficiency(self, lower, upper) source code
 
set_comments(self, comments) source code
 
write_file(self)
Writes an html file putting all information in a template.
source code
Method Details [hide private]

add_figure(self, type, fig=None, dpi=None, dpi_thumb=50)

source code 

Adds figure of given type to be displayed in html file.

Figure types: 'FOM','ROC','Frac_vs_SNR','MVSC_vs_effSNR','missed_inj' and possibly more to be added