Skip to content

Commit

Permalink
Rename FIELDRA/FIELDDEC to RA/DEC
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jul 12, 2023
1 parent f457e95 commit cd15e22
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lvmguider/actor/commands/guide.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def is_stopping(command: GuiderCommand):


@lvmguider_parser.command()
@click.argument("FIELDRA", type=float)
@click.argument("FIELDDEC", type=float)
@click.argument("RA", type=float)
@click.argument("DEC", type=float)
@click.option(
"--exposure-time",
"-t",
Expand Down Expand Up @@ -91,8 +91,8 @@ def is_stopping(command: GuiderCommand):
)
async def guide(
command: GuiderCommand,
fieldra: float,
fielddec: float,
ra: float,
dec: float,
exposure_time: float = 5.0,
reference_pixel: tuple[float, float] | None = None,
mode: str = "auto",
Expand All @@ -108,7 +108,7 @@ async def guide(
actor = command.actor
initial_exposure_time = exposure_time

guider = Guider(command, (fieldra, fielddec), pixel=reference_pixel)
guider = Guider(command, (ra, dec), pixel=reference_pixel)
command.actor.guider = guider

if reference_frame is not None:
Expand Down

0 comments on commit cd15e22

Please sign in to comment.