Skip to content
Snippets Groups Projects

Add ability to load GW sky map from preferred event

All threads resolved!
Files
6
@@ -79,7 +79,9 @@ parser.add_argument("-r", "--se_ring", dest="se_ring", action="store_true",
parser.add_argument("-R", "--ext_ring", dest="ext_ring", action="store_true",
help="Assume the external sky map uses RING ordering rather than nested."),
parser.add_argument("-c", "--use_radec", dest="use_radec", action="store_true",
help="Choose to use RA and dec of external sky map if a single pixel sky map.")
help="Choose to use RA and dec of external sky map if a single pixel sky map."),
parser.add_argument("-p", "--use_preferred_event_skymap", dest="use_preferred_event_skymap", action="store_true",
help="Choose to use the GW sky map in the preferred event rather than the superevent.")
args = parser.parse_args()
print(args)
@@ -145,5 +147,6 @@ results = search.calc_signif_gracedb(
far_grb_thresh=far_grb_thresh,
se_moc=args.se_moc, ext_moc=args.ext_moc,
se_nested=not args.se_ring, ext_nested=not args.ext_ring,
use_radec=args.use_radec)
use_radec=args.use_radec,
use_preferred_event_skymap=args.use_preferred_event_skymap)
print(results)
Loading