Skip to content

Commit

Permalink
Revert "Addessing issue #4986"
Browse files Browse the repository at this point in the history
This reverts commit 4a568c4.
  • Loading branch information
pannarale committed Dec 13, 2024
1 parent 4a568c4 commit cb9df75
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions bin/pycbc_make_sky_grid
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ from scipy.spatial.transform import Rotation as R
import pycbc
from pycbc.detector import Detector
from pycbc.io.hdf import HFile
from pycbc.types import angle_as_radians


def spher_to_cart(sky_points):
Expand All @@ -37,20 +36,17 @@ def cart_to_spher(sky_points):

parser = argparse.ArgumentParser(description=__doc__)
pycbc.add_common_pycbc_options(parser)
parser.add_argument('--ra', type=angle_as_radians,
parser.add_argument('--ra', type=float,
help="Right ascension (in rad) of the center of the external trigger "
"error box. Use the rad or deg suffix to specify units, otherwise "
"radians are assumed.")
parser.add_argument('--dec', type=angle_as_radians,
"error box")
parser.add_argument('--dec', type=float,
help="Declination (in rad) of the center of the external trigger "
"error box. Use the rad or deg suffix to specify units, otherwise "
"radians are assumed.")
"error box")
parser.add_argument('--instruments', nargs="+", type=str, required=True,
help="List of instruments to analyze.")
parser.add_argument('--sky-error', type=angle_as_radians, required=True,
parser.add_argument('--sky-error', type=float, required=True,
help="3-sigma confidence radius (in rad) of the external trigger error "
"box. Use the rad or deg suffix to specify units, otherwise radians "
"are assumed.")
"box")
parser.add_argument('--trigger-time', type=int, required=True,
help="Time (in s) of the external trigger")
parser.add_argument('--timing-uncertainty', type=float, default=0.0001,
Expand Down

0 comments on commit cb9df75

Please sign in to comment.