Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# (c) Stefan Countryman, 2019 

2 

3""" 

4CLI for making new SkymapInfo files. 

5""" 

6 

7from llama.cli import parse_atom 

8from llama.files.lvc_skymap.utils import SkymapFilename 

9 

10 

11class Parsers: 

12 """ 

13 CLI flags related to LIGO/Virgo searches. Same idea as 

14 ``llama.cli.Parsers`` but with narrower scope. 

15 """ 

16 

17 graceid = parse_atom("-g", "--graceid", help=""" 

18 The GraceDB identifier (GraceID) of the Gravitational Wave event.""") 

19 

20 skymap = parse_atom('-s', '--skymap', type=SkymapFilename, help=""" 

21 The filename (as it appears on GraceDB) of the skymap to use. Must be a 

22 valid skymap filename. Optionally, specify the exact version of that 

23 filename by appending a comma to the filename followed by the version 

24 number, e.g. ``bayestar.fits,1`` for version 1 of that skymap. If 

25 provided, this will override the default of whatever method you 

26 chose.""")