Commit b1afe41a6607267235ebb3c56b64160d31397e11
1 parent
d2efccb3
Rename "extgal" to "egal" in make_pointings.py
Showing
1 changed file
with
10 additions
and
10 deletions
examples/make_pointings.py
| @@ -396,7 +396,7 @@ def set_gps(separation=3.0, bmin=-1.3, bmax=1.3, caldb='prod2', lst=True): | @@ -396,7 +396,7 @@ def set_gps(separation=3.0, bmin=-1.3, bmax=1.3, caldb='prod2', lst=True): | ||
| 396 | # ========================== # | 396 | # ========================== # |
| 397 | # Setup Extragalactic survey # | 397 | # Setup Extragalactic survey # |
| 398 | # ========================== # | 398 | # ========================== # |
| 399 | -def set_extgal(separation=3.0, caldb='prod2', lst=True): | 399 | +def set_egal(separation=3.0, caldb='prod2', lst=True): |
| 400 | """ | 400 | """ |
| 401 | Setup Extragalactic survey. | 401 | Setup Extragalactic survey. |
| 402 | 402 | ||
| @@ -624,12 +624,12 @@ def make_pointings(): | @@ -624,12 +624,12 @@ def make_pointings(): | ||
| 624 | # Print help if needed and exit | 624 | # Print help if needed and exit |
| 625 | if need_help: | 625 | if need_help: |
| 626 | print('Usage: make_pointing.py [OPTIONS] [CALDB]') | 626 | print('Usage: make_pointing.py [OPTIONS] [CALDB]') |
| 627 | - print(' -h Display this usage message') | ||
| 628 | - print(' gps Galactic plane survey (2 row scheme)') | ||
| 629 | - print(' gps3 Galactic plane survey (3 row scheme)') | ||
| 630 | - print(' extgal Extragalactic survey') | ||
| 631 | - print(' gc Galactic centre survey') | ||
| 632 | - print(' lmc LMC survey') | 627 | + print(' -h Display this usage message') |
| 628 | + print(' gps Galactic plane survey (2 row scheme)') | ||
| 629 | + print(' gps3 Galactic plane survey (3 row scheme)') | ||
| 630 | + print(' egal Extragalactic survey') | ||
| 631 | + print(' gc Galactic centre survey') | ||
| 632 | + print(' lmc LMC survey') | ||
| 633 | sys.exit() | 633 | sys.exit() |
| 634 | 634 | ||
| 635 | # Set LST simulation flag to true | 635 | # Set LST simulation flag to true |
| @@ -644,9 +644,9 @@ def make_pointings(): | @@ -644,9 +644,9 @@ def make_pointings(): | ||
| 644 | write_obsdef('gps3.dat', obsdef) | 644 | write_obsdef('gps3.dat', obsdef) |
| 645 | 645 | ||
| 646 | # Extragalactic survey | 646 | # Extragalactic survey |
| 647 | - elif obsname == 'extgal': | ||
| 648 | - obsdef = set_extgal(caldb=caldb, lst=lst) | ||
| 649 | - write_obsdef('extgal.dat', obsdef) | 647 | + elif obsname == 'egal': |
| 648 | + obsdef = set_egal(caldb=caldb, lst=lst) | ||
| 649 | + write_obsdef('egal.dat', obsdef) | ||
| 650 | 650 | ||
| 651 | # Galactic centre | 651 | # Galactic centre |
| 652 | elif obsname == 'gc': | 652 | elif obsname == 'gc': |