# Parse the command line arguments parser = OptionParser() parser.add_option("--wh_data_file", type="string", dest="wh_data_file", help="the wh data file to load") parser.add_option("--ia_data_file", type="string", dest="ia_data_file", help="the ia data file to load") options, args = parser.parse_args() top_ylims = [0.0, 0.3] bottom_ylims = [0.97, 1.03] xlims = [0.0, 10.0] #bottom_ylims = [0.92, 1.02] #xlims = [0.099, 0.1] legend_pos = (1.0, 1.0) # Plot the spectrum plotBroomstickSimulationSpectrumWHvsIA(options.wh_data_file, "FRENSIE-WH", options.ia_data_file, "FRENSIE-IA", True, top_ylims, bottom_ylims, xlims, legend_pos=legend_pos)
parser = OptionParser() parser.add_option("--wh_data_file", type="string", dest="wh_data_file", help="the wh data file to load") parser.add_option("--ia_data_file", type="string", dest="ia_data_file", help="the ia data file to load") options, args = parser.parse_args() top_ylims = [0.0, 1.0] bottom_ylims = [0.50, 1.50] xlims = [0.0, 0.2] legend_pos = (0.85, 0.73) # bottom_ylims = [0.80, 1.20] # xlims = [0.175, 0.2] # legend_pos = (0.75,0.75) # Plot the spectrum plotBroomstickSimulationSpectrumWHvsIA(options.wh_data_file, "FRENSIE-Hybrid", options.ia_data_file, "FRENSIE-Consistent", True, top_ylims, bottom_ylims, xlims, legend_pos=legend_pos, dopp_data=True)