Go to the source code of this file.
|
| | lalburst_inj_pic.options |
| |
| | lalburst_inj_pic.filenames |
| |
| | lalburst_inj_pic.xmldoc = ligolw_utils.load_filename(options.time_slide_xml, verbose = options.verbose) |
| |
| | lalburst_inj_pic.process = ligolw_process.register_to_xmldoc(xmldoc, "lalburst_inj_pic", options.options_dict, version = git_version.version) |
| |
| | lalburst_inj_pic.time_slide_table = lsctables.TimeSlideTable.get_table(xmldoc) |
| |
| | lalburst_inj_pic.time_slide_id = time_slide_table[0].time_slide_id |
| |
| | lalburst_inj_pic.file |
| |
| | lalburst_inj_pic.sim_burst_tbl = xmldoc.childNodes[-1].appendChild(lsctables.SimBurstTable.new(["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"])) |
| |
| | lalburst_inj_pic.img = Image.open(filename) |
| |
| | lalburst_inj_pic.width |
| |
| | lalburst_inj_pic.height |
| |
| | lalburst_inj_pic.progress = tqdm(desc = "computing pixels", total = width * height, disable = not options.verbose) |
| |
| float | lalburst_inj_pic.hrss = options.hrss_scale * img.getpixel((i, height - 1 - j)) / 255.0 |
| |