Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALBurst 2.0.7.1-8a6b96f
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Macros Modules Pages
lalburst_inj_pic Namespace Reference

Data Structures

class  SimBurst
 

Functions

def parse_command_line ()
 

Variables

 options
 
 filenames
 
 xmldoc = ligolw_utils.load_filename(options.time_slide_xml, verbose = options.verbose)
 
 process = ligolw_process.register_to_xmldoc(xmldoc, "lalburst_inj_pic", options.options_dict, version = git_version.version)
 
 time_slide_table = lsctables.TimeSlideTable.get_table(xmldoc)
 
 time_slide_id = time_slide_table[0].time_slide_id
 
 file
 
 sim_burst_tbl = xmldoc.childNodes[-1].appendChild(lsctables.New(lsctables.SimBurstTable, ["process:process_id", "simulation_id", "time_slide:time_slide_id", "waveform", "waveform_number", "ra", "dec", "psi", "time_geocent_gps", "time_geocent_gps_ns", "duration", "frequency", "bandwidth", "egw_over_rsquared", "pol_ellipse_angle", "pol_ellipse_e"]))
 
 img = Image.open(filename)
 
 width
 
 height
 
 progress = tqdm(desc = "computing pixels", total = width * height, disable = not options.verbose)
 
float hrss = options.hrss_scale * img.getpixel((i, height - 1 - j)) / 255.0
 

Function Documentation

◆ parse_command_line()

def lalburst_inj_pic.parse_command_line ( )

Definition at line 71 of file lalburst_inj_pic.py.

Variable Documentation

◆ options

lalburst_inj_pic.options

Definition at line 123 of file lalburst_inj_pic.py.

◆ filenames

lalburst_inj_pic.filenames

Definition at line 123 of file lalburst_inj_pic.py.

◆ xmldoc

lalburst_inj_pic.xmldoc = ligolw_utils.load_filename(options.time_slide_xml, verbose = options.verbose)

Definition at line 131 of file lalburst_inj_pic.py.

◆ process

lalburst_inj_pic.process = ligolw_process.register_to_xmldoc(xmldoc, "lalburst_inj_pic", options.options_dict, version = git_version.version)

Definition at line 139 of file lalburst_inj_pic.py.

◆ time_slide_table

lalburst_inj_pic.time_slide_table = lsctables.TimeSlideTable.get_table(xmldoc)

Definition at line 147 of file lalburst_inj_pic.py.

◆ time_slide_id

lalburst_inj_pic.time_slide_id = time_slide_table[0].time_slide_id

Definition at line 148 of file lalburst_inj_pic.py.

◆ file

lalburst_inj_pic.file

Definition at line 150 of file lalburst_inj_pic.py.

◆ sim_burst_tbl

lalburst_inj_pic.sim_burst_tbl = xmldoc.childNodes[-1].appendChild(lsctables.New(lsctables.SimBurstTable, ["process:process_id", "simulation_id", "time_slide:time_slide_id", "waveform", "waveform_number", "ra", "dec", "psi", "time_geocent_gps", "time_geocent_gps_ns", "duration", "frequency", "bandwidth", "egw_over_rsquared", "pol_ellipse_angle", "pol_ellipse_e"]))

Definition at line 166 of file lalburst_inj_pic.py.

◆ img

lalburst_inj_pic.img = Image.open(filename)

Definition at line 180 of file lalburst_inj_pic.py.

◆ width

lalburst_inj_pic.width

Definition at line 182 of file lalburst_inj_pic.py.

◆ height

lalburst_inj_pic.height

Definition at line 182 of file lalburst_inj_pic.py.

◆ progress

lalburst_inj_pic.progress = tqdm(desc = "computing pixels", total = width * height, disable = not options.verbose)

Definition at line 188 of file lalburst_inj_pic.py.

◆ hrss

float lalburst_inj_pic.hrss = options.hrss_scale * img.getpixel((i, height - 1 - j)) / 255.0

Definition at line 202 of file lalburst_inj_pic.py.